*,:after,:before{box-sizing:border-box;margin:0;padding:0}:root{--accent:#4f46e5;--accent2:#6366f1;--emerald:#10b981;--gold:#f59e0b;--bg:#eef0f4;--bg2:#e8eaef;--surface:#f7f8fa;--surface2:#f1f3f7;--border:#dde1e9;--border2:#e8eaef;--text:#1a1d27;--text-muted:#6b7280;--radius:13px;--shadow:0 1px 2px rgba(0,0,0,0.05),0 3px 12px rgba(0,0,0,0.05);--shadow-md:0 4px 16px rgba(0,0,0,0.08);--shadow-lg:0 8px 32px rgba(0,0,0,0.12)}html{scroll-behavior:smooth}body{font-family:Plus Jakarta Sans,-apple-system,sans-serif;background:var(--bg);color:var(--text);font-size:14px;line-height:1.6;-webkit-font-smoothing:antialiased}::-webkit-scrollbar{width:5px;height:5px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#c8cdd8;border-radius:999px}::-webkit-scrollbar-thumb:hover{background:#a8aebb}input,select,textarea{font-family:Plus Jakarta Sans,sans-serif;font-size:14px}@keyframes fadeUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideIn{0%{opacity:0;transform:translateX(-8px)}to{opacity:1;transform:translateX(0)}}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.stagger>*{opacity:0;animation:fadeUp .35s ease forwards}.stagger>:first-child{animation-delay:.05s}.stagger>:nth-child(2){animation-delay:.1s}.stagger>:nth-child(3){animation-delay:.15s}.stagger>:nth-child(4){animation-delay:.2s}.stagger>:nth-child(5){animation-delay:.25s}.stagger>:nth-child(6){animation-delay:.3s}.stagger>:nth-child(7){animation-delay:.35s}.stagger>:nth-child(8){animation-delay:.4s}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}.badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:700}.table{width:100%;border-collapse:collapse}.table th{padding:10px 14px;text-align:left;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);background:var(--surface2);border-bottom:1px solid var(--border)}.table td{padding:11px 14px;border-bottom:1px solid var(--border2);font-size:13px}.table tr:last-child td{border-bottom:none}.table tr:hover td{background:var(--surface2)}.btn{display:inline-flex;align-items:center;gap:6px;padding:9px 18px;border-radius:10px;font-size:13px;font-weight:700;border:none;cursor:pointer;transition:all .15s;font-family:Plus Jakarta Sans,sans-serif;text-decoration:none;white-space:nowrap}.btn:active{transform:scale(.98)}.btn-primary{background:#1e1b4b;color:white;box-shadow:0 2px 8px rgba(30,27,75,.3)}.btn-primary:hover{box-shadow:0 4px 16px rgba(30,27,75,.4);transform:translateY(-1px)}.btn-accent{background:linear-gradient(135deg,#10b981,#059669);color:white}.btn-accent:hover{filter:brightness(1.05);transform:translateY(-1px)}.btn-ghost{background:transparent;color:var(--text-muted);border:1.5px solid var(--border)}.btn-ghost:hover{background:var(--surface2);color:var(--text)}.btn-danger{background:#fef2f2;color:#dc2626;border:1.5px solid #fecaca}.btn-danger:hover{background:#fee2e2}.form-group{display:flex;flex-direction:column;gap:5px}.form-label{font-size:11px;font-weight:700;color:#475569;text-transform:uppercase;letter-spacing:.07em}.form-input{padding:10px 13px;border-radius:10px;border:1.5px solid var(--border);font-size:14px;background:var(--surface);color:var(--text);transition:border-color .15s,box-shadow .15s;width:100%}.form-input:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(79,70,229,.1);outline:none}.page-title{font-size:28px;font-weight:800;color:var(--text);letter-spacing:-.02em}.page-subtitle{font-size:13px;color:var(--text-muted)}.status-active{background:#d1fae5;color:#065f46}.status-inactive{background:#f1f5f9;color:#64748b}.status-pending{background:#fef3c7;color:#92400e}.status-paid{background:#d1fae5;color:#065f46}.status-unpaid{background:#fee2e2;color:#991b1b}@media(max-width:768px){.hide-mobile{display:none!important}}@media print{body{background:white}.no-print{display:none!important}}.fade-in{animation:fadeIn .2s ease-out}html.dark-mode{color-scheme:dark}html.dark-mode body{background:var(--bg);color:var(--text)}html.dark-mode [style*="background-color: #fff"],html.dark-mode [style*="background-color: #ffffff"],html.dark-mode [style*="background-color: white"],html.dark-mode [style*="background-color:#fff"],html.dark-mode [style*="background-color:#ffffff"],html.dark-mode [style*="background-color:white"],html.dark-mode [style*="background: #eef0f4"],html.dark-mode [style*="background: #f1f5f9"],html.dark-mode [style*="background: #f3f4f6"],html.dark-mode [style*="background: #f7f8fa"],html.dark-mode [style*="background: #f8f7ff"],html.dark-mode [style*="background: #f8f8ff"],html.dark-mode [style*="background: #f8fafc"],html.dark-mode [style*="background: #f9fafb"],html.dark-mode [style*="background: #fafafa"],html.dark-mode [style*="background: #fff"],html.dark-mode [style*="background: #ffffff"],html.dark-mode [style*="background: white"],html.dark-mode [style*="background:#eef0f4"],html.dark-mode [style*="background:#f1f5f9"],html.dark-mode [style*="background:#f3f4f6"],html.dark-mode [style*="background:#f7f8fa"],html.dark-mode [style*="background:#f8f7ff"],html.dark-mode [style*="background:#f8f8ff"],html.dark-mode [style*="background:#f8fafc"],html.dark-mode [style*="background:#f9fafb"],html.dark-mode [style*="background:#fafafa"],html.dark-mode [style*="background:#fff"],html.dark-mode [style*="background:#ffffff"],html.dark-mode [style*="background:white"]{background:var(--surface)!important;border-color:var(--border)!important}html.dark-mode [style*="background: rgba(248,"],html.dark-mode [style*="background: rgba(255, 255, 255"],html.dark-mode [style*="background:rgba(248,"],html.dark-mode [style*="background:rgba(255,255,255"]{background:var(--surface)!important}html.dark-mode [style*="background: #fee2e2"],html.dark-mode [style*="background: #fef2f2"],html.dark-mode [style*="background: #fef9f9"],html.dark-mode [style*="background:#fee2e2"],html.dark-mode [style*="background:#fef2f2"],html.dark-mode [style*="background:#fef9f9"]{background:rgba(220,38,38,.15)!important}html.dark-mode [style*="background: #d1fae5"],html.dark-mode [style*="background: #dcfce7"],html.dark-mode [style*="background: #ecfdf5"],html.dark-mode [style*="background: #f0fdf4"],html.dark-mode [style*="background:#d1fae5"],html.dark-mode [style*="background:#dcfce7"],html.dark-mode [style*="background:#ecfdf5"],html.dark-mode [style*="background:#f0fdf4"]{background:rgba(16,185,129,.15)!important}html.dark-mode [style*="background: #eef2ff"],html.dark-mode [style*="background: #f0f0ff"],html.dark-mode [style*="background: #fafbff"],html.dark-mode [style*="background:#eef2ff"],html.dark-mode [style*="background:#f0f0ff"],html.dark-mode [style*="background:#fafbff"]{background:rgba(99,102,241,.18)!important}html.dark-mode [style*="background: #fef3c7"],html.dark-mode [style*="background: #fef9c3"],html.dark-mode [style*="background: #fffbeb"],html.dark-mode [style*="background:#fef3c7"],html.dark-mode [style*="background:#fef9c3"],html.dark-mode [style*="background:#fffbeb"]{background:rgba(217,119,6,.18)!important}html.dark-mode [style*="background: #eff6ff"],html.dark-mode [style*="background:#eff6ff"]{background:rgba(37,99,235,.18)!important}html.dark-mode [style*="color: #0f172a"],html.dark-mode [style*="color: #111827"],html.dark-mode [style*="color: #1a1d27"],html.dark-mode [style*="color: #1f2937"],html.dark-mode [style*="color: #374151"],html.dark-mode [style*="color:#0f172a"],html.dark-mode [style*="color:#111827"],html.dark-mode [style*="color:#1a1d27"],html.dark-mode [style*="color:#1f2937"],html.dark-mode [style*="color:#374151"]{color:var(--text)!important}html.dark-mode [style*="color: #64748b"],html.dark-mode [style*="color: #6b7280"],html.dark-mode [style*="color: #94a3b8"],html.dark-mode [style*="color: #9ca3af"],html.dark-mode [style*="color:#64748b"],html.dark-mode [style*="color:#6b7280"],html.dark-mode [style*="color:#94a3b8"],html.dark-mode [style*="color:#9ca3af"]{color:var(--text-muted)!important}html.dark-mode [style*="border-bottom: 1px solid #e2e8f0"],html.dark-mode [style*="border-bottom: 1px solid #f1f5f9"],html.dark-mode [style*="border-bottom:1px solid #e2e8f0"],html.dark-mode [style*="border-bottom:1px solid #f1f5f9"],html.dark-mode [style*="border: 1.5px solid #e2e8f0"],html.dark-mode [style*="border: 1.5px solid #e5e7eb"],html.dark-mode [style*="border: 1px solid #e2e8f0"],html.dark-mode [style*="border: 1px solid #e5e7eb"],html.dark-mode [style*="border:1.5px solid #e2e8f0"],html.dark-mode [style*="border:1.5px solid #e5e7eb"],html.dark-mode [style*="border:1px solid #e2e8f0"],html.dark-mode [style*="border:1px solid #e5e7eb"],html.dark-mode [style*="borderBottom: 1px solid #e2e8f0"],html.dark-mode [style*="borderBottom:1px solid #e2e8f0"]{border-color:var(--border)!important}html.dark-mode input,html.dark-mode select,html.dark-mode textarea{background:var(--surface)!important;color:var(--text)!important;border-color:var(--border)!important;color-scheme:dark}html.dark-mode input::-moz-placeholder,html.dark-mode textarea::-moz-placeholder{color:#6b7280!important}html.dark-mode input::placeholder,html.dark-mode textarea::placeholder{color:#6b7280!important}html.dark-mode [style*="background: #f8fafc"]:is(th),html.dark-mode [style*="background: #f9fafb"]:is(th),html.dark-mode table th{background:var(--surface2)!important;color:var(--text-muted)!important;border-color:var(--border)!important}html.dark-mode table td{border-color:var(--border)!important;color:var(--text)!important}html.dark-mode table tr:hover td{background:var(--surface2)!important}html.dark-mode .card{background:var(--surface)!important;border-color:var(--border)!important}html.dark-mode .status-inactive{background:#1e293b;color:#94a3b8}html.dark-mode ::-webkit-scrollbar-thumb{background:#2e3148}html.dark-mode ::-webkit-scrollbar-thumb:hover{background:#3d4166}html.dark-mode .form-input:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(99,102,241,.2)}html.dark-mode [style*="position: absolute"][style*="background: white"],html.dark-mode [style*="position: fixed"][style*="background: white"]{background:var(--surface)!important;border-color:var(--border)!important;box-shadow:0 8px 32px rgba(0,0,0,.4)!important}html.dark-mode [style*="position: fixed"][style*="background: rgba(0,0,0"]{background:rgba(0,0,0,.65)!important}@media (max-width:768px){.sidebar{position:fixed!important;left:-280px!important;z-index:999!important;transition:left .3s ease!important}.sidebar.open{left:0!important}.main-content{margin-left:0!important;width:100%!important}table{display:block;overflow-x:auto;white-space:nowrap}.responsive-grid{grid-template-columns:1fr!important}.page-content{padding:16px!important}}@media (max-width:480px){h1{font-size:20px!important}button{font-size:12px!important}}@media print{.no-print{display:none!important}body{background:white!important}*{color:black!important}a{text-decoration:none!important}}