:root {
    --bg-dark: #0f111a;
    --bg-darker: #090a0f;
    --primary: #4F46E5;
    --primary-hover: #4338CA;
    --text-main: #f3f4f6;
    --text-muted: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --brand-green: #15b500;
    --danger: #ef4444;
    --success: #10b981;
    --font-family: 'Inter', sans-serif;
}

.brand-logo {
    color: var(--brand-green);
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 0 0 15px rgba(21, 181, 0, 0.4);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-family);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Custom Scrollbar Styling (Global & Modals) */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    border: 2px solid transparent;
    background-clip: content-box;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--primary);
    background-clip: content-box;
}

/* Force custom scrollbar on all scrollable containers */
.main-content, .modal-content, .supergroups-list, .sidebar-nav, .data-table {
    scrollbar-width: thin;
}

.hidden { display: none !important; }

/* Backgrounds */
.gradient-bg {
    background: radial-gradient(circle at 50% 0%, #1e1b4b 0%, var(--bg-dark) 60%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
.dark-bg {
    background-color: var(--bg-darker);
    display: flex;
    min-height: 100vh;
}

/* Glass & Panels */
.glass-container, .glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.login-box {
    width: 100%;
    max-width: 400px;
    padding: 40px;
    text-align: center;
    animation: fadeIn 0.6s ease-out;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #818cf8, #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.subtitle {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 30px;
}

/* Forms */
.input-group {
    margin-bottom: 20px;
    text-align: left;
}
.input-group label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-weight: 500;
}
.input-group input, .input-group textarea {
    width: 100%;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 12px 14px;
    color: var(--text-main);
    font-family: var(--font-family);
    transition: all 0.2s ease;
    font-size: 14px;
}
.input-group input:focus, .input-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0,0,0,0.4);
}

.btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-family: var(--font-family);
}
.primary-btn {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}
.primary-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}
.secondary-btn {
    background: rgba(255,255,255,0.05);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}
.secondary-btn:hover { background: rgba(255,255,255,0.1); }
.full-width { width: 100%; }
.text-danger { color: var(--danger) !important; }

.error-msg {
    margin-top: 15px;
    color: var(--danger);
    font-size: 13px;
    background: rgba(239, 68, 68, 0.1);
    padding: 10px;
    border-radius: 6px;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.login-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

.login-footer a {
    color: var(--text-muted);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}

.login-footer a:hover {
    color: var(--primary);
}

.redirect-box {
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.redirect-box p {
    font-size: 15px;
    color: var(--text-main);
    font-weight: 500;
}

/* Dashboard Sidebar */
.sidebar {
    width: 280px;
    margin: 20px 10px 20px 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.sidebar.collapsed {
    width: 88px;
}

.sidebar-toggle-btn {
    position: absolute;
    right: -12px;
    top: 45px;
    width: 24px;
    height: 24px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.sidebar.collapsed .sidebar-toggle-btn {
    transform: rotate(180deg);
}

.sidebar-header {
    padding: 24px;
    border-bottom: 1px solid var(--glass-border);
    overflow: hidden;
    white-space: nowrap;
}

.sidebar-header h2 {
    font-size: 18px;
    font-weight: 700;
    transition: opacity 0.3s ease;
}

.sidebar.collapsed .sidebar-header h2,
.sidebar.collapsed .user-badge {
    opacity: 0;
    pointer-events: none;
}

.user-badge {
    display: inline-block;
    margin-top: 8px;
    background: rgba(255,255,255,0.1);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    transition: opacity 0.3s ease;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 16px 12px;
    gap: 8px;
    overflow-x: hidden;
}

.nav-item {
    text-decoration: none;
    color: var(--text-muted);
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    overflow: hidden;
}

.nav-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.nav-text {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.sidebar.collapsed .nav-text {
    opacity: 0;
    transform: translateX(10px);
}

.nav-item:hover, .nav-item.active {
    background: rgba(255,255,255,0.06);
    color: var(--text-main);
}

.nav-item.active {
    background: linear-gradient(90deg, rgba(79, 70, 229, 0.15) 0%, transparent 100%);
    box-shadow: inset 3px 0 0 var(--primary);
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
    margin-left: auto;
    transition: opacity 0.3s ease;
}

.sidebar.collapsed .status-dot {
    opacity: 0;
}

/* Dashboard Main Content */
.main-content {
    flex: 1;
    padding: 30px 40px 30px 10px;
    overflow-y: auto;
}
.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.view h1 {
    font-size: 24px;
    font-weight: 600;
}
.form-panel {
    max-width: 500px;
    padding: 30px;
    margin-top: 20px;
}
.form-instructions {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.5;
}

/* Accounts Grid */
.accounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.account-card {
    position: relative;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    cursor: default; /* Not just clicking the whole card anymore */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.acc-date {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    opacity: 0.6;
}
.account-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.acc-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #818cf8);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    font-weight: 700;
    color: white;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--glass-border);
}
.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.acc-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2px;
}
.status-aktif { color: var(--success); font-weight: 600; }
.status-pasif { color: var(--danger); font-weight: 600; }

/* Premium Membership Styles */
.premium-badge {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    color: #000;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    margin-left: 8px;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}

.premium-status-card {
    background: rgba(251, 191, 36, 0.05);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.premium-status-card.active {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(217, 119, 6, 0.1) 100%);
    border-color: rgba(251, 191, 36, 0.4);
}

.premium-status-card .status-label {
    font-size: 14px;
    color: #fbbf24;
    font-weight: 600;
    margin-bottom: 10px;
}

.premium-status-card .expiry-time {
    font-size: 24px;
    font-weight: 700;
    font-family: monospace;
    color: var(--text-main);
}

.premium-status-card .expiry-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.info-acc-item {
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
}

.info-acc-item:last-child { border-bottom: none; }
.acc-info .username {
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
}
.acc-info .phone {
    font-size: 12px;
    color: var(--text-muted);
}

.last-sent-box {
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
    padding: 12px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.last-sent-box.error {
    border-color: rgba(239, 68, 68, 0.4);
    background: rgba(239, 68, 68, 0.05);
}

.last-sent-box.inactive {
    border-color: rgba(255, 255, 255, 0.05);
    opacity: 0.7;
}
.last-sent-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
}
.last-sent-channel {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.timer-badge {
    font-size: 11px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.acc-actions {
    display: flex;
    gap: 12px;
    margin-top: 5px;
}

.acc-actions .btn {
    flex: 1;
    padding: 12px 8px;
    font-size: 13px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--glass-border);
}

.btn-manage {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(79, 70, 229, 0.2)) !important;
    color: #818cf8 !important;
    border-color: rgba(79, 70, 229, 0.3) !important;
}

.btn-manage:hover {
    background: var(--primary) !important;
    color: white !important;
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.4);
    transform: translateY(-2px) scale(1.02);
}

.btn-stats {
    background: rgba(59, 130, 246, 0.05) !important;
    color: #3b82f6 !important;
    border-color: rgba(59, 130, 246, 0.2) !important;
}

.btn-stats:hover {
    background: #3b82f6 !important;
    color: white !important;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
    transform: translateY(-2px) scale(1.02);
}

.btn-delete {
    background: rgba(239, 68, 68, 0.05) !important;
    color: var(--danger) !important;
    border-color: rgba(239, 68, 68, 0.2) !important;
}

.btn-delete:hover {
    background: var(--danger) !important;
    color: white !important;
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.4);
    transform: translateY(-2px) scale(1.02);
}

.acc-actions .btn:active {
    transform: translateY(0) scale(0.96);
}

.btn-icon-inside {
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
}

/* Modal */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    display: flex; justify-content: center; align-items: center;
    z-index: 100;
}
.modal-content {
    width: 100%; max-width: 600px;
    max-height: 90vh; overflow-y: auto;
    position: relative;
    background: #11131c; border: 1px solid var(--glass-border);
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-close {
    position: absolute; top: 20px; right: 24px;
    background: transparent; border: none; color: var(--text-muted);
    font-size: 24px; cursor: pointer;
    transition: color 0.2s;
}
.modal-close:hover { color: var(--text-main); }
.modal-header { padding: 30px; border-bottom: 1px solid var(--glass-border); }
.modal-title-flex { display: flex; align-items: center; gap: 10px; margin-bottom: 6px;}
.status-text { font-size: 14px; margin-bottom: 4px; }
.status-time { font-size: 12px; color: var(--text-muted); }

.modal-body { padding: 30px; }
.panel-section { margin-bottom: 30px; }
.status-badge {
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.status-aktif { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.status-pasif { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.status-checking { 
    background: rgba(59, 130, 246, 0.15); 
    color: #3b82f6;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.panel-section h3 { margin-bottom: 16px; font-size: 16px; color: var(--text-main); display: flex; align-items: center; gap: 10px;}
.badge { background: rgba(255,255,255,0.1); padding: 2px 8px; border-radius: 12px; font-size: 12px;}

.supergroups-list {
    max-height: 180px; overflow-y: auto;
    background: rgba(0,0,0,0.2); border-radius: 8px; border: 1px solid var(--glass-border);
}
.sg-item {
    padding: 10px 16px; font-size: 13px; border-bottom: 1px solid var(--glass-border);
}
.sg-item:last-child { border-bottom: none; }
.sg-item:nth-child(even) { background: rgba(255,255,255,0.02); }

/* Switch Toggle */
.toggle-group { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.switch { position: relative; display: inline-block; width: 44px; height: 24px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(255,255,255,0.1); transition: .4s; border-radius: 24px; border: 1px solid var(--glass-border);}
.slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 2px; bottom: 2px; background-color: var(--text-main); transition: .2s; border-radius: 50%; }
input:checked + .slider { background-color: var(--primary); border-color: var(--primary);}
input:checked + .slider:before { transform: translateX(20px); }

/* Loaders & Animations */
.loader { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.3); border-radius: 50%; border-top-color: #fff; animation: spin 1s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { from { opacity: 0.6; } to { opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* Admin Member List Styles */
.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.data-table th {
    text-align: left;
    padding: 12px 20px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.data-table tr {
    transition: all 0.3s ease;
}

.data-table tbody tr {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
}

.data-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.data-table td {
    padding: 18px 20px;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.data-table td:first-child {
    border-left: 1px solid var(--glass-border);
    border-radius: 12px 0 0 12px;
}

.data-table td:last-child {
    border-right: 1px solid var(--glass-border);
    border-radius: 0 12px 12px 0;
}

.row-premium {
    border-color: rgba(251, 191, 36, 0.2) !important;
    background: rgba(251, 191, 36, 0.03) !important;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 12px 20px;
    border-radius: 10px;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    animation: slideIn 0.3s ease forwards;
    min-width: 250px;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast.success { border-left: 4px solid #10b981; }
.toast.error { border-left: 4px solid #ef4444; }

@keyframes slideIn {
    from { opacity: 0; transform: translateX(100%); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(100%); }
}

/* Modal UI Refinement */
.premium-edit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 100%;
}

.modal-body .panel-section {
    width: 100%;
    margin-bottom: 25px;
}

.full-width-btns {
    display: flex;
    gap: 10px;
    width: 100%;
    justify-content: center;
}

.btn-admin-toggle-acc {
    white-space: nowrap;
}

.role-admin { background: rgba(139, 92, 246, 0.15); color: #a78bfa; }
.role-user { background: rgba(148, 163, 184, 0.1); color: var(--text-muted); }

.id-tag {
    font-family: monospace;
    color: var(--brand-green);
    background: rgba(21, 181, 0, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
}

.btn-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

.btn-icon:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.btn-icon.danger:hover {
    background: var(--danger);
}

/* Profile Page Styles */
.profile-container {
    max-width: 700px;
    margin: 20px auto;
    padding: 30px;
    width: 100%;
}

.profile-header-box {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
    flex-wrap: wrap; /* Prevent overlap on small screens */
}

.profile-info-text {
    flex: 1;
    min-width: 200px;
    overflow: hidden;
}

.profile-avatar-large {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.3);
}

.profile-info-text h2 {
    font-size: 24px;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Handle very long usernames */
}

#p-membership-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

.profile-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.p-detail-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    text-align: center;
}

.p-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.p-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
}

.feature-list {
    list-style: none;
    margin-top: 15px;
}

.feature-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 14px;
}

.brand-colorful {
    background: linear-gradient(135deg, #10b981, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Timeout Timer */
.timeout-timer {
    font-size: 56px;
    font-weight: 900;
    color: #fbbf24;
    font-family: monospace;
    margin: 25px 0;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
}
/* Sidebar Accordion & Tools Styles */
.nav-category {
    margin-bottom: 2px;
}

.nav-category-header {
    cursor: pointer;
    user-select: none;
}

.nav-category-header:hover {
    background: rgba(255, 255, 255, 0.06);
}

.chevron-icon {
    transition: transform 0.3s ease;
    color: var(--text-muted);
    pointer-events: none;
}

.nav-category.open .chevron-icon {
    transform: rotate(180deg);
}

.sidebar-submenu {
    padding-left: 15px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 0;
    opacity: 0;
}

.nav-category.open .sidebar-submenu {
    max-height: 500px; /* Large enough to fit content */
    opacity: 1;
    margin: 4px 0 8px 0;
}
.submenu-item {
    padding: 10px 15px !important;
    font-size: 13px !important;
    background: transparent !important;
    border: none !important;
    opacity: 0.7;
}

.submenu-item:hover {
    opacity: 1;
    color: var(--brand-green) !important;
}
