:root { --brand-green: #a3db59; --brand-dark: #2b2a29; --brand-light: #f6faf7; --text-main: #333333; --text-muted: #777777; --border-color: #eaeaea; }
        body { font-family: 'Poppins', sans-serif; background-color: var(--brand-light); margin: 0; color: var(--text-main); }
        
        .topbar { background: var(--brand-dark); color: white; padding: 15px 40px; display: flex; justify-content: space-between; align-items: center; border-bottom: 4px solid var(--brand-green); box-shadow: 0 4px 10px rgba(0,0,0,0.1); position: relative; z-index: 100;}
        .topbar-left { display: flex; align-items: center; gap: 40px; }
        .topbar h1 { margin: 0; font-size: 22px; font-weight: 700; display: block; line-height: 1.1;}
        .topbar h1 span { font-size: 11px; color: #aaa; font-weight: 400; letter-spacing: 1px; display: block; line-height: 1.2;}
        
        .nav-links { display: flex; gap: 10px; align-items: center; }
        .nav-btn { background: transparent; color: white; border: none; padding: 8px 15px; border-radius: 6px; cursor: pointer; transition: 0.2s; font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 14px; text-decoration: none;}
        .nav-btn:hover { background: rgba(255,255,255,0.1); }
        .nav-btn.active { background: #e0e0e0; color: #333; font-weight: 700;}
        
        .topbar-right { display: flex; align-items: center; gap: 20px; }
        .credit-badge { color: var(--brand-green); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;}
        
        .user-chip { background: rgba(255,255,255,0.1); border-radius: 30px; padding: 5px 20px 5px 5px; display: flex; align-items: center; gap: 12px; cursor: pointer; position: relative; transition: 0.2s; }
        .user-chip:hover { background: rgba(255,255,255,0.15); }
        .user-avatar { background: var(--brand-green); color: var(--brand-dark); width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
        .user-email { font-size: 13px; font-weight: 500; color: white;}
        
        .user-dropdown { position: absolute; right: 0; top: 100%; margin-top: 10px; background: white; border: 1px solid var(--border-color); border-radius: 8px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); display: none; flex-direction: column; min-width: 180px; z-index: 100; overflow: hidden; }
        .user-dropdown a { padding: 12px 20px; text-decoration: none; color: var(--text-main); font-size: 13px; border-bottom: 1px solid #f1f1f1; transition: 0.2s; font-weight: 500;}
        .user-dropdown a:hover { background: #f9f9f9; padding-left: 25px;}
        .user-dropdown a.danger { color: #d93025; border-bottom: none; }
        
        .app-layout { display: flex; min-height: calc(100vh - 72px); }
        .sidebar { width: 260px; background: white; border-right: 1px solid var(--border-color); padding: 30px 20px; box-shadow: 2px 0 10px rgba(0,0,0,0.02); }
        .side-btn { display: flex; align-items: center; gap: 10px; padding: 12px 20px; color: var(--text-main); text-decoration: none; font-weight: 500; font-size: 14px; border-radius: 8px; margin-bottom: 8px; transition: 0.2s; border: 1px solid transparent;}
        .side-btn:hover { background: var(--brand-light); }
        .side-btn.active { background: #eff7e8; color: #49711a; border-color: #d1eab7; font-weight: 600;}
        
        .main-content { flex: 1; padding: 40px; overflow-y: auto; }
        .box { background: white; padding: 40px; border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.04); margin-bottom: 30px;}
        
        .btn { background: var(--brand-green); color: var(--brand-dark); padding: 10px 20px; border: none; border-radius: 8px; cursor: pointer; font-weight: 600; font-size: 13px; text-decoration: none; transition: 0.2s; font-family: 'Poppins', sans-serif;}
        .btn:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(163, 219, 89, 0.4); }
        .btn-outline { background: transparent; border: 1px solid var(--border-color); color: var(--text-main); }
        
        table { width: 100%; border-collapse: separate; border-spacing: 0 6px; text-align: left; }
        thead th { position: sticky; top: 0; background: white; padding: 10px 15px; color: var(--text-muted); font-size: 12px; font-weight: 600; text-transform: uppercase; border-bottom: 1px solid var(--border-color);}
        tbody td { padding: 14px 15px; background: white; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); font-size: 13px; }
        tbody td:first-child { border-left: 1px solid var(--border-color); border-radius: 8px 0 0 8px; }
        tbody td:last-child { border-right: 1px solid var(--border-color); border-radius: 0 8px 8px 0; }
        
        .badge { padding: 4px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; display: inline-block;}
        .bg-green { background: #eff7e8; color: #5c8a24; }
        .bg-blue { background: #e8f0fe; color: #1a73e8; }
        .bg-dark { background: #f1f3f4; color: #3c4043; }
        .bg-red { background: #fdf3f4; color: #d93025; }

        .modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); justify-content: center; align-items: center; z-index: 1000;}
        .modal-content { background: white; padding: 30px; border-radius: 12px; width: 400px; max-width: 90%; }
        .form-group { margin-bottom: 15px; }
        .form-group label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 5px; color: var(--text-muted);}
        .form-group input, .form-group select { width: 100%; padding: 10px; border: 1px solid var(--border-color); border-radius: 6px; font-family: inherit; font-size: 13px; box-sizing: border-box; outline:none;}
        .form-group input:focus, .form-group select:focus { border-color: var(--brand-dark); }
        
        .action-link { color: #1a73e8; text-decoration: none; font-weight: 600; cursor: pointer; margin-right: 10px;}
        .action-link:hover { text-decoration: underline; }

        /* Toggle Switch CSS */
        .switch { position: relative; display: inline-block; width: 44px; height: 24px; margin: 0; }
        .switch input { opacity: 0; width: 0; height: 0; }
        .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .3s; border-radius: 24px; }
        .slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: white; transition: .3s; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
        input:checked + .slider { background-color: var(--brand-green); }
        input:checked + .slider:before { transform: translateX(20px); }