* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: rgba(0, 0, 0, 0); overflow: hidden; user-select: none; } .hidden { display: none !important; } #tablet-container { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; display: flex; justify-content: center; align-items: center; z-index: 1000; } .tablet-frame { width: 900px; height: 650px; background: linear-gradient(145deg, #1a1a2e, #16213e); border-radius: 20px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1); border: 2px solid #2c3e50; display: flex; flex-direction: column; animation: slideIn 0.3s ease-out; } @keyframes slideIn { from { opacity: 0; transform: scale(0.9) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } } .tablet-header { background: linear-gradient(90deg, #2c3e50, #3498db); padding: 15px 20px; border-radius: 18px 18px 0 0; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #34495e; } .header-info { display: flex; align-items: center; gap: 15px; } .header-info i { font-size: 24px; color: #ecf0f1; } .header-info h1 { color: #ecf0f1; font-size: 20px; font-weight: 600; letter-spacing: 1px; } .badge { background: #27ae60; color: white; padding: 4px 12px; border-radius: 15px; font-size: 12px; font-weight: 500; } .header-actions { display: flex; align-items: center; gap: 10px; } .nav-btn { background: rgba(255, 255, 255, 0.1); border: none; width: 40px; height: 40px; border-radius: 8px; color: #ecf0f1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; font-size: 16px; } .nav-btn:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-1px); } .nav-btn.active { background: #27ae60; } .close-btn { background: #e74c3c; border: none; width: 35px; height: 35px; border-radius: 50%; color: white; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; } .close-btn:hover { background: #c0392b; transform: scale(1.1); } .tablet-content { flex: 1; background: #f8f9fa; position: relative; overflow: hidden; } .panel { position: absolute; top: 0; left: 0; width: 100%; height: 100%; padding: 20px; overflow-y: auto; opacity: 0; transform: translateX(100%); transition: all 0.3s ease; } .panel.active { opacity: 1; transform: translateX(0); } .form-container { max-width: 100%; margin: 0 auto; } .form-header { text-align: center; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 2px solid #e9ecef; } .form-header h2 { color: #2c3e50; font-size: 24px; margin-bottom: 8px; display: flex; align-items: center; justify-content: center; gap: 10px; } .form-header p { color: #6c757d; font-size: 14px; } .form-group { margin-bottom: 20px; } .form-group label { display: block; margin-bottom: 8px; color: #2c3e50; font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 8px; } .form-group label i { color: #3498db; width: 16px; } .form-group input, .form-group textarea { width: 100%; padding: 12px 15px; border: 2px solid #e9ecef; border-radius: 8px; font-size: 14px; font-family: inherit; transition: all 0.2s ease; background: white; } .form-group input:focus, .form-group textarea:focus { outline: none; border-color: #3498db; box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1); } .form-group textarea { min-height: 80px; resize: vertical; } .form-group textarea[rows="6"] { min-height: 120px; } .form-actions { display: flex; gap: 15px; justify-content: flex-end; margin-top: 30px; padding-top: 20px; border-top: 1px solid #e9ecef; } .btn { padding: 12px 24px; border: none; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: all 0.2s ease; text-transform: uppercase; letter-spacing: 0.5px; } .btn-primary { background: linear-gradient(135deg, #3498db, #2980b9); color: white; } .btn-primary:hover { background: linear-gradient(135deg, #2980b9, #21618c); transform: translateY(-1px); box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3); } .btn-secondary { background: #6c757d; color: white; } .btn-secondary:hover { background: #545b62; transform: translateY(-1px); } .tablet-footer { background: #2c3e50; padding: 10px 20px; border-radius: 0 0 18px 18px; } .status-bar { display: flex; justify-content: space-between; align-items: center; } .status-item { color: #ecf0f1; font-size: 12px; display: flex; align-items: center; gap: 5px; } .status-item i { font-size: 14px; } .arrests-container { max-width: 100%; margin: 0 auto; } .arrests-header { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 2px solid #e9ecef; } .arrests-header h2 { color: #2c3e50; font-size: 24px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; } .arrests-header p { color: #6c757d; font-size: 14px; margin-bottom: 15px; } .arrests-actions { display: flex; justify-content: space-between; align-items: center; gap: 15px; } .search-container { position: relative; flex: 1; max-width: 400px; } .search-container input { width: 100%; padding: 10px 40px 10px 15px; border: 2px solid #e9ecef; border-radius: 8px; font-size: 14px; background: white; } .search-container i { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: #6c757d; } .arrests-content { background: white; border-radius: 8px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); overflow: hidden; } .loading-state, .empty-state { padding: 40px; text-align: center; color: #6c757d; } .loading-state i, .empty-state i { font-size: 48px; margin-bottom: 15px; color: #dee2e6; } .table-container { overflow-x: auto; max-height: 400px; overflow-y: auto; } .arrests-table { width: 100%; border-collapse: collapse; font-size: 14px; } .arrests-table th { background: #f8f9fa; padding: 12px 15px; text-align: left; font-weight: 600; color: #2c3e50; border-bottom: 2px solid #e9ecef; position: sticky; top: 0; z-index: 10; } .arrests-table td { padding: 12px 15px; border-bottom: 1px solid #f1f3f4; vertical-align: top; } .arrests-table tr:hover { background: #f8f9fa; } .arrest-id { font-weight: 600; color: #3498db; } .arrest-date { font-size: 12px; color: #6c757d; } .arrest-suspect { font-weight: 600; color: #2c3e50; } .arrest-officer { font-size: 13px; color: #495057; } .arrest-crimes { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #6c757d; } .view-details-btn { background: #3498db; color: white; border: none; padding: 6px 12px; border-radius: 4px; font-size: 12px; cursor: pointer; transition: all 0.2s ease; display: flex; align-items: center; gap: 5px; } .view-details-btn:hover { background: #2980b9; transform: translateY(-1px); } .modal { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 2000; display: flex; align-items: center; justify-content: center; } .modal-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(2px); } .modal-content { position: relative; background: white; border-radius: 12px; width: 90%; max-width: 700px; max-height: 80vh; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); display: flex; flex-direction: column; animation: modalSlideIn 0.3s ease-out; } @keyframes modalSlideIn { from { opacity: 0; transform: scale(0.9) translateY(-20px); } to { opacity: 1; transform: scale(1) translateY(0); } } .modal-header { background: linear-gradient(90deg, #2c3e50, #3498db); color: white; padding: 20px; border-radius: 12px 12px 0 0; display: flex; justify-content: space-between; align-items: center; } .modal-header h3 { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 18px; } .modal-body { flex: 1; padding: 20px; overflow-y: auto; } .modal-footer { padding: 15px 20px; border-top: 1px solid #e9ecef; display: flex; justify-content: flex-end; } .arrest-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; } .arrest-detail-item { background: #f8f9fa; padding: 15px; border-radius: 8px; border-left: 4px solid #3498db; } .arrest-detail-label { font-weight: 600; color: #2c3e50; margin-bottom: 5px; display: flex; align-items: center; gap: 8px; font-size: 14px; } .arrest-detail-value { color: #495057; font-size: 14px; line-height: 1.4; } .arrest-detail-full { grid-column: 1 / -1; } .arrest-detail-crimes, .arrest-detail-evidence, .arrest-detail-report { white-space: pre-wrap; background: white; padding: 12px; border-radius: 6px; border: 1px solid #e9ecef; margin-top: 8px; } .loading-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.8); display: flex; justify-content: center; align-items: center; z-index: 2000; } .loading-spinner { text-align: center; color: white; } .loading-spinner i { font-size: 48px; margin-bottom: 20px; color: #3498db; } .loading-spinner p { font-size: 18px; font-weight: 600; } .tablet-content::-webkit-scrollbar, .modal-body::-webkit-scrollbar, .table-container::-webkit-scrollbar { width: 6px; } .tablet-content::-webkit-scrollbar-track, .modal-body::-webkit-scrollbar-track, .table-container::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 3px; } .tablet-content::-webkit-scrollbar-thumb, .modal-body::-webkit-scrollbar-thumb, .table-container::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 3px; } .tablet-content::-webkit-scrollbar-thumb:hover, .modal-body::-webkit-scrollbar-thumb:hover, .table-container::-webkit-scrollbar-thumb:hover { background: #a8a8a8; } @media (max-width: 900px) { .tablet-frame { width: 90vw; height: 80vh; margin: 10vh 5vw; } .arrest-detail-grid { grid-template-columns: 1fr; } } @media (max-width: 600px) { .tablet-frame { width: 95vw; height: 90vh; margin: 5vh 2.5vw; } .header-info h1 { font-size: 16px; } .form-header h2, .arrests-header h2 { font-size: 20px; } .form-actions { flex-direction: column; } .arrests-actions { flex-direction: column; align-items: stretch; } .modal-content { width: 95%; max-height: 90vh; } .arrests-table { font-size: 12px; } .arrests-table th, .arrests-table td { padding: 8px 10px; } } .notification { position: fixed; top: 20px; right: 20px; background: white; border-radius: 8px; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2); z-index: 3000; opacity: 0; transform: translateX(100%); transition: all 0.3s ease; min-width: 300px; max-width: 400px; } .notification.show { opacity: 1; transform: translateX(0); } .notification-content { padding: 15px 20px; display: flex; align-items: center; gap: 12px; } .notification-success { border-left: 4px solid #27ae60; } .notification-success .fa-check-circle { color: #27ae60; } .notification-error { border-left: 4px solid #e74c3c; } .notification-error .fa-exclamation-circle { color: #e74c3c; } .notification-warning { border-left: 4px solid #f39c12; } .notification-warning .fa-exclamation-triangle { color: #f39c12; } .notification-info { border-left: 4px solid #3498db; } .notification-info .fa-info-circle { color: #3498db; } .form-group input.error, .form-group textarea.error { border-color: #e74c3c; background-color: #fdf2f2; } .form-group input.valid, .form-group textarea.valid { border-color: #27ae60; background-color: #f2fdf2; } .field-error { color: #e74c3c; font-size: 12px; margin-top: 5px; display: flex; align-items: center; gap: 5px; } .field-error::before { content: "⚠"; font-size: 14px; } .char-counter { font-size: 12px; margin-top: 5px; text-align: right; transition: color 0.2s ease; } .char-counter.invalid { color: #e74c3c; } .char-counter.valid { color: #27ae60; } @keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } } .btn-disabled { background: #95a5a6 !important; color: white !important; cursor: not-allowed !important; } .btn-disabled:hover { background: #95a5a6 !important; transform: none !important; box-shadow: none !important; } .btn:disabled { opacity: 1; cursor: not-allowed; transform: none !important; } .btn:disabled:hover { transform: none !important; box-shadow: none !important; } .btn-primary:disabled { background: #95a5a6 !important; } .btn-primary:disabled:hover { background: #95a5a6 !important; } textarea::-webkit-scrollbar { width: 6px; } textarea::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 3px; } textarea::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 3px; } textarea::-webkit-scrollbar-thumb:hover { background: #a8a8a8; } .form-group input:hover, .form-group textarea:hover { border-color: #bdc3c7; transition: border-color 0.2s ease; } .form-group input:focus, .form-group textarea:focus { outline: none; border-color: #3498db; box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1); } .loading-spinner { animation: fadeIn 0.3s ease; } @keyframes fadeIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } } @media (max-width: 600px) { .notification { right: 10px; left: 10px; min-width: auto; max-width: none; } } .input-container { position: relative; } .suggestions-panel { position: absolute; top: 100%; right: 0; width: 300px; max-height: 400px; background: white; border: 2px solid #e9ecef; border-radius: 8px; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); z-index: 1000; overflow: hidden; animation: slideInRight 0.2s ease-out; } @keyframes slideInRight { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: translateX(0); } } .suggestions-header { background: linear-gradient(90deg, #3498db, #2980b9); color: white; padding: 12px 15px; display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; } .suggestions-list { max-height: 300px; overflow-y: auto; } .suggestion-item { padding: 12px 15px; border-bottom: 1px solid #f1f3f4; cursor: pointer; transition: all 0.2s ease; display: flex; flex-direction: column; gap: 4px; } .suggestion-item:hover { background: #f8f9fa; border-left: 4px solid #3498db; } .suggestion-item:last-child { border-bottom: none; } .suggestion-name { font-weight: 600; color: #2c3e50; font-size: 14px; } .suggestion-details { font-size: 12px; color: #6c757d; display: flex; gap: 15px; } .suggestion-detail { display: flex; align-items: center; gap: 4px; } .suggestion-detail i { width: 12px; color: #95a5a6; } .suggestions-footer { background: #f8f9fa; padding: 8px 15px; text-align: center; color: #6c757d; border-top: 1px solid #e9ecef; } .no-suggestions { padding: 20px 15px; text-align: center; color: #6c757d; font-style: italic; } .loading-suggestions { padding: 20px 15px; text-align: center; color: #6c757d; } .loading-suggestions i { animation: spin 1s linear infinite; margin-right: 8px; } @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } @media (max-width: 600px) { .suggestions-panel { right: 0; left: 0; width: auto; } } .header-logo { width: 32px; height: 32px; object-fit: contain; }