* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', 'SolaimanLipi', Arial, sans-serif; background: #f0f4f8; color: #1e293b; line-height: 1.5; }
.login-container { display: flex; justify-content: center; align-items: center; min-height: 100vh; background: linear-gradient(145deg, #006A4E 0%, #2ecc71 100%); }
.login-box { background: white; padding: 40px; border-radius: 16px; box-shadow: 0 20px 40px rgba(0,0,0,0.2); width: 100%; max-width: 400px; }
.login-box h2 { text-align: center; margin-bottom: 30px; color: #006A4E; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; }
.form-group input { width: 100%; padding: 12px 15px; border: 2px solid #e2e8f0; border-radius: 8px; font-size: 16px; transition: border 0.2s; }
.form-group input:focus { outline: none; border-color: #006A4E; }
.btn-login { width: 100%; padding: 14px; background: #006A4E; color: white; border: none; border-radius: 8px; font-size: 18px; font-weight: bold; cursor: pointer; transition: background 0.2s; }
.btn-login:hover { background: #004d38; }
.error-msg { color: #e53e3e; margin-top: 15px; text-align: center; }
.demo-info { text-align: center; margin-top: 20px; color: #64748b; font-size: 14px; }
.dashboard-container { max-width: 1400px; margin: 0 auto; padding: 20px; }
.dashboard-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border-bottom: 2px solid #cbd5e1; margin-bottom: 30px; }
.dashboard-header h1 { color: #006A4E; }
.officer-badge { display: flex; gap: 20px; align-items: center; background: white; padding: 10px 20px; border-radius: 30px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.logout-btn { background: #ef4444; color: white; padding: 8px 16px; border-radius: 20px; text-decoration: none; font-weight: 500; }
.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.card { background: white; border-radius: 16px; padding: 25px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.card h3 { margin-bottom: 20px; color: #1e293b; border-bottom: 2px solid #f1f5f9; padding-bottom: 10px; }
.stats { display: flex; justify-content: space-around; text-align: center; }
.stat-value { font-size: 32px; font-weight: bold; color: #006A4E; display: block; }
.stat-label { color: #64748b; font-size: 14px; }
.action-buttons { display: flex; flex-direction: column; gap: 15px; }
.btn-primary, .btn-scan { display: block; padding: 15px; background: #006A4E; color: white; text-align: center; border-radius: 10px; text-decoration: none; font-weight: bold; border: none; cursor: pointer; font-size: 16px; transition: 0.2s; }
.btn-primary:hover, .btn-scan:hover { background: #004d38; transform: translateY(-2px); }
.btn-primary:disabled { background: #94a3b8; cursor: not-allowed; }
.notification-list { max-height: 300px; overflow-y: auto; }
.notification-item { background: #f8fafc; padding: 12px; margin-bottom: 8px; border-radius: 8px; border-left: 4px solid #006A4E; cursor: pointer; }
.notification-item small { color: #64748b; font-size: 12px; }
.no-data { color: #94a3b8; text-align: center; padding: 20px; }
.scanner-page { max-width: 800px; margin: 20px auto; padding: 20px; }
.scanner-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.back-btn { background: #e2e8f0; padding: 10px 20px; border-radius: 30px; text-decoration: none; color: #1e293b; }
.scanner-wrapper { background: white; border-radius: 20px; padding: 30px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.scan-result-panel { margin-top: 30px; }
.waiting-text { text-align: center; color: #64748b; }
.scan-details { background: #f1f5f9; padding: 20px; border-radius: 12px; margin-top: 20px; }
.scan-details.valid { background: #dcfce7; border-left: 6px solid #16a34a; }
.scan-details.warning { background: #fef9c3; border-left: 6px solid #ca8a04; }
.scan-details.danger { background: #fee2e2; border-left: 6px solid #dc2626; }
.manual-location { margin-top: 20px; text-align: center; }
.manual-location input { padding: 12px; width: 100%; max-width: 400px; border: 1px solid #cbd5e1; border-radius: 8px; margin-top: 10px; }
@media (max-width: 768px) {
    .dashboard-grid { grid-template-columns: 1fr; }
    .dashboard-header { flex-direction: column; gap: 15px; text-align: center; }
}