:root{--text:#6b6375;--text-h:#08060d;--bg:#fff;--border:#e5e4e7;--code-bg:#f4f3ec;--accent:#aa3bff;--accent-bg:#aa3bff1a;--accent-border:#aa3bff80;--social-bg:#f4f3ec80;--shadow:#0000001a 0 10px 15px -3px, #0000000d 0 4px 6px -2px;--sans:system-ui, "Segoe UI", Roboto, sans-serif;--heading:system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;font:18px/145% var(--sans);letter-spacing:.18px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}@media (width<=1024px){:root{font-size:16px}}@media (prefers-color-scheme:dark){:root{--text:#9ca3af;--text-h:#f3f4f6;--bg:#16171d;--border:#2e303a;--code-bg:#1f2028;--accent:#c084fc;--accent-bg:#c084fc26;--accent-border:#c084fc80;--social-bg:#2f303a80;--shadow:#0006 0 10px 15px -3px, #00000040 0 4px 6px -2px}#social .button-icon{filter:invert()brightness(2)}}body{margin:0}#root{text-align:center;border-inline:1px solid var(--border);box-sizing:border-box;flex-direction:column;width:1126px;max-width:100%;min-height:100svh;margin:0 auto;display:flex}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h1{letter-spacing:-1.68px;margin:32px 0;font-size:56px}@media (width<=1024px){h1{margin:20px 0;font-size:36px}}h2{letter-spacing:-.24px;margin:0 0 8px;font-size:24px;line-height:118%}@media (width<=1024px){h2{font-size:20px}}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}.navbar{background:#fff;justify-content:space-between;align-items:center;padding:16px 40px;display:flex;box-shadow:0 2px 8px #0000000f}.navbar-logo{color:#1a1a1a;font-size:20px;font-weight:700;text-decoration:none}.navbar-logo span{color:#4f46e5}.navbar-links{align-items:center;gap:24px;display:flex}.navbar-links a{color:#333;font-weight:500;text-decoration:none}.navbar-username{color:#555;font-size:14px}.navbar-register-btn{background:#4f46e5;border-radius:6px;padding:8px 18px;color:#fff!important}.navbar-logout-btn{color:#fff;cursor:pointer;background:#ef4444;border:none;border-radius:6px;padding:8px 18px;font-weight:500}.landing{color:#0f172a;background:#f8fafc;min-height:100vh}.navbar{background:#fff;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;height:72px;padding:0 7%;display:flex}.logo{font-size:24px;font-weight:800}.logo span{color:#2563eb}.nav-links{align-items:center;gap:25px;display:flex}.nav-links a{color:#334155;font-weight:600;text-decoration:none}.nav-button{background:#2563eb;border-radius:8px;padding:10px 18px;color:#fff!important}.hero{justify-content:space-between;align-items:center;gap:60px;padding:90px 7%;display:flex}.hero-content{max-width:650px}.badge{color:#1d4ed8;background:#dbeafe;border-radius:20px;padding:8px 14px;font-size:14px;font-weight:600;display:inline-block}.hero h1{margin:25px 0;font-size:56px;line-height:1.1}.hero h1 span{color:#2563eb}.hero p{color:#64748b;font-size:18px;line-height:1.7}.hero-buttons{gap:15px;margin-top:30px;display:flex}.primary-btn,.secondary-btn{border-radius:9px;padding:14px 22px;font-weight:700;text-decoration:none}.primary-btn{color:#fff;background:#2563eb}.secondary-btn{color:#2563eb;background:#fff;border:1px solid #2563eb}.hero-card{background:#fff;border-radius:18px;width:380px;padding:25px;box-shadow:0 20px 50px #0f172a1f}.card-header{margin-bottom:20px;font-size:18px;font-weight:700}.complaint-text{color:#475569;background:#f1f5f9;border-radius:10px;padding:15px;line-height:1.5}.analysis{gap:15px;margin-top:20px;display:grid}.analysis div{justify-content:space-between;display:flex}.analysis small{color:#64748b}.analysis strong{color:#0f172a}.analysis .high{color:#dc2626}.features{text-align:center;background:#fff;padding:80px 7%}.features h2,.cta h2{margin-bottom:10px;font-size:38px}.section-text{color:#64748b;margin-bottom:45px}.feature-grid{grid-template-columns:repeat(4,1fr);gap:20px;display:grid}.feature-card{text-align:left;border:1px solid #e2e8f0;border-radius:15px;padding:30px 20px;transition:all .3s}.feature-card:hover{transform:translateY(-5px);box-shadow:0 15px 35px #0f172a1a}.icon{font-size:35px}.feature-card h3{margin-bottom:8px}.feature-card p{color:#64748b;line-height:1.6}.cta{text-align:center;background:#eff6ff;padding:90px 20px}.cta p{color:#64748b;margin-bottom:30px}footer{text-align:center;color:#cbd5e1;background:#0f172a;padding:25px}@media (width<=900px){.hero{text-align:center;flex-direction:column}.hero-buttons{justify-content:center}.feature-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=600px){.navbar{padding:0 20px}.hero{padding:60px 20px}.hero h1{font-size:40px}.hero-card{width:auto}.feature-grid{grid-template-columns:1fr}.nav-links a:first-child{display:none}}.auth-page{background:#f8fafc;justify-content:center;align-items:center;min-height:100vh;padding:30px;display:flex}.auth-card{background:#fff;border-radius:18px;width:100%;max-width:450px;padding:40px;box-shadow:0 20px 50px #0f172a1a}.auth-logo{text-align:center;margin-bottom:30px;font-size:25px;font-weight:800}.auth-logo span{color:#2563eb}.auth-card h1{text-align:center;color:#0f172a;margin-bottom:8px}.auth-subtitle{text-align:center;color:#64748b;margin-bottom:30px;line-height:1.5}.form-options{justify-content:space-between;align-items:center;margin-bottom:25px;font-size:14px;display:flex}.remember{color:#475569;align-items:center;gap:6px;display:flex}.form-options a{color:#2563eb;text-decoration:none}.auth-button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;width:100%;padding:14px;font-size:16px;font-weight:700;transition:all .2s}.auth-button:hover{background:#1d4ed8}.auth-divider{color:#94a3b8;align-items:center;gap:10px;margin:25px 0;display:flex}.auth-divider:before,.auth-divider:after{content:"";background:#e2e8f0;flex:1;height:1px}.register-text{text-align:center;color:#64748b}.register-text a{color:#2563eb;font-weight:700;text-decoration:none}.back-home:hover{color:#2563eb}@media (width<=500px){.auth-page{padding:15px}.auth-card{padding:25px 20px}}.register-page{background:#f8fafc;justify-content:center;align-items:center;min-height:100vh;padding:30px;display:flex}.register-card{background:#fff;border-radius:18px;width:100%;max-width:520px;padding:40px;box-shadow:0 20px 50px #0f172a1a}.register-logo{text-align:center;margin-bottom:25px;font-size:25px;font-weight:800}.register-logo span{color:#2563eb}.register-card h1{text-align:center;margin-bottom:8px}.register-subtitle{text-align:center;color:#64748b;margin-bottom:30px}.form-row{grid-template-columns:1fr 1fr;gap:15px;display:grid}.form-group{margin-bottom:20px}.form-group label{color:#334155;margin-bottom:7px;font-weight:600;display:block}.form-group input{box-sizing:border-box;border:1px solid #cbd5e1;border-radius:8px;outline:none;width:100%;padding:13px 14px;font-size:15px}.form-group input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.register-button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;width:100%;padding:14px;font-size:16px;font-weight:700}.register-button:hover{background:#1d4ed8}.login-text{text-align:center;color:#64748b;margin-top:25px}.login-text a{color:#2563eb;font-weight:700;text-decoration:none}.back-home{text-align:center;color:#64748b;margin-top:20px;font-size:14px;text-decoration:none;display:block}@media (width<=600px){.register-page{padding:15px}.register-card{padding:25px 20px}.form-row{grid-template-columns:1fr}}.dashboard-page{background:#f5f6fa;min-height:100vh;padding:32px 40px}.dashboard-header{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.new-complaint-btn{color:#fff;background:#4f46e5;border-radius:6px;padding:10px 18px;font-weight:500;text-decoration:none}.dashboard-filters{flex-wrap:wrap;gap:12px;margin-bottom:20px;display:flex}.filter-search{border:1px solid #ddd;border-radius:6px;flex:1;min-width:200px;padding:10px 12px;font-size:14px}.dashboard-filters select{background:#fff;border:1px solid #ddd;border-radius:6px;padding:10px 12px;font-size:14px}.complaints-list{flex-direction:column;gap:16px;display:flex}.complaint-card{color:inherit;background:#fff;border-radius:10px;padding:20px;text-decoration:none;transition:transform .15s,box-shadow .15s;display:block;box-shadow:0 2px 8px #0000000f}.complaint-card:hover{transform:translateY(-2px);box-shadow:0 4px 14px #0000001a}.complaint-card-top{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.complaint-card-top h3{margin:0}.status-badge{color:#fff;border-radius:20px;padding:4px 12px;font-size:12px;font-weight:600}.complaint-description{color:#555;margin-bottom:12px}.complaint-meta{color:#777;flex-wrap:wrap;gap:20px;font-size:13px;display:flex}.complaint-remarks{color:#444;border-top:1px solid #eee;margin-top:12px;padding-top:12px;font-size:14px}.create-complaint-page{background:#f5f6fa;justify-content:center;min-height:100vh;padding:40px 20px;display:flex}.create-complaint-card{background:#fff;border-radius:12px;width:100%;max-width:560px;padding:32px;box-shadow:0 4px 20px #00000014}.create-complaint-card h1{margin-bottom:8px}.create-complaint-subtitle{color:#666;margin-bottom:24px}.form-group{flex-direction:column;flex:1;margin-bottom:16px;display:flex}.form-row{gap:16px;display:flex}.form-group input,.form-group textarea,.form-group select{border:1px solid #ddd;border-radius:6px;padding:10px 12px;font-size:14px}.use-location-btn{color:#4f46e5;cursor:pointer;background:#eef2ff;border:1px solid #c7d2fe;border-radius:6px;margin-bottom:16px;padding:8px 14px;font-size:14px}.submit-complaint-btn{color:#fff;cursor:pointer;background:#4f46e5;border:none;border-radius:6px;width:100%;padding:12px;font-size:16px}.submit-complaint-btn:disabled{opacity:.7;cursor:not-allowed}.uploading-text{color:#4f46e5;margin-top:6px;font-size:13px}.image-preview-grid{flex-wrap:wrap;gap:10px;margin-top:10px;display:flex}.image-preview-item{width:80px;height:80px;position:relative}.image-preview-item img{object-fit:cover;border:1px solid #ddd;border-radius:8px;width:100%;height:100%}.remove-image-btn{color:#fff;cursor:pointer;background:#ef4444;border:none;border-radius:50%;width:20px;height:20px;font-size:11px;line-height:1;position:absolute;top:-6px;right:-6px}.details-page{background:#f5f6fa;min-height:100vh;padding:32px 40px}.back-link{color:#4f46e5;margin-bottom:20px;font-weight:500;text-decoration:none;display:inline-block}.details-card{background:#fff;border-radius:12px;max-width:800px;padding:32px;box-shadow:0 2px 10px #0000000f}.details-top{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.tracking-id{color:#666;margin-top:4px;margin-bottom:20px}.details-section{margin-bottom:20px}.details-section h3{color:#333;margin-bottom:6px;font-size:15px}.details-grid{background:#f9fafb;border-radius:8px;grid-template-columns:repeat(2,1fr);gap:16px;margin-bottom:20px;padding:16px;display:grid}.details-grid h4{color:#888;text-transform:uppercase;margin:0 0 4px;font-size:13px}.details-grid p{color:#222;margin:0;font-weight:500}.remarks-box{background:#eef2ff;border-radius:8px;padding:16px}.image-grid{flex-wrap:wrap;gap:12px;display:flex}.complaint-image{object-fit:cover;border-radius:8px;width:140px;height:140px}.track-page{background:#f5f6fa;justify-content:center;min-height:100vh;padding:40px 20px;display:flex}.track-card{background:#fff;border-radius:12px;width:100%;max-width:560px;padding:32px;box-shadow:0 4px 20px #00000014}.track-subtitle{color:#666;margin-bottom:20px}.track-form{gap:10px;margin-bottom:16px;display:flex}.track-form input{border:1px solid #ddd;border-radius:6px;flex:1;padding:10px 12px;font-size:14px}.track-form button{color:#fff;cursor:pointer;background:#4f46e5;border:none;border-radius:6px;padding:10px 20px;font-weight:500}.track-form button:disabled{opacity:.7;cursor:not-allowed}.track-result{border-top:1px solid #eee;margin-top:20px;padding-top:20px}.track-result-top{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.track-description{color:#555;margin:10px 0}.track-meta{color:#777;gap:16px;margin-bottom:10px;font-size:13px;display:flex}.track-department{color:#444;font-size:14px}.track-remarks{background:#eef2ff;border-radius:8px;margin-top:12px;padding:12px;font-size:14px}.admin-page{background:#f5f6fa;justify-content:center;min-height:100vh;padding:40px 20px;display:flex}.admin-card{background:#fff;border-radius:12px;width:100%;max-width:480px;padding:32px;box-shadow:0 4px 20px #00000014}.admin-subtitle{color:#666;margin-bottom:24px}.form-group{flex-direction:column;margin-bottom:16px;display:flex}.form-group label{color:#333;margin-bottom:6px;font-weight:500}.form-group input,.form-group select{border:1px solid #ddd;border-radius:6px;padding:10px 12px;font-size:14px}.admin-card button[type=submit]{color:#fff;cursor:pointer;background:#4f46e5;border:none;border-radius:6px;width:100%;padding:12px;font-size:16px}.admin-card button[type=submit]:disabled{opacity:.7;cursor:not-allowed}.success-message{color:#16a34a;margin-bottom:12px}.dept-dashboard-page{background:#f5f6fa;min-height:100vh;padding:32px 40px}.dept-dashboard-header{margin-bottom:24px}.dept-dashboard-header p{color:#666}.empty-state{text-align:center;color:#666;background:#fff;border-radius:10px;padding:40px}.dept-complaints-list{flex-direction:column;gap:16px;display:flex}.dept-complaint-card{background:#fff;border-radius:10px;padding:20px;box-shadow:0 2px 8px #0000000f}.dept-card-top{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:8px;display:flex}.dept-card-top h3{margin:0 0 4px}.dept-tracking-id{color:#888;margin:0;font-size:13px}.status-badge{color:#fff;white-space:nowrap;border-radius:20px;padding:4px 12px;font-size:12px;font-weight:600}.dept-description{color:#555;margin-bottom:8px}.dept-address{color:#777;margin-bottom:12px;font-size:13px}.dept-existing-remarks{background:#f9fafb;border-radius:6px;margin-bottom:12px;padding:10px;font-size:14px}.dept-update-form{border-top:1px solid #eee;flex-direction:column;gap:12px;padding-top:14px;display:flex}.dept-form-row{flex-direction:column;gap:4px;display:flex}.dept-form-row label{color:#444;font-size:13px;font-weight:500}.dept-form-row select,.dept-form-row textarea{border:1px solid #ddd;border-radius:6px;padding:8px 10px;font-size:14px}.dept-update-btn{color:#fff;cursor:pointer;background:#4f46e5;border:none;border-radius:6px;align-self:flex-start;padding:8px 20px;font-weight:500}.dept-update-btn:disabled{opacity:.7;cursor:not-allowed}.dept-success-text{color:#16a34a;margin-left:8px;font-size:13px;font-weight:500}.error-message{color:#ef4444}.ai-page{background:#f5f6fa;justify-content:center;min-height:100vh;padding:32px 20px;display:flex}.ai-card{background:#fff;border-radius:12px;flex-direction:column;width:100%;max-width:640px;padding:24px;display:flex;box-shadow:0 4px 20px #00000014}.ai-header h1{margin:0 0 4px;font-size:22px}.ai-header p{color:#666;margin:0 0 16px}.ai-chat-window{background:#fafafa;border:1px solid #eee;border-radius:10px;flex-direction:column;gap:10px;height:380px;margin-bottom:12px;padding:16px;display:flex;overflow-y:auto}.ai-bubble-row{display:flex}.user-row{justify-content:flex-end}.model-row{justify-content:flex-start}.ai-bubble{border-radius:14px;max-width:75%;padding:10px 14px;font-size:14px;line-height:1.4}.user-bubble{color:#fff;background:#4f46e5;border-bottom-right-radius:4px}.model-bubble{color:#333;background:#eef2ff;border-bottom-left-radius:4px}.typing{color:#888;font-style:italic}.ai-input-row{gap:8px;margin-bottom:12px;display:flex}.ai-input-row input{border:1px solid #ddd;border-radius:6px;flex:1;padding:10px 12px;font-size:14px}.ai-input-row button{color:#fff;cursor:pointer;background:#4f46e5;border:none;border-radius:6px;padding:10px 18px;font-weight:500}.ai-input-row button:disabled{opacity:.7;cursor:not-allowed}.ai-generate-btn{color:#fff;cursor:pointer;background:#16a34a;border:none;border-radius:6px;width:100%;padding:10px;font-weight:500}.ai-generate-btn:disabled{opacity:.7;cursor:not-allowed}.ai-draft-card{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:10px;margin-top:16px;padding:16px}.ai-draft-card h3{margin-top:0}.ai-use-btn{color:#fff;cursor:pointer;background:#4f46e5;border:none;border-radius:6px;margin-top:10px;padding:10px 18px;font-weight:500}.error-message{color:#ef4444;margin-bottom:10px}
