* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'SF Pro Text', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Tajawal', 'Segoe UI', sans-serif; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); } @import url('https://fonts.googleapis.com/css2?family=SF+Pro+Display:wght@400;500;600&display=swap'); @import url('https://fonts.googleapis.com/css2?family=SF+Pro+Text:wght@400;500;600&display=swap'); @font-face { font-family: 'Tajawal'; src: url('fonts/Tajawal-Regular.ttf') format('truetype'); font-weight: normal; font-style: normal; } @font-face { font-family: 'Tajawal'; src: url('fonts/Tajawal-Bold.ttf') format('truetype'); font-weight: bold; font-style: normal; } @font-face { font-family: 'Tajawal'; src: url('fonts/Tajawal-Medium.ttf') format('truetype'); font-weight: 500; font-style: normal; } #mac-container { position: relative; width: 82vw; padding: 30px; background-color: #1c1c1c; border-radius: 20px; box-shadow: 0 25px 70px rgba(0, 0, 0, 0.7); margin: 20px auto; display: none; } #mac-top-bar { position: relative; display: flex; align-items: center; height: 28px; padding: 0 12px; background: linear-gradient(to bottom, #373737, #2e2e2e); border-top-left-radius: 10px; border-top-right-radius: 10px; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2); } #mac-top-bar::after { content: 'Police MDT'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #bebebe; font-weight: 500; font-size: 0.85rem; } #mac-buttons { display: flex; gap: 8px; } .mac-button { width: 12px; height: 12px; border-radius: 50%; cursor: pointer; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); } .mac-close { background-color: #ff5f56; border: 1px solid #e0443e; } .mac-minimize { background-color: #ffbd2e; border: 1px solid #dea123; cursor: default; } .mac-expand { background-color: #27c93f; border: 1px solid #1aab29; } .mac-button:hover { filter: brightness(1.1); } .mac-close:hover { background-color: #ff3b30; } .mac-minimize:hover { background-color: #ffbd2e; filter: brightness(1); } .mac-expand:hover { background-color: #34c759; } #mac-container.fullscreen { padding: 0; border-radius: 0; transition: all 0.3s ease; } #mac-container.fullscreen #mdt-container { border-radius: 0; } body { height: 100vh; display: flex; justify-content: center; align-items: center; background-color: transparent; overflow: hidden; direction: rtl; } #mdt-container { width: 100%; height: 80vh; background-color: #262626; border-radius: 0 0 10px 10px; overflow: hidden; display: flex; flex-direction: column; color: #fff; opacity: 0.97; position: relative; display: block; animation: scaleIn 0.3s cubic-bezier(0.2, 0, 0, 1); box-shadow: 0 5px 30px rgba(0, 0, 0, 0.4); } #mdt-header { background: linear-gradient(to bottom, #373737, #323232); padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #1a1a1a; box-shadow: 0 1px 5px rgba(0, 0, 0, 0.15); } .logo { display: flex; align-items: center; font-size: 1.5rem; font-weight: 600; color: #f8f8f8; gap: 10px; } .logo i { animation: logoGlow 4s infinite alternate; filter: drop-shadow(0 0 5px rgba(0, 166, 255, 0.6)); color: #00a6ff; } @keyframes logoGlow { from { filter: drop-shadow(0 0 3px rgba(0, 166, 255, 0.4)); } to { filter: drop-shadow(0 0 8px rgba(0, 166, 255, 0.7)); } } .user-info { display: flex; gap: 15px; } .user-info span { display: flex; align-items: center; font-size: 0.9rem; color: #f8f8f8; background-color: rgba(60, 60, 60, 0.7); padding: 8px 16px; border-radius: 8px; border: 1px solid rgba(80, 80, 80, 0.4); transition: all 0.3s; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); } .user-info span:hover { border-color: #00a6ff; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); } .user-info span i { margin-left: 8px; color: #00a6ff; } .close-btn { cursor: pointer; font-size: 1.3rem; color: #b8b8b8; transition: all 0.4s; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background-color: rgba(240, 82, 82, 0.1); } .close-btn:hover { color: #ff3b30; background-color: rgba(240, 82, 82, 0.2); transform: rotate(90deg) scale(1.1); } #mdt-navbar { background: linear-gradient(to bottom, #323232, #2d2d2d); padding: 10px 20px; display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid #1a1a1a; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } .nav-btn { background: none; border: none; color: #b8b8b8; font-size: 0.9rem; padding: 10px 16px; border-radius: 8px; cursor: pointer; display: flex; align-items: center; min-width: auto; flex: 0 0 auto; transition: all 0.3s; font-weight: 500; white-space: nowrap; } .nav-btn i { margin-left: 8px; font-size: 1rem; transition: transform 0.3s; color: #8a8a8a; } .nav-btn:hover { color: #f8f8f8; background-color: rgba(255, 255, 255, 0.05); } .nav-btn:hover i { transform: translateY(-2px); color: #00a6ff; } .nav-btn.active { background: #00a6ff; color: #fff; box-shadow: 0 2px 8px rgba(0, 166, 255, 0.3); } .nav-btn.active i { color: #fff; } #mdt-content { flex: 1; overflow-y: auto; padding: 25px; background-color: #262626; height: calc(100% - 130px); } .notification { position: absolute; top: 15px; left: 50%; transform: translateX(-50%); width: auto; min-width: 300px; max-width: 380px; background: rgba(50, 50, 50, 0.85); border-radius: 10px; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); overflow: hidden; display: flex; animation: notificationSlideIn 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); z-index: 1000; border: 1px solid rgba(255, 255, 255, 0.1); } .notification.success { background: rgba(45, 45, 45, 0.85); } .notification.error { background: rgba(50, 45, 45, 0.85); } .notification.warning { background: rgba(50, 47, 41, 0.85); } .notification-icon { padding: 16px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.2rem; } .notification.success .notification-icon { color: #30d158; } .notification.error .notification-icon { color: #ff453a; } .notification.warning .notification-icon { color: #ff9f0a; } .notification-content { padding: 16px 16px 16px 0; flex: 1; } .notification-message { color: rgba(255, 255, 255, 0.8); font-size: 0.85rem; margin: 0; line-height: 1.4; } .notification-close { padding: 6px; display: flex; align-items: flex-start; margin: 10px 10px 0 0; } .notification-close i { color: rgba(255, 255, 255, 0.6); cursor: pointer; font-size: 0.8rem; padding: 4px; border-radius: 50%; transition: all 0.2s; } .notification-close i:hover { color: #fff; background: rgba(255, 255, 255, 0.1); } .notification-content p { margin: 0; } @keyframes notificationSlideIn { from { transform: translate(-50%, -100px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } } @keyframes notificationSlideOut { to { transform: translate(-50%, -100px); opacity: 0; } } .notification.dismiss { animation: notificationSlideOut 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; } .notification-progress { position: absolute; bottom: 0; left: 0; height: 2px; background: rgba(255, 255, 255, 0.3); width: 100%; } .notification-progress::before { content: ''; position: absolute; height: 100%; left: 0; top: 0; background: #fff; width: 100%; animation: notificationProgress 4s linear forwards; } .notification.success .notification-progress::before { background: #30d158; } .notification.error .notification-progress::before { background: #ff453a; } .notification.warning .notification-progress::before { background: #ff9f0a; } @keyframes notificationProgress { from { width: 100%; } to { width: 0%; } } @keyframes slideInDown { from { transform: translate(-50%, -50px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } } .notification-dismiss { animation: slideOutUp 0.3s forwards; } @keyframes slideOutUp { to { transform: translate(-50%, -50px); opacity: 0; } } @keyframes scaleIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } } .tab-content { display: none; animation: fadeIn 0.5s ease-out; padding-bottom: 30px; overflow-y: visible; } .tab-content.active { display: block !important; } .tab-content h2 { margin-bottom: 25px; font-size: 1.6rem; color: #f8f8f8; border-bottom: 1px solid #3a3a3a; padding-bottom: 12px; display: inline-block; position: relative; font-weight: 500; } .tab-content h2::after { content: ''; display: block; width: 70px; height: 2px; background: #00a6ff; position: absolute; bottom: -1px; right: 0; } @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .no-data { padding: 30px; text-align: center; color: #a8a8a8; background-color: #323232; border-radius: 12px; margin: 10px 0; display: flex; flex-direction: column; align-items: center; justify-content: center; } .no-data i { font-size: 2.5rem; color: #555555; margin-bottom: 15px; } .no-data p { font-size: 1rem; } .dashboard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 25px 0; } .dashboard-card { background: #323232; padding: 25px; border-radius: 12px; text-align: center; transition: all 0.4s; border: 1px solid #404040; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; animation: slideUp 0.5s; animation-fill-mode: both; overflow: hidden; } @keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .dashboard-card:nth-child(1) { animation-delay: 0.1s; } .dashboard-card:nth-child(2) { animation-delay: 0.2s; } .dashboard-card:nth-child(3) { animation-delay: 0.3s; } .dashboard-card:nth-child(4) { animation-delay: 0.4s; } .dashboard-card:hover { transform: translateY(-8px); background: #383838; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3); border-color: #00a6ff; } .dashboard-card i { font-size: 2rem; color: #00a6ff; margin-bottom: 15px; background: rgba(0, 166, 255, 0.1); width: 70px; height: 70px; display: flex; align-items: center; justify-content: center; border-radius: 50%; margin-top: -5px; border: none; transition: all 0.4s; } .dashboard-card:hover i { background: rgba(0, 166, 255, 0.2); transform: scale(1.1) rotate(10deg); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2); } .dashboard-card h3 { font-size: 0.95rem; margin-bottom: 15px; color: #b8b8b8; font-weight: 500; } .dashboard-card p { font-size: 2.2rem; font-weight: 600; color: #f8f8f8; } .dashboard-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 30px; } .dashboard-recent { background: #323232; padding: 25px; border-radius: 12px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); border: 1px solid #404040; transition: all 0.4s; position: relative; overflow: hidden; animation: fadeIn 0.7s; animation-delay: 0.5s; animation-fill-mode: both; } .dashboard-recent:hover { box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25); transform: translateY(-5px); background: #383838; border-color: #00a6ff; } .dashboard-recent h3 { margin-bottom: 20px; font-size: 1.2rem; color: #f8f8f8; padding-bottom: 12px; border-bottom: 1px solid #404040; display: flex; align-items: center; font-weight: 500; } .dashboard-recent h3 i { margin-left: 12px; color: #00a6ff; font-size: 1.2rem; transition: transform 0.3s; } .dashboard-recent:hover h3 i { transform: scale(1.2); } .dashboard-list { max-height: 320px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #00a6ff #333333; } .dashboard-item { padding: 15px; margin-bottom: 10px; background: #383838; border-radius: 10px; cursor: pointer; transition: all 0.3s; position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; border: 1px solid #444444; } .dashboard-item:hover { background: #444444; transform: translateX(-5px); box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1); border-color: #00a6ff; } .dashboard-item::before { content: ''; position: absolute; top: 0; right: 0; width: 3px; height: 100%; background-color: transparent; transition: opacity 0.3s; } .dashboard-item:hover::before { background-color: #00a6ff; opacity: 1; } .dashboard-item-icon { width: 40px; height: 40px; border-radius: 10px; background-color: rgba(0, 166, 255, 0.1); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: #00a6ff; transition: all 0.3s; flex-shrink: 0; } .dashboard-item:hover .dashboard-item-icon { transform: scale(1.1); background-color: rgba(0, 166, 255, 0.2); } .dashboard-item-content { flex: 1; } .dashboard-item h4 { font-size: 1rem; margin-bottom: 8px; color: #f8f8f8; font-weight: 500; transition: all 0.3s; } .dashboard-item:hover h4 { color: #00a6ff; } .item-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.8rem; color: #a8a8a8; } .item-meta span { display: flex; align-items: center; gap: 5px; } .item-meta i { color: #00a6ff; } .search-container { display: flex; gap: 12px; margin-bottom: 25px; } .search-container input { flex: 1; padding: 12px 15px; border-radius: 10px; border: 1px solid #3a3a3a; background-color: #333333; color: #f8f8f8; font-size: 0.95rem; transition: all 0.3s; box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); } .search-container input:focus { border-color: #00a6ff; outline: none; box-shadow: 0 0 0 3px rgba(0, 166, 255, 0.2), inset 0 1px 3px rgba(0, 0, 0, 0.1); background-color: #3a3a3a; } .search-container input::placeholder { color: #8a8a8a; } .search-container button { background: #00a6ff; color: #fff; border: none; padding: 10px 18px; border-radius: 10px; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: all 0.3s; font-weight: normal; font-size: 0.9rem; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); } .search-container button:hover { background: #0090e0; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); } .search-container button:active { transform: translateY(0); box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); } #clear-citizen-search, #clear-vehicle-search { background: #505050; color: #fff; border: none; padding: 10px 18px; border-radius: 10px; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: all 0.3s; font-size: 0.9rem; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); } #clear-citizen-search:hover, #clear-vehicle-search:hover { background: #606060; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); } .search-options { display: flex; gap: 15px; margin-bottom: 15px; margin-top: -10px; } .search-option { display: flex; align-items: center; gap: 8px; cursor: pointer; } .search-option input[type="checkbox"] { width: 16px; height: 16px; accent-color: #00a6ff; cursor: pointer; } .search-option label { font-size: 0.9rem; color: #b8b8b8; cursor: pointer; } .results-container { background: #323232; border-radius: 12px; overflow: hidden; margin-bottom: 25px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); border: 1px solid #404040; transition: all 0.4s; } .results-container:hover { box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3); } .result-item { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid #404040; cursor: pointer; transition: all 0.3s; background-color: #323232; position: relative; overflow: hidden; } .result-item::before { content: ''; position: absolute; right: -10px; top: 0; height: 100%; width: 5px; background-color: transparent; transition: all 0.3s; } .result-item:hover { background-color: #383838; padding-right: 25px; } .result-item:hover::before { right: 0; background-color: #00a6ff; } .result-item:last-child { border-bottom: none; } .result-item h3 { font-size: 1.1rem; margin-bottom: 8px; color: #f8f8f8; font-weight: 500; transition: all 0.3s; } .result-item:hover h3 { color: #00a6ff; } .result-item p { font-size: 0.9rem; color: #b8b8b8; transition: all 0.3s; } .result-item:hover p { color: #d8d8d8; } .wanted-badge { background-color: #ff3b30; color: white; padding: 3px 8px; border-radius: 6px; font-size: 0.75rem; margin-right: 8px; display: inline-block; } .citizen-info { flex: 1; } .citizen-actions { display: flex; gap: 8px; } .citizen-actions button { background-color: #3a3a3a; color: #f8f8f8; border: none; border-radius: 8px; padding: 6px 12px; font-size: 0.85rem; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; gap: 5px; } .citizen-actions .view-wanted-btn { background-color: rgba(255, 59, 48, 0.2); color: #ff3b30; } .citizen-actions .view-wanted-btn:hover { background-color: #ff3b30; color: white; } .citizen-actions .add-wanted-btn { background-color: rgba(0, 166, 255, 0.2); color: #00a6ff; } .citizen-actions .add-wanted-btn:hover { background-color: #00a6ff; color: white; } .profile-container { background: #323232; border-radius: 12px; padding: 25px; display: none; box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25); border: 1px solid #404040; animation: fadeIn 0.5s; position: relative; overflow: hidden; } .profile-header { display: flex; margin-bottom: 25px; position: relative; z-index: 1; } .profile-image-container { position: relative; margin-left: 25px; } .profile-image { width: 140px; height: 140px; border-radius: 12px; overflow: hidden; border: 3px solid #00a6ff; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 0 5px rgba(0, 166, 255, 0.1); transition: all 0.4s; } .profile-image-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.7)); display: flex; justify-content: center; align-items: flex-end; padding-bottom: 10px; opacity: 0; transition: opacity 0.3s; border-radius: 8px; } .profile-image-container:hover .profile-image-overlay { opacity: 1; } .profile-image-container:hover .profile-image { transform: scale(1.05); } .profile-image:hover { transform: scale(1.05); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 0 8px rgba(0, 166, 255, 0.15); } .profile-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; } .profile-image:hover img { transform: scale(1.1); } .image-action-btn { background: rgba(0, 166, 255, 0.3); color: white; border: none; border-radius: 50%; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s; } .image-action-btn:hover { background: rgba(0, 166, 255, 0.8); transform: scale(1.1); } .profile-details { flex: 1; position: relative; z-index: 1; } .profile-details h2 { font-size: 1.8rem; margin-bottom: 15px; color: #f8f8f8; border: none; font-weight: 600; } .profile-details p { font-size: 1rem; color: #b8b8b8; margin-bottom: 10px; transition: all 0.3s; } .profile-details p:hover { color: #d8d8d8; transform: translateX(5px); } .profile-info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin: 15px 0; } .profile-info-item { display: flex; align-items: center; gap: 8px; transition: all 0.3s; } .profile-info-item:hover { transform: translateX(5px); } .profile-info-item i { color: #00a6ff; font-size: 0.9rem; } .profile-info-item span { color: #b8b8b8; } .profile-info-item strong { color: #f8f8f8; } .profile-flags { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; } .profile-flag { background: linear-gradient(135deg, #ff3b30, #ff453a); color: #fff; padding: 8px 14px; border-radius: 8px; font-size: 0.9rem; display: flex; align-items: center; gap: 8px; font-weight: 500; box-shadow: 0 3px 10px rgba(255, 59, 48, 0.3); transition: all 0.3s; } .profile-flag:hover { transform: translateY(-3px); box-shadow: 0 8px 15px rgba(255, 59, 48, 0.4); } .profile-flag.green { background: linear-gradient(135deg, #34c759, #30d158); box-shadow: 0 3px 10px rgba(52, 199, 89, 0.3); } .profile-flag.green:hover { box-shadow: 0 8px 15px rgba(52, 199, 89, 0.4); } .profile-flag.blue { background: linear-gradient(135deg, #00a6ff, #0090e0); box-shadow: 0 3px 10px rgba(0, 166, 255, 0.3); } .profile-flag.blue:hover { box-shadow: 0 8px 15px rgba(0, 166, 255, 0.4); } .profile-flag2 { background: linear-gradient(135deg, #ff9500, #ff9f0a); color: #fff; padding: 8px 14px; border-radius: 8px; font-size: 0.9rem; display: flex; align-items: center; gap: 8px; font-weight: 500; box-shadow: 0 3px 10px rgba(255, 149, 0, 0.3); transition: all 0.3s; } .profile-flag2:hover { transform: translateY(-3px); box-shadow: 0 8px 15px rgba(255, 149, 0, 0.4); } .profile-flag2.green { background: linear-gradient(135deg, #34c759, #30d158); box-shadow: 0 3px 10px rgba(52, 199, 89, 0.3); } .profile-flag2.green:hover { box-shadow: 0 8px 15px rgba(52, 199, 89, 0.4); } .profile-flag.danger-flag { background: linear-gradient(135deg, #ff3b30, #ff453a) !important; color: #fff !important; box-shadow: 0 3px 10px rgba(255, 59, 48, 0.3) !important; } .profile-flag.danger-flag:hover { box-shadow: 0 8px 15px rgba(255, 59, 48, 0.4) !important; } .profile-tabs { display: flex; gap: 15px; margin-bottom: 25px; border-bottom: 1px solid #444444; position: relative; z-index: 1; } .profile-tab { padding: 12px 15px; cursor: pointer; border-bottom: 3px solid transparent; transition: all 0.3s; font-weight: 500; color: #b8b8b8; position: relative; } .profile-tab::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 3px; background-color: #00a6ff; transition: all 0.3s; } .profile-tab:hover { color: #f8f8f8; } .profile-tab:hover::after { width: 40%; } .profile-tab.active { color: #00a6ff; font-weight: 600; } .profile-tab.active::after { width: 100%; } .profile-tab-content { display: none; animation: fadeIn 0.4s; position: relative; z-index: 1; } .profile-tab-content.active { display: block; } .profile-section { margin-bottom: 25px; } .profile-section h3 { margin-bottom: 18px; font-size: 1.2rem; color: #f8f8f8; padding-bottom: 10px; border-bottom: 1px solid #444444; position: relative; font-weight: 500; } .profile-section h3::after { content: ''; position: absolute; bottom: -1px; right: 0; width: 60px; height: 1px; background: #00a6ff; } .profile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-top: 15px; } .profile-field { background: #383838; padding: 15px; border-radius: 10px; border: 1px solid #444444; transition: all 0.3s; position: relative; overflow: hidden; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); } .profile-field:hover { background: #444444; transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); border-color: #00a6ff; } .profile-field span { font-size: 0.85rem; color: #a8a8a8; display: block; margin-bottom: 8px; position: relative; } .profile-field p { font-size: 1rem; color: #f8f8f8; position: relative; transition: transform 0.3s; } .profile-field:hover p { transform: translateX(5px); } .profile-field.license-field { position: relative; padding-right: 15px; } .license-status { position: absolute; top: 12px; left: 12px; font-size: 0.75rem; padding: 3px 8px; border-radius: 6px; font-weight: 500; } .license-status.valid { background-color: rgba(52, 199, 89, 0.15); color: #34c759; } .license-status.expired { background-color: rgba(255, 59, 48, 0.15); color: #ff3b30; } .profile-field p.expired { color: #ff3b30; } .vehicles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-top: 15px; } .vehicle-card { background: #383838; border-radius: 12px; padding: 18px; transition: all 0.4s; border: 1px solid #444444; box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1); cursor: pointer; position: relative; overflow: hidden; } .vehicle-card::before { content: ''; position: absolute; width: 100%; height: 6px; background: linear-gradient(90deg, #00a6ff, transparent); bottom: 0; left: 0; transform: translateY(6px); transition: transform 0.3s; } .vehicle-status-icon { position: absolute; top: 10px; left: 10px; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; z-index: 2; transition: all 0.3s; } .vehicle-impounded .vehicle-status-icon { background-color: rgba(255, 59, 48, 0.15); color: #ff3b30; } .vehicle-out .vehicle-status-icon { background-color: rgba(255, 149, 0, 0.15); color: #ff9500; } .vehicle-normal .vehicle-status-icon { background-color: rgba(52, 199, 89, 0.15); color: #34c759; } .vehicle-sedan { border-right: 4px solid #00a6ff; } .vehicle-suv { border-right: 4px solid #5e5ce6; } .vehicle-truck { border-right: 4px solid #ff9500; } .vehicle-bike { border-right: 4px solid #34c759; } .vehicle-card:hover { transform: translateY(-8px); background: #444444; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2); border-color: #00a6ff; } .vehicle-card:hover::before { transform: translateY(0); } .vehicle-model { font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; color: #f8f8f8; } .vehicle-card:hover .vehicle-model { color: #00a6ff; } .vehicle-plate { font-size: 0.9rem; color: #00a6ff; font-weight: 500; background-color: rgba(0, 166, 255, 0.1); padding: 6px 12px; border-radius: 8px; display: inline-block; margin-bottom: 15px; } .vehicle-card:hover .vehicle-plate { background-color: rgba(0, 166, 255, 0.2); box-shadow: 0 0 10px rgba(0, 166, 255, 0.3); } .vehicle-details { display: flex; justify-content: space-between; color: #b8b8b8; font-size: 0.85rem; } .vehicle-status { font-weight: 500; font-size: 0.85rem; display: flex; align-items: center; gap: 5px; transition: all 0.3s; } .vehicle-status.red { color: #ff3b30; } .vehicle-status.orange { color: #ff9500; } .vehicle-status.green { color: #34c759; } .vehicle-card:hover .vehicle-status { transform: scale(1.1); } .vehicle-view-btn { background: rgba(0, 166, 255, 0.1); color: #00a6ff; padding: 8px 12px; border-radius: 8px; text-align: center; margin-top: 15px; font-size: 0.9rem; opacity: 0; transform: translateY(20px); transition: all 0.3s; } .vehicle-card:hover .vehicle-view-btn { opacity: 1; transform: translateY(0); } .vehicle-view-btn:hover { background: #00a6ff; color: white; } .vehicle-link { cursor: pointer; transition: all 0.3s; position: relative; } .vehicle-link:hover { background-color: #444444; transform: translateX(-5px); } .vehicle-link:after { content: '\f105'; font-family: 'Font Awesome 5 Free'; font-weight: 900; position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: #00a6ff; opacity: 0; transition: all 0.3s; } .vehicle-link:hover:after { opacity: 1; right: 10px; } .profile-actions { display: flex; gap: 12px; margin-top: 25px; flex-wrap: wrap; } .primary-btn { background: #00a6ff; color: white; border: none; padding: 10px 18px; border-radius: 10px; cursor: pointer; display: flex; align-items: center; gap: 10px; transition: all 0.3s; font-weight: 500; font-size: 0.95rem; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1); } .primary-btn:hover { background: #0090e0; transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); } .primary-btn:active { transform: translateY(0); box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1); } .secondary-btn { background: #505050; color: white; border: none; padding: 10px 18px; border-radius: 10px; cursor: pointer; display: flex; align-items: center; gap: 10px; transition: all 0.3s; font-weight: 500; font-size: 0.95rem; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1); } .secondary-btn:hover { background: #606060; transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); } .secondary-btn:active { transform: translateY(0); box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1); } .danger-btn { background: #ff3b30; color: white; border: none; padding: 10px 18px; border-radius: 10px; cursor: pointer; display: flex; align-items: center; gap: 10px; transition: all 0.3s; font-weight: 500; font-size: 0.95rem; box-shadow: 0 3px 10px rgba(255, 59, 48, 0.2); } .danger-btn:hover { background: #ff453a; transform: translateY(-3px); box-shadow: 0 8px 20px rgba(255, 59, 48, 0.3); } .danger-btn:active { transform: translateY(0); box-shadow: 0 3px 10px rgba(255, 59, 48, 0.2); } .primary-btn i, .secondary-btn i, .danger-btn i { transition: transform 0.3s; } .primary-btn:hover i, .secondary-btn:hover i, .danger-btn:hover i { transform: translateX(-5px); } .tags-container { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; } .tag { background: #00a6ff; color: white; padding: 6px 12px; border-radius: 8px; font-size: 0.9rem; display: flex; align-items: center; gap: 8px; font-weight: 500; box-shadow: 0 3px 8px rgba(0, 166, 255, 0.2); transition: all 0.3s; position: relative; overflow: hidden; } .tag:hover { background: #0090e0; transform: translateY(-3px); box-shadow: 0 6px 15px rgba(0, 166, 255, 0.3); } .tag i { cursor: pointer; transition: all 0.3s; } .tag i:hover { color: #ff8585; transform: scale(1.3) rotate(90deg); } .charges-container { margin-bottom: 20px; } .charge-item { background: #383838; padding: 14px 16px; border-radius: 10px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; border: 1px solid #444444; transition: all 0.3s; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1); } .charge-item:hover { background: #444444; transform: translateX(5px); box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15); border-color: #00a6ff; } .charge-item label { display: flex; align-items: center; gap: 12px; cursor: pointer; width: 100%; } .charge-name { font-size: 1rem; color: #f8f8f8; flex: 1; } .charge-fine { color: #00a6ff; font-size: 0.9rem; font-weight: 500; padding: 4px 10px; background-color: rgba(0, 166, 255, 0.1); border-radius: 6px; transition: all 0.3s; } .charge-item:hover .charge-fine { background-color: rgba(0, 166, 255, 0.2); } .charge-remove { color: #ff3b30; cursor: pointer; transition: all 0.3s; padding: 8px; border-radius: 50%; display: flex; align-items: center; justify-content: center; } .charge-remove:hover { color: #ff453a; transform: scale(1.2) rotate(90deg); background-color: rgba(255, 59, 48, 0.1); } .list-container { background: #323232; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2); border: 1px solid #404040; transition: all 0.3s; } .list-container:hover { box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3); } .list-header { display: flex; background: #3a3a3a; padding: 14px 18px; font-size: 0.95rem; color: #b8b8b8; font-weight: 500; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); } .list-header div { flex: 1; } .citizen-cell { color: #00a6ff; cursor: pointer; transition: all 0.3s; } .citizen-cell:hover { color: #0090e0; text-decoration: underline; } .list-header div:nth-child(1), .list-item div:nth-child(1) { flex: 2; } .list-header div:nth-child(2), .list-header div:nth-child(5), .list-item div:nth-child(2), .list-item div:nth-child(5) { flex: 1.5; } .list-header div:nth-child(3), .list-header div:nth-child(4), .list-header div:nth-child(6), .list-item div:nth-child(3), .list-item div:nth-child(4), .list-item div:nth-child(6) { flex: 1; } .list-item { padding: 16px 18px; border-bottom: 1px solid #404040; cursor: pointer; transition: all 0.3s; display: flex; background: #323232; position: relative; overflow: hidden; } .list-item::before { content: ''; position: absolute; top: 0; right: 0; width: 3px; height: 100%; background-color: transparent; transition: all 0.3s; } .list-item:hover { background: #383838; padding-right: 25px; } .list-item:hover::before { background-color: #00a6ff; } .list-item div { flex: 1; color: #f8f8f8; transition: all 0.3s; } .list-item:hover div { color: #f8f8f8; } .list-item:last-child { border-bottom: none; } .modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background-color: transparent; animation: fadeIn 0.3s; } .modal::before { content: ''; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.4); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); z-index: -1; pointer-events: none; } .modal-content { background: #323232; margin: 8% auto; width: 65%; border-radius: 16px; animation: slideDown 0.4s; border: 1px solid #404040; box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3); max-height: 80vh; display: flex; flex-direction: column; overflow: hidden; pointer-events: auto; } @keyframes slideDown { from { transform: translateY(-50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } } .modal-header { padding: 18px 22px; background: #383838; border-top-left-radius: 16px; border-top-right-radius: 16px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #2a2a2a; } .modal-header h3 { font-size: 1.3rem; color: #f8f8f8; font-weight: 500; } .close-modal { font-size: 1.4rem; color: #b8b8b8; cursor: pointer; transition: all 0.3s; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background-color: rgba(255, 59, 48, 0.1); } .close-modal:hover { color: #ff3b30; background-color: rgba(255, 59, 48, 0.2); transform: rotate(90deg); } .modal-body { padding: 25px; max-height: 65vh; overflow-y: auto; flex: 1; } .modal-footer { padding: 18px 22px; background: #383838; border-bottom-left-radius: 16px; border-bottom-right-radius: 16px; display: flex; justify-content: flex-end; gap: 12px; border-top: 1px solid #2a2a2a; } .report-modal .modal-body, .warrant-modal .modal-body, .apb-modal .modal-body { padding: 25px; } .report-meta, .warrant-meta, .apb-meta, .warrant-dates { display: flex; gap: 25px; margin-bottom: 20px; background-color: #383838; padding: 15px; border-radius: 10px; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1); border: 1px solid #444444; } .report-section, .warrant-section, .apb-section { background-color: #383838; padding: 18px; border-radius: 10px; margin-bottom: 20px; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1); border: 1px solid #444444; } .report-section h4, .warrant-section h4, .apb-section h4 { font-size: 1.05rem; margin-bottom: 12px; color: #f8f8f8; border-bottom: 1px solid #444444; padding-bottom: 8px; font-weight: 500; } .involved-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; } .involved-person { background-color: #444444; padding: 15px; border-radius: 10px; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1); border: 1px solid #505050; } .involved-person h4 { font-size: 1rem; margin-bottom: 8px; color: #f8f8f8; border: none; font-weight: 500; } .charges-list { margin-top: 10px; list-style-position: inside; color: #b8b8b8; } .charges-list li { margin-bottom: 5px; } .reports-header, .warrants-header, .apbs-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; } .tabs { display: flex; gap: 10px; margin: 18px 0; } .tab-btn { background-color: #383838; color: #b8b8b8; border: none; padding: 8px 16px; border-radius: 8px; cursor: pointer; transition: all 0.3s; font-weight: 500; font-size: 0.9rem; border: 1px solid #444444; } .tab-btn:hover { background-color: #444444; color: #f8f8f8; } .tab-btn.active { background-color: #00a6ff; color: white; box-shadow: 0 3px 10px rgba(0, 166, 255, 0.2); border-color: #00a6ff; } .toggle-container { display: flex; align-items: center; } .toggle { position: relative; display: inline-block; width: 50px; height: 24px; margin-left: 12px; } .toggle input { opacity: 0; width: 0; height: 0; } .toggle-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #505050; transition: .4s; border-radius: 24px; } .toggle-slider:before { position: absolute; content: ""; height: 16px; width: 16px; left: 4px; bottom: 4px; background-color: white; transition: .4s; border-radius: 50%; } input:checked + .toggle-slider { background-color: #00a6ff; } input:checked + .toggle-slider:before { transform: translateX(26px); } .toggle-label { margin-right: 12px; font-size: 0.95rem; color: #b8b8b8; } .status-executed { background-color: rgba(52, 199, 89, 0.15); color: #34c759; padding: 3px 8px; border-radius: 6px; font-size: 0.8rem; text-align: center; display: inline-block; min-width: 90px; } .status-pending { background-color: rgba(255, 149, 0, 0.15); color: #ff9500; padding: 3px 8px; border-radius: 6px; font-size: 0.8rem; text-align: center; display: inline-block; min-width: 90px; } .form-container { background: #323232; border-radius: 12px; padding: 25px; display: none; box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25); border: 1px solid #404040; animation: fadeIn 0.5s; position: relative; overflow: hidden; } .form-container h3 { margin-bottom: 25px; font-size: 1.3rem; color: #f8f8f8; border-bottom: 1px solid #444444; padding-bottom: 15px; position: relative; z-index: 1; font-weight: 500; } .form-container h3::after { content: ''; position: absolute; bottom: -1px; right: 0; width: 80px; height: 1px; background: #00a6ff; } .form-group { margin-bottom: 20px; position: relative; z-index: 1; } .form-group label { display: block; margin-bottom: 10px; font-size: 1rem; color: #b8b8b8; font-weight: 500; transition: all 0.3s; } .form-group:hover label { color: #f8f8f8; transform: translateX(5px); } .form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 15px; border-radius: 10px; border: 1px solid #444444; background: #383838; color: #f8f8f8; font-size: 1rem; transition: all 0.3s; font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Tajawal', sans-serif; box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); } .form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: #00a6ff; outline: none; box-shadow: 0 0 0 3px rgba(0, 166, 255, 0.2), inset 0 1px 3px rgba(0, 0, 0, 0.1); background: #444444; } .form-group textarea { resize: vertical; min-height: 120px; } .form-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 30px; position: relative; z-index: 1; } .citizen-details { background: #383838; padding: 16px; border-radius: 10px; margin-top: 15px; display: none; border: 1px solid #444444; animation: fadeIn 0.4s; box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1); transition: all 0.3s; } .citizen-details:hover { background: #444444; transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); border-color: #00a6ff; } .citizen-details p { margin-bottom: 10px; font-size: 0.95rem; display: flex; align-items: center; transition: all 0.3s; color: #f8f8f8; } .citizen-details p:last-child { margin-bottom: 0; } .citizen-details p:hover { transform: translateX(5px); } .citizen-details p strong { color: #b8b8b8; margin-left: 8px; font-weight: 500; } .hidden { display: none !important; } ::-webkit-scrollbar { width: 8px; } ::-webkit-scrollbar-track { background: #262626; border-radius: 4px; } ::-webkit-scrollbar-thumb { background: #505050; border-radius: 4px; border: 2px solid #262626; transition: all 0.3s; } ::-webkit-scrollbar-thumb:hover { background: #00a6ff; } .wanted-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; } .wanted-item { cursor: pointer; transition: all 0.3s; } .wanted-item:hover { background-color: #383838; } .wanted-level { display: flex; align-items: center; gap: 8px; font-weight: 500; } .danger-badge { width: 10px; height: 10px; border-radius: 50%; display: inline-block; } .wanted-actions { display: flex; gap: 8px; } .wanted-actions button { background: none; border: none; color: #b8b8b8; cursor: pointer; font-size: 1rem; transition: all 0.3s; padding: 5px; border-radius: 5px; } .wanted-actions .view-wanted-btn:hover { color: #00a6ff; } .wanted-actions .remove-wanted-btn:hover { color: #ff3b30; } .wanted-profile { display: flex; flex-direction: column; gap: 20px; } .wanted-section { background: #383838; padding: 15px; border-radius: 10px; box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1); border: 1px solid #444444; } .wanted-section h4 { font-size: 1.05rem; margin-bottom: 10px; color: #f8f8f8; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #444444; padding-bottom: 8px; font-weight: 500; } .wanted-section h4 i { color: #00a6ff; } .wanted-meta { display: flex; justify-content: space-between; background: #383838; padding: 15px; border-radius: 10px; box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1); border: 1px solid #444444; } .wanted-danger { font-size: 1.05rem; font-weight: 600; margin-top: 10px; display: flex; align-items: center; gap: 8px; } #wanted-notes { width: 100%; height: 100px; padding: 12px 15px; background: #444444; border: 1px solid #505050; border-radius: 10px; color: #f8f8f8; font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Tajawal', sans-serif; resize: vertical; margin-bottom: 10px; font-size: 0.95rem; } #wanted-notes:focus { outline: none; border-color: #00a6ff; box-shadow: 0 0 0 3px rgba(0, 166, 255, 0.2); } #save-notes-btn { align-self: flex-end; } .execution-toggle { margin-top: 25px; background: #383838; padding: 15px; border-radius: 10px; border: 1px solid #444444; transition: all 0.3s; box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1); } .execution-toggle:hover { background: #444444; transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); border-color: #00a6ff; } .execution-toggle label { display: block; margin-bottom: 12px; font-size: 1rem; color: #f8f8f8; font-weight: 500; } .toggle-switch { position: relative; display: inline-block; margin-top: 5px; } .toggle-switch input[type="checkbox"] { display: none; } .toggle-label2 { display: block; width: 60px; height: 30px; background: #505050; border-radius: 30px; position: relative; cursor: pointer; transition: all 0.3s; box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2); } .toggle-inner { position: absolute; width: 22px; height: 22px; border-radius: 50%; background: white; top: 4px; right: 4px; transition: all 0.3s; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); } .toggle-switch-label { position: absolute; right: 70px; top: 5px; color: #b8b8b8; font-size: 0.9rem; transition: all 0.3s; white-space: nowrap; } input[type="checkbox"]:checked + .toggle-label2 { background: #34c759; } input[type="checkbox"]:checked + .toggle-label2 .toggle-inner { right: 34px; } input[type="checkbox"]:checked + .toggle-label2 .toggle-switch-label { color: #34c759; } .toggle-label2:hover { background: #606060; } input[type="checkbox"]:checked + .toggle-label2:hover { background: #30b955; } .toggle-description { margin-top: 10px; color: #a8a8a8; font-size: 0.85rem; } .toggle-switch.disabled .toggle-label2 { opacity: 0.6; cursor: not-allowed; } @keyframes pulse-toggle { 0% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(52, 199, 89, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0); } } .toggle-pulse { animation: pulse-toggle 1s; } .charges-summary { margin-top: 20px; padding: 15px; background: #383838; border-radius: 10px; border: 1px solid #444444; box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1); } .summary-item { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid #444444; } .summary-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; } .summary-item span { color: #b8b8b8; font-size: 0.95rem; } .summary-item strong { color: #f8f8f8; font-size: 1rem; font-weight: 500; background: rgba(0, 0, 0, 0.2); padding: 5px 10px; border-radius: 8px; min-width: 80px; text-align: center; display: inline-block; } #selected-charges-count { color: #00a6ff; } #total-fine { color: #34c759; } #total-jail { color: #ff9500; } #charge-modal .modal-body { padding: 15px 20px; max-height: 55vh; overflow-y: auto; display: flex; flex-direction: column; gap: 15px; } #charge-modal .charges-list { max-height: 32vh; overflow-y: auto; padding: 5px; border-radius: 10px; background: rgba(30, 30, 30, 0.3); border: 1px solid rgba(255, 255, 255, 0.05); } #charge-modal { pointer-events: auto; } #charge-modal .charges-list::-webkit-scrollbar { width: 8px; } #charge-modal .charges-list::-webkit-scrollbar-track { background: transparent; margin: 5px; } #charge-modal .charges-list::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 4px; border: 2px solid transparent; background-clip: padding-box; } #charge-modal .charges-list::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.3); } #charge-modal .charge-item { display: flex; align-items: center; padding: 8px 10px; margin-bottom: 6px; background: linear-gradient(145deg, #363636, #2f2f2f); border-radius: 8px; border: 1px solid #444; transition: all 0.2s ease; } #charge-modal .charge-item:hover { transform: translateX(-3px); border-color: #00a6ff; background: linear-gradient(145deg, #383838, #333333); } #charge-modal .charge-item label { display: flex; align-items: center; width: 100%; cursor: pointer; } #charge-modal .charge-item input[type="checkbox"] { margin-right: 10px; width: 16px; height: 16px; accent-color: #00a6ff; } #charge-modal .charge-name { flex: 1; color: #f8f8f8; font-size: 0.9rem; } #charge-modal .charge-fine { background: rgba(0, 166, 255, 0.1); color: #00a6ff; padding: 4px 8px; border-radius: 6px; font-size: 0.8rem; white-space: nowrap; } .case-summary { margin-top: 25px; background: #383838; border-radius: 12px; border: 1px solid #444444; overflow: hidden; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); animation: fadeIn 0.4s; } .summary-header { background: linear-gradient(90deg, #00a6ff, #0090e0); color: white; padding: 12px 15px; font-weight: 500; font-size: 1rem; position: relative; overflow: hidden; } .summary-header::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent); transform: translateX(-100%); animation: shine 2s infinite; } .selector-note { margin-top: 15px; padding: 10px 12px; background: rgba(255, 149, 0, 0.1); border-radius: 8px; display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: #ff9500; border: 1px solid rgba(255, 149, 0, 0.2); } .selector-note i { font-size: 1rem; } @keyframes shine { to { transform: translateX(100%); } } .summary-details { padding: 15px; } .summary-row { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 0.95rem; padding-bottom: 8px; border-bottom: 1px solid #444444; } .summary-row:last-child { margin-bottom: 0; border-bottom: none; padding-bottom: 0; } .summary-row span { color: #b8b8b8; } .summary-row strong { color: #f8f8f8; font-size: 1rem; background: rgba(0, 0, 0, 0.15); padding: 4px 10px; border-radius: 8px; min-width: 80px; text-align: center; display: inline-block; } #case-charges-count { color: #00a6ff; } #case-total-fine { color: #34c759; } #case-total-jail { color: #ff9500; } select#wanted-level { background: #383838; color: #f8f8f8; border: 1px solid #444444; padding: 12px 15px; font-size: 0.95rem; border-radius: 10px; width: 100%; transition: all 0.3s; -webkit-appearance: none; -moz-appearance: none; appearance: none; box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); position: relative; cursor: pointer; } select#wanted-level:focus { border-color: #00a6ff; outline: none; box-shadow: 0 0 0 3px rgba(0, 166, 255, 0.2), inset 0 1px 3px rgba(0, 0, 0, 0.1); background: #444444; } .select-container { position: relative; width: 100%; } .select-container::after { content: '\f078'; font-family: 'Font Awesome 5 Free'; font-weight: 900; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #00a6ff; pointer-events: none; transition: all 0.3s; } .select-container:hover::after { transform: translateY(-50%) translateY(2px); color: #f8f8f8; } select#wanted-level option { background-color: #383838; color: #f8f8f8; padding: 10px; font-size: 0.95rem; } select#wanted-level option:checked { background-color: #00a6ff; color: white; } select#wanted-level option:hover { background-color: #444444; } select#wanted-level:hover { background: #444444; } .danger-level-1 { border-right: 4px solid #34c759 !important; } .danger-level-2 { border-right: 4px solid #ff9500 !important; } .danger-level-3 { border-right: 4px solid #ff3b30 !important; } .danger-level-4 { border-right: 4px solid #dc2626 !important; } .danger-level-5 { border-right: 4px solid #991b1b !important; } .apbs-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; } #apbs-list { position: relative; min-height: 100px; } .apb-item { cursor: pointer; transition: all 0.3s; } .apb-item:hover { transform: translateX(-5px); background: #383838; } .apb-item::before { content: ''; position: absolute; top: 0; right: 0; height: 100%; width: 0; background-color: #00a6ff; transition: width 0.3s; } .apb-item:hover::before { width: 4px; } .apbs-list-body { max-height: 500px; overflow-y: auto; } #apb-form textarea { min-height: 180px; font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Tajawal', sans-serif; line-height: 1.5; } .form-loading-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(35, 35, 35, 0.9); display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 12px; z-index: 100; backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); } .loading-spinner { font-size: 2rem; color: #00a6ff; margin-bottom: 15px; } .apb-link { color: #00a6ff; text-decoration: none; transition: all 0.3s; } .apb-link:hover { text-decoration: underline; color: #f8f8f8; } .error-data { display: flex; flex-direction: column; align-items: center; padding: 40px; text-align: center; animation: fadeIn 0.5s; } .error-data i { font-size: 3rem; color: #ff3b30; margin-bottom: 15px; } .error-data h3 { color: #f8f8f8; margin: 0 0 10px 0; } .error-data p { color: #b8b8b8; margin: 0 0 20px 0; max-width: 500px; } .error-data button { min-width: 150px; } .empty-apbs { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 50px 20px; text-align: center; animation: fadeIn 0.5s; background: #323232; border-radius: 12px; border: 1px solid #404040; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15); } .empty-icon { width: 80px; height: 80px; border-radius: 50%; background: rgba(0, 166, 255, 0.1); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; } .empty-icon i { font-size: 2.5rem; color: #00a6ff; } .empty-apbs h3 { color: #f8f8f8; margin: 0 0 10px 0; font-size: 1.3rem; } .empty-apbs p { color: #b8b8b8; margin: 0 0 25px 0; max-width: 400px; line-height: 1.5; } .empty-apbs .primary-btn { display: flex; align-items: center; gap: 10px; padding: 12px 25px; font-size: 1rem; } .empty-apbs .primary-btn i { font-size: 1.1rem; } #apb-form { animation: fadeIn 0.4s; } #apb-form .form-group label { font-size: 1rem; margin-bottom: 10px; } #apb-form input, #apb-form textarea { padding: 15px; font-size: 0.95rem; } #apb-form textarea { min-height: 200px; line-height: 1.5; } #apb-form .form-actions { margin-top: 30px; } #apb-form .form-actions button { padding: 12px 25px; font-size: 0.95rem; } .form-hint { margin-top: 8px; color: #a8a8a8; font-size: 0.85rem; display: flex; align-items: center; gap: 8px; } .form-hint i { color: #00a6ff; } @media (max-width: 1400px) { #mac-container { width: 85vw; } .dashboard-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } .modal-content { width: 80%; } } @media (max-width: 992px) { .dashboard-row { grid-template-columns: 1fr; gap: 20px; } .involved-list { grid-template-columns: 1fr; } .profile-grid { grid-template-columns: 1fr; } .vehicles-grid { grid-template-columns: 1fr; } #mdt-navbar { overflow-x: auto; padding: 10px 15px; } .nav-btn { padding: 10px 16px; font-size: 0.9rem; } } @media (max-width: 768px) { #mac-container { width: 95vw; } #mdt-navbar { flex-wrap: nowrap; justify-content: flex-start; } .profile-header { flex-direction: column; align-items: center; text-align: center; } .profile-image { margin-left: 0; margin-bottom: 20px; width: 120px; height: 120px; } .profile-details { text-align: center; } .profile-flags { justify-content: center; } .modal-content { width: 95%; margin: 5% auto; } .search-container { flex-direction: column; gap: 10px; } .form-actions { flex-direction: column; } .form-actions button { width: 100%; } } .profile-field, .charge-item, .vehicle-card, .dashboard-card, .tag, .form-container, .modal-content, .user-info span, .profile-container, .list-container, .dashboard-recent, .notification { backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); } .dashboard-card, .profile-field, .vehicle-card, .tag { position: relative; overflow: hidden; } .dashboard-card::after, .profile-field::after, .vehicle-card::after, .tag::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 30%; background: linear-gradient(to bottom, rgba(255, 255, 255, 0.04), transparent); pointer-events: none; } .status-executed, .status-pending, .wanted-badge { display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; font-size: 0.75rem; font-weight: 500; padding: 3px 8px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); } * { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); } button:active { transform: scale(0.97); } .modal-header, .modal-footer { position: relative; } .modal-header::after, .modal-footer::after { content: ''; position: absolute; left: 0; width: 100%; height: 1px; background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.05), transparent); } .modal-header::after { bottom: 0; } .modal-footer::after { top: 0; } .primary-btn, .nav-btn.active, input:checked + .toggle-slider, .summary-header { background: linear-gradient(to bottom, #06a7ff, #0091e0); border: none; } .primary-btn:hover, .nav-btn.active:hover { background: linear-gradient(to bottom, #0daefd, #0097e5); } .profile-flag.blue, .tag, .profile-flag, .profile-flag2 { background: linear-gradient(135deg, rgba(0, 166, 255, 0.8), rgba(0, 142, 231, 0.8)); box-shadow: 0 3px 10px rgba(0, 166, 255, 0.2); border: 1px solid rgba(0, 166, 255, 0.3); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); } .profile-flag.blue:hover, .tag:hover { background: linear-gradient(135deg, rgba(0, 166, 255, 0.9), rgba(0, 142, 231, 0.9)); border-color: rgba(0, 166, 255, 0.5); } #mac-container { padding: 20px 20px 30px; background: linear-gradient(to bottom, #2b2b2b, #1c1c1c); box-shadow: 0 20px 70px rgba(0, 0, 0, 0.5), 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.06); border: 1px solid #000; } #mac-top-bar { background: linear-gradient(to bottom, #474747, #373737); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.05); border-bottom: 1px solid #262626; } #mdt-container { background-color: rgba(35, 35, 35, 0.98); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.03); } .mac-button { position: relative; overflow: hidden; } .mac-button::after { content: ''; position: absolute; top: 0; left: -50%; width: 200%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent); transform: rotate(45deg); opacity: 0; transition: all 0.3s; } .mac-button:hover::after { left: 100%; opacity: 1; transition: all 0.5s; } body, #mdt-container, .modal-content, .form-container, .profile-container, .list-container, .dashboard-recent, .dashboard-card, .vehicle-card, .profile-field, .charge-item { color-scheme: dark; } ::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-track { background: transparent; margin: 4px; } ::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 10px; border: 2px solid transparent; background-clip: padding-box; } ::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.3); border: 2px solid transparent; background-clip: padding-box; } ::-webkit-scrollbar-corner { background: transparent; } .dashboard-card, .dashboard-item, .result-item, .profile-field, .vehicle-card, .tag, .list-item { transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); } .dashboard-card:hover, .profile-field:hover, .vehicle-card:hover { transform: translateY(-8px) scale(1.02); } h1, h2, h3, h4, h5, p, label, span, button, input, select, textarea { letter-spacing: -0.02em; } .dashboard-card, .profile-container, .form-container, .list-container, .modal-content, .tag, .profile-field, .charge-item, .vehicle-card { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.03); } .primary-btn:hover, .nav-btn.active:hover, .profile-flag:hover, .tag:hover, .wanted-badge { box-shadow: 0 0 25px rgba(0, 166, 255, 0.4); }