<style>
        * { margin: 0; padding: 0; box-sizing: border-box; }
        
        :root {
            --bg-dark: #0a0a0a;
            --bg-card: #141414;
            --bg-hover: #1a1a1a;
            --border: #2a2a2a;
            --text-primary: #ffffff;
            --text-secondary: #888888;
            --accent: #ffffff;
            --accent-dim: #cccccc;
            --primary: #f59e0b;
            --success: #f59e0b;
            --error: #ef4444;
            --warning: #f59e0b;
            --card-bg: #141414;
            --text: #ffffff;
            --input-bg: #1a1a1a;
        }
        
        /* ========== Fancy Search Input (amber theme) ========== */
        .fancy-search-wrap {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .fancy-search-wrap .fs-glow,
        .fancy-search-wrap .fs-border,
        .fancy-search-wrap .fs-darkBg,
        .fancy-search-wrap .fs-white {
            max-height: 42px;
            max-width: 204px;
            height: 100%;
            width: 100%;
            position: absolute;
            overflow: hidden;
            z-index: -1;
            border-radius: 8px;
            filter: blur(3px);
        }
        .fancy-search-wrap .fs-white {
            max-height: 38px;
            max-width: 198px;
            border-radius: 7px;
            filter: blur(2px);
        }
        .fancy-search-wrap .fs-white::before {
            content: "";
            z-index: -2;
            top: 50%;
            left: 50%;
            position: absolute;
            width: 400px;
            height: 400px;
            background-repeat: no-repeat;
            filter: brightness(1.4);
            background-image: conic-gradient(
                rgba(0,0,0,0) 0%,
                #fcd34d,
                rgba(0,0,0,0) 8%,
                rgba(0,0,0,0) 50%,
                #fb923c,
                rgba(0,0,0,0) 58%
            );
            animation: fs-spin-white 5s linear infinite;
        }
        .fancy-search-wrap .fs-border {
            max-height: 36px;
            max-width: 196px;
            border-radius: 7px;
            filter: blur(0.5px);
        }
        .fancy-search-wrap .fs-border::before {
            content: "";
            z-index: -2;
            top: 50%;
            left: 50%;
            position: absolute;
            width: 400px;
            height: 400px;
            filter: brightness(1.3);
            background-repeat: no-repeat;
            background-image: conic-gradient(
                #1c191c,
                #b45309 5%,
                #1c191c 14%,
                #1c191c 50%,
                #f59e0b 60%,
                #1c191c 64%
            );
            animation: fs-spin-border 7s linear infinite;
        }
        .fancy-search-wrap .fs-darkBg {
            max-height: 40px;
            max-width: 202px;
        }
        .fancy-search-wrap .fs-darkBg::before {
            content: "";
            z-index: -2;
            top: 50%;
            left: 50%;
            position: absolute;
            width: 400px;
            height: 400px;
            background-repeat: no-repeat;
            background-image: conic-gradient(
                rgba(0,0,0,0),
                #78350f,
                rgba(0,0,0,0) 10%,
                rgba(0,0,0,0) 50%,
                #92400e,
                rgba(0,0,0,0) 60%
            );
            animation: fs-spin-darkbg 8s linear infinite;
        }
        .fancy-search-wrap .fs-glow {
            overflow: hidden;
            filter: blur(20px);
            opacity: 0.4;
            max-height: 80px;
            max-width: 230px;
        }
        .fancy-search-wrap .fs-glow::before {
            content: "";
            z-index: -2;
            top: 50%;
            left: 50%;
            position: absolute;
            width: 500px;
            height: 500px;
            background-repeat: no-repeat;
            background-image: conic-gradient(
                #000,
                #b45309 5%,
                #000 38%,
                #000 50%,
                #f59e0b 60%,
                #000 87%
            );
            animation: fs-spin-glow 6s linear infinite;
        }
        @keyframes fs-spin-white {
            from { transform: translate(-50%, -50%) rotate(0deg); }
            to   { transform: translate(-50%, -50%) rotate(360deg); }
        }
        @keyframes fs-spin-border {
            from { transform: translate(-50%, -50%) rotate(0deg); }
            to   { transform: translate(-50%, -50%) rotate(-360deg); }
        }
        @keyframes fs-spin-darkbg {
            from { transform: translate(-50%, -50%) rotate(0deg); }
            to   { transform: translate(-50%, -50%) rotate(360deg); }
        }
        @keyframes fs-spin-glow {
            from { transform: translate(-50%, -50%) rotate(0deg); }
            to   { transform: translate(-50%, -50%) rotate(-360deg); }
        }
        .fancy-search-main {
            position: relative;
        }
        .fancy-search-input {
            background-color: #010201;
            border: none;
            width: 190px;
            height: 34px;
            border-radius: 6px;
            color: white;
            padding: 0 12px 0 36px;
            font-size: 0.8rem;
        }
        .fancy-search-input::placeholder { color: #a0a0a0; }
        .fancy-search-input:focus { outline: none; }
        .fancy-search-icon {
            position: absolute;
            left: 10px;
            top: 50%;
            transform: translateY(-50%);
            pointer-events: none;
        }
        .fancy-search-icon svg {
            width: 16px;
            height: 16px;
        }
        /* ========== End Fancy Search ========== */

        /* Global select styling for dark theme */
        select {
            background-color: var(--input-bg) !important;
            color: var(--text) !important;
        }
        
        select option {
            background-color: #1a1a1a !important;
            color: #ffffff !important;
            padding: 8px 12px;
        }
        
        select option:hover,
        select option:checked {
            background-color: #f59e0b !important;
            color: #000000 !important;
        }
        
        /* Global table spacing overrides */
        table th {
            padding: 12px 14px !important;
            font-size: 0.8rem !important;
        }
        
        table td {
            padding: 12px 14px !important;
        }
        
        table tr {
            transition: background 0.15s;
        }
        
        table tbody tr:hover {
            background: var(--bg-hover);
        }
        
        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background: var(--bg-dark);
            min-height: 100vh;
            color: var(--text-primary);
            font-size: 14px;
            line-height: 1.4;
        }
        
        /* Header */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 56px;
            background: var(--bg-card);
            border-bottom: 1px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 32px;
            z-index: 100;
        }
        
        .header-left {
            display: flex;
            align-items: center;
            gap: 40px;
        }
        
        .logo {
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--text-primary);
            text-decoration: none;
            letter-spacing: -0.5px;
        }
        
        .logo span {
            color: var(--text-secondary);
            font-weight: 400;
        }
        
        .nav {
            display: flex;
            gap: 8px;
        }
        
        .nav-link {
            padding: 8px 16px;
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 0.85rem;
            font-weight: 500;
            border-radius: 6px;
            transition: all 0.2s;
        }
        
        .nav-link:hover {
            color: var(--text-primary);
            background: var(--bg-hover);
        }
        
        .nav-link.active {
            color: var(--text-primary);
            background: var(--bg-hover);
        }
        
        .header-right {
            display: flex;
            align-items: center;
            gap: 16px;
        }
        
        .user-menu {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 6px 12px;
            background: var(--bg-hover);
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .user-menu:hover {
            background: var(--border);
        }
        
        .user-email {
            font-size: 0.8rem;
            color: var(--text-primary);
        }
        
        .user-avatar {
            width: 28px;
            height: 28px;
            background: var(--border);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            color: var(--text-secondary);
        }
        
        .dropdown {
            position: relative;
        }
        
        .dropdown-menu {
            position: absolute;
            top: 100%;
            right: 0;
            margin-top: 8px;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 8px;
            min-width: 160px;
            display: none;
        }
        
        .dropdown-menu.show {
            display: block;
        }
        
        .dropdown-item {
            display: block;
            padding: 10px 16px;
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 0.9rem;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.15s;
        }
        
        .dropdown-item:hover {
            color: var(--text-primary);
            background: var(--bg-hover);
        }
        
        /* Auth buttons in header */
        .auth-buttons {
            display: flex;
            gap: 10px;
        }
        
        .btn-login {
            padding: 8px 18px;
            background: transparent;
            border: 1px solid var(--border);
            color: var(--text-primary);
            font-size: 0.8rem;
            font-weight: 500;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .btn-login:hover {
            background: var(--bg-hover);
            border-color: var(--text-secondary);
        }
        
        .btn-register {
            padding: 8px 18px;
            background: var(--text-primary);
            border: none;
            color: var(--bg-dark);
            font-size: 0.8rem;
            font-weight: 600;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .btn-register:hover {
            background: var(--accent-dim);
        }
        
        /* Main content */
        .main {
            padding-top: 56px;
            min-height: 100vh;
        }
        
        .container {
            max-width: 1100px;
            margin: 0 auto;
            padding: 32px;
        }
        
        /* Landing page */
        .hero {
            text-align: center;
            padding: 80px 0;
        }
        
        .hero h1 {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 20px;
            letter-spacing: -1px;
        }
        
        .hero p {
            font-size: 1.2rem;
            color: var(--text-secondary);
            max-width: 500px;
            margin: 0 auto 40px;
        }
        
        .features-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
            margin-top: 60px;
        }
        
        .feature-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 32px;
            transition: all 0.2s;
        }
        
        .feature-card:hover {
            border-color: var(--text-secondary);
            transform: translateY(-2px);
        }
        
        .overview-card:hover {
            border-color: var(--primary);
            transform: translateY(-3px);
            box-shadow: 0 8px 24px rgba(245, 158, 11, 0.15);
        }
        
        details[open] summary span:first-child {
            transform: rotate(90deg);
        }
        details summary span:first-child {
            display: inline-block;
            transition: transform 0.2s;
        }
        
        .feature-icon {
            font-size: 2.5rem;
            margin-bottom: 20px;
        }
        
        .feature-card h3 {
            font-size: 1.2rem;
            margin-bottom: 10px;
        }
        
        .feature-card p {
            color: var(--text-secondary);
            font-size: 0.95rem;
            line-height: 1.5;
        }
        
        .badge {
            display: inline-block;
            padding: 4px 10px;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: 600;
            margin-top: 16px;
        }
        
        .badge-active {
            background: rgba(255,255,255,0.1);
            color: var(--text-primary);
        }
        
        .badge-soon {
            background: rgba(255,255,255,0.05);
            color: var(--text-secondary);
        }
        
        .badge-new {
            background: var(--primary);
            color: #000;
        }
        
        .badge-dev {
            background: rgba(128,128,128,0.3);
            color: #888;
        }
        
        .disabled-feature {
            opacity: 0.5;
            cursor: not-allowed !important;
            pointer-events: auto;
        }
        .disabled-feature:hover {
            background: transparent !important;
        }
        
        /* Group Warmer Tabs */
        .group-tab {
            flex: 1;
            padding: 8px 12px;
            background: transparent;
            border: none;
            border-radius: 6px;
            color: var(--text-secondary);
            font-size: 0.8rem;
            cursor: pointer;
            transition: all 0.15s;
        }
        .group-tab:hover {
            background: var(--bg-hover);
            color: var(--text);
        }
        .group-tab.active {
            background: var(--primary);
            color: #000;
            font-weight: 600;
        }
        .group-tab-content.hidden {
            display: none !important;
        }
        
        /* Group Card */
        .group-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 16px;
            transition: border-color 0.15s;
        }
        .group-card:hover {
            border-color: var(--primary);
        }
        .group-card-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 12px;
        }
        .group-card-title {
            font-size: 0.95rem;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 4px;
        }
        .group-card-link {
            font-size: 0.75rem;
            color: var(--primary);
            font-family: monospace;
        }
        .group-card-stats {
            display: flex;
            gap: 16px;
            font-size: 0.75rem;
            color: var(--text-secondary);
        }
        .group-card-actions {
            display: flex;
            gap: 6px;
            margin-top: 12px;
        }
        .group-card-actions button {
            flex: 1;
            padding: 6px 10px;
            font-size: 0.75rem;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: opacity 0.15s;
        }
        .group-card-actions button:hover {
            opacity: 0.85;
        }
        
        /* Auth Modal */
        .modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.8);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 200;
            opacity: 0;
            visibility: hidden;
            transition: all 0.2s;
        }
        
        .modal-overlay.show {
            opacity: 1;
            visibility: visible;
        }
        
        .modal {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 18px 22px;
            width: 100%;
            max-width: 440px;
            max-height: calc(100vh - 40px);
            overflow-y: auto;
            transform: translateY(20px);
            transition: all 0.2s;
        }
        
        .modal-overlay.show .modal {
            transform: translateY(0);
        }
        
        .modal h2 {
            font-size: 1.1rem;
            margin-bottom: 4px;
        }
        
        .modal-subtitle {
            color: var(--text-secondary);
            margin-bottom: 12px;
            font-size: 0.8rem;
        }
        
        .input-group {
            margin-bottom: 10px;
        }
        
        .input-group label {
            display: block;
            margin-bottom: 3px;
            color: var(--text-secondary);
            font-size: 0.8rem;
        }
        
        .input-group input {
            width: 100%;
            padding: 8px 10px;
            background: var(--bg-dark);
            border: 1px solid var(--border);
            border-radius: 5px;
            color: var(--text-primary);
            font-size: 0.85rem;
            transition: all 0.2s;
        }
        
        .input-group input:focus {
            outline: none;
            border-color: var(--text-secondary);
        }
        
        .input-group input::placeholder {
            color: #444;
        }
        
        .btn {
            width: 100%;
            padding: 9px;
            background: var(--text-primary);
            border: none;
            border-radius: 5px;
            color: var(--bg-dark);
            font-size: 0.85rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .btn:hover:not(:disabled) {
            background: var(--accent-dim);
        }
        
        .btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }
        
        .btn-secondary {
            background: var(--bg-hover);
            color: var(--text-primary);
            margin-top: 0;
        }
        
        .modal-buttons {
            display: flex;
            gap: 10px;
            margin-top: 14px;
        }
        
        .modal-buttons .btn {
            flex: 1;
            margin-top: 0;
        }
        
        .btn-secondary:hover:not(:disabled) {
            background: var(--border);
        }
        
        .btn-primary {
            background: var(--primary, #e67e22);
            color: #000;
        }
        
        .btn-primary:hover:not(:disabled) {
            background: #d97706;
        }
        
        .btn-small {
            padding: 5px 12px;
            font-size: 0.75rem;
            font-weight: 600;
            border-radius: 6px;
            border: none;
            cursor: pointer;
            transition: all 0.2s;
            height: 28px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            line-height: 1;
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            white-space: nowrap;
        }
        
        .btn-small.btn-primary {
            background: var(--warning);
            color: #000;
        }
        
        .btn-small.btn-secondary {
            background: transparent;
            color: var(--text-primary);
            border: 1px solid var(--border);
        }
        
        .btn-small.btn-warning {
            background: var(--warning);
            color: #000;
        }
        
        .btn-small.btn-error {
            background: transparent;
            color: var(--error);
            border: 1px solid var(--error);
        }
        
        .btn-small:hover {
            opacity: 0.85;
        }
        
        /* Toggle Switch для автоповтора */
        .toggle-switch {
            position: relative;
            display: inline-block;
            width: 32px;
            height: 18px;
            cursor: pointer;
        }
        .toggle-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }
        .toggle-slider {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: var(--border);
            border-radius: 18px;
            transition: 0.3s;
        }
        .toggle-slider:before {
            position: absolute;
            content: "";
            height: 12px;
            width: 12px;
            left: 3px;
            bottom: 3px;
            background-color: #fff;
            border-radius: 50%;
            transition: 0.3s;
        }
        .toggle-switch input:checked + .toggle-slider {
            background-color: var(--primary);
        }
        .toggle-switch input:checked + .toggle-slider:before {
            transform: translateX(14px);
        }
        
        .job-card {
            cursor: pointer;
            transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
        }
        .job-card:hover {
            border-color: var(--primary) !important;
            background: rgba(255,255,255,0.03) !important;
            box-shadow: 0 2px 12px rgba(255,165,0,0.08);
        }
        .job-card:active {
            background: rgba(255,255,255,0.06) !important;
        }
        
        .status-spinner {
            display: inline-block;
            width: 10px;
            height: 10px;
            border: 2px solid rgba(255,165,0,0.3);
            border-top-color: var(--primary);
            border-radius: 50%;
            animation: status-spin 0.8s linear infinite;
            vertical-align: middle;
            margin-right: 2px;
        }
        @keyframes status-spin {
            to { transform: rotate(360deg); }
        }
        
        /* Inviting buttons */

        /* Instant tooltips */
        [data-tip] {
            position: relative;
        }
        [data-tip]:hover::after {
            content: attr(data-tip);
            position: absolute;
            bottom: calc(100% + 6px);
            left: 50%;
            transform: translateX(-50%);
            padding: 4px 10px;
            border-radius: 5px;
            background: rgba(0,0,0,0.88);
            color: #fff;
            font-size: 0.72rem;
            font-weight: 500;
            white-space: nowrap;
            pointer-events: none;
            z-index: 99999;
        }
        .inv-btn {
            padding: 6px 12px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 0.75rem;
            font-weight: 500;
            transition: opacity 0.2s, transform 0.1s;
        }
        .inv-btn:hover {
            opacity: 0.85;
        }
        .inv-btn:active {
            transform: scale(0.96);
        }
        .inv-btn-success {
            background: var(--success);
            color: #fff;
        }
        .inv-btn-warning {
            background: var(--warning);
            color: #000;
        }
        .inv-btn-danger {
            background: var(--error);
            color: #fff;
        }
        .inv-btn-primary {
            background: var(--primary);
            color: #000;
        }
        .inv-btn-outline {
            background: transparent;
            border: 1px solid var(--border);
            color: var(--text-secondary);
        }
        .inv-btn-outline:hover {
            background: var(--bg-hover);
        }
        
        /* ========== Glow Animated Button ========== */
        .glow-btn {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            padding: 8px 18px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-size: 0.8rem;
            font-weight: 700;
            overflow: hidden;
            transition: transform 0.15s ease, box-shadow 0.3s ease;
            z-index: 1;
        }
        .glow-btn:hover {
            transform: translateY(-2px);
        }
        .glow-btn:active {
            transform: scale(0.95) translateY(0);
        }
        .glow-btn::before {
            content: '';
            position: absolute;
            inset: -150%;
            z-index: -2;
            animation: glow-spin 2s linear infinite;
        }
        .glow-btn::after {
            content: '';
            position: absolute;
            inset: 2px;
            border-radius: 6px;
            z-index: -1;
            transition: background 0.3s ease;
        }
        @keyframes glow-spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
        @keyframes glow-pulse {
            0%, 100% { opacity: 1; filter: brightness(1); }
            50% { opacity: 0.85; filter: brightness(1.2); }
        }
        
        /* Start button - amber/orange glow */
        .glow-btn-start::before {
            background: conic-gradient(from 90deg at 50% 50%, #f59e0b 0%, #fbbf24 20%, #fcd34d 40%, #f59e0b 60%, #d97706 80%, #f59e0b 100%);
        }
        .glow-btn-start::after {
            background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
        }
        .glow-btn-start {
            color: #f59e0b;
            text-shadow: 0 0 10px rgba(245,158,11,0.5);
            box-shadow: 0 0 20px rgba(245,158,11,0.3), inset 0 0 20px rgba(245,158,11,0.1);
            animation: glow-pulse 2s ease-in-out infinite;
        }
        .glow-btn-start:hover {
            box-shadow: 0 0 30px rgba(245,158,11,0.5), 0 5px 20px rgba(245,158,11,0.3), inset 0 0 25px rgba(245,158,11,0.15);
            color: #fbbf24;
        }
        .glow-btn-start:hover::after {
            background: linear-gradient(145deg, #262626, #171717);
        }
        
        /* Stop button - red/crimson glow */
        .glow-btn-stop::before {
            background: conic-gradient(from 90deg at 50% 50%, #dc2626 0%, #ef4444 20%, #f87171 40%, #ef4444 60%, #b91c1c 80%, #dc2626 100%);
        }
        .glow-btn-stop::after {
            background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
        }
        .glow-btn-stop {
            color: #ef4444;
            text-shadow: 0 0 10px rgba(239,68,68,0.5);
            box-shadow: 0 0 20px rgba(239,68,68,0.3), inset 0 0 20px rgba(239,68,68,0.1);
            animation: glow-pulse 1.5s ease-in-out infinite;
        }
        .glow-btn-stop:hover {
            box-shadow: 0 0 30px rgba(239,68,68,0.5), 0 5px 20px rgba(239,68,68,0.3), inset 0 0 25px rgba(239,68,68,0.15);
            color: #f87171;
        }
        .glow-btn-stop:hover::after {
            background: linear-gradient(145deg, #262626, #171717);
        }
        
        /* Create button - bright amber/gold glow */
        .glow-btn-create::before {
            background: conic-gradient(from 90deg at 50% 50%, #f59e0b 0%, #fbbf24 20%, #fde68a 40%, #fbbf24 60%, #d97706 80%, #f59e0b 100%);
        }
        .glow-btn-create::after {
            background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
        }
        .glow-btn-create {
            color: #fbbf24;
            text-shadow: 0 0 12px rgba(251,191,36,0.6);
            box-shadow: 0 0 25px rgba(245,158,11,0.4), inset 0 0 20px rgba(245,158,11,0.1);
            animation: glow-pulse 2s ease-in-out infinite;
        }
        .glow-btn-create:hover {
            box-shadow: 0 0 35px rgba(245,158,11,0.6), 0 8px 25px rgba(245,158,11,0.4), inset 0 0 30px rgba(245,158,11,0.2);
            color: #fde68a;
        }
        .glow-btn-create:hover::after {
            background: linear-gradient(145deg, #262626, #171717);
        }
        /* ========== End Glow Button ========== */
        
        .modal-footer {
            margin-top: 14px;
            text-align: center;
        }
        
        .link {
            color: var(--text-secondary);
            cursor: pointer;
            text-decoration: none;
            font-size: 0.9rem;
        }
        
        .link:hover {
            color: var(--text-primary);
        }

        /* ========== Universal Alert/Confirm Modal ========== */
        #ugModalOverlay {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.75);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 99999;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.2s, visibility 0.2s;
        }
        #ugModalOverlay.show {
            opacity: 1;
            visibility: visible;
        }
        #ugModalBox {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 24px 28px;
            min-width: 340px;
            max-width: 500px;
            transform: translateY(16px) scale(0.97);
            transition: transform 0.2s;
        }
        #ugModalOverlay.show #ugModalBox {
            transform: translateY(0) scale(1);
        }
        #ugModalIcon {
            text-align: center;
            font-size: 2.2rem;
            margin-bottom: 10px;
        }
        #ugModalTitle {
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-primary);
            text-align: center;
            margin-bottom: 6px;
        }
        #ugModalMessage {
            font-size: 0.85rem;
            color: var(--text-secondary);
            text-align: center;
            white-space: pre-line;
            line-height: 1.6;
            margin-bottom: 18px;
        }
        #ugModalButtons {
            display: flex;
            gap: 10px;
            justify-content: center;
        }
        #ugModalButtons button {
            padding: 9px 28px;
            border-radius: 7px;
            font-size: 0.88rem;
            font-weight: 600;
            cursor: pointer;
            border: 1px solid transparent;
            transition: all 0.15s;
        }
        .ug-modal-btn-ok {
            background: var(--primary, #e67e22);
            color: #000;
            border-color: var(--primary, #e67e22) !important;
        }
        .ug-modal-btn-ok:hover {
            filter: brightness(1.15);
        }
        .ug-modal-btn-cancel {
            background: var(--bg-hover);
            color: var(--text-primary);
            border-color: var(--border) !important;
        }
        .ug-modal-btn-cancel:hover {
            background: var(--border);
        }
        .ug-modal-btn-danger {
            background: #dc2626;
            color: #fff;
            border-color: #dc2626 !important;
        }
        .ug-modal-btn-danger:hover {
            background: #b91c1c;
        }
        /* ========== End Universal Modal ========== */

        .error {
            color: #ff6b6b;
            font-size: 0.85rem;
            margin-top: 10px;
            display: none;
        }
        
        .success {
            color: #f59e0b;
            font-size: 0.85rem;
            margin-top: 10px;
            display: none;
        }
        
        .code-input {
            font-size: 1.5rem !important;
            text-align: center;
            letter-spacing: 8px;
            font-weight: 600;
        }
        
        .divider {
            text-align: center;
            color: var(--text-secondary);
            margin: 20px 0;
            font-size: 0.85rem;
        }
        
        /* Dashboard */
        .dashboard-header {
            margin-bottom: 40px;
        }
        
        .dashboard-header h1 {
            font-size: 2rem;
            margin-bottom: 8px;
        }
        
        .dashboard-header p {
            color: var(--text-secondary);
        }
        
        .dashboard-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }
        
        .dashboard-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 28px;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .dashboard-card:hover {
            border-color: var(--text-secondary);
        }
        
        .dashboard-card-header {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            margin-bottom: 16px;
        }
        
        .dashboard-card-icon {
            font-size: 2rem;
        }
        
        .dashboard-card h3 {
            font-size: 1.1rem;
            margin-bottom: 8px;
        }
        
        .dashboard-card p {
            color: var(--text-secondary);
            font-size: 0.9rem;
            line-height: 1.5;
        }
        
        /* Balance Card */
        .balance-section {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
            margin-bottom: 40px;
        }
        
        .balance-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 28px;
        }
        
        .balance-card h3 {
            color: var(--text-secondary);
            font-size: 0.9rem;
            font-weight: 500;
            margin-bottom: 12px;
        }
        
        .balance-amount {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 8px;
        }
        
        .balance-amount span {
            font-size: 1.5rem;
            color: var(--text-secondary);
        }
        
        .promo-input-group {
            display: flex;
            gap: 12px;
            margin-top: 16px;
        }
        
        .promo-input-group input {
            flex: 1;
            padding: 12px 16px;
            background: var(--bg-dark);
            border: 1px solid var(--border);
            border-radius: 8px;
            color: var(--text-primary);
            font-size: 0.95rem;
            text-transform: uppercase;
        }
        
        .promo-input-group input:focus {
            outline: none;
            border-color: var(--text-secondary);
        }
        
        .promo-input-group button {
            padding: 12px 24px;
            background: var(--text-primary);
            border: none;
            border-radius: 8px;
            color: var(--bg-dark);
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            white-space: nowrap;
        }
        
        .promo-input-group button:hover {
            background: var(--accent-dim);
        }
        
        .promo-result {
            margin-top: 12px;
            font-size: 0.9rem;
        }
        
        .promo-result.success {
            color: #f59e0b;
            display: block;
        }
        
        .promo-result.error {
            color: #ff6b6b;
            display: block;
        }
        
        /* Dropdown divider */
        .dropdown-divider {
            height: 1px;
            background: var(--border);
            margin: 4px 0;
        }
        
        /* Balance Page Styles */
        .balance-page-header {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 32px;
        }
        
        .balance-page-header h1 {
            font-size: 2rem;
            font-weight: 700;
        }
        
        .back-btn {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 10px 20px;
            color: var(--text-secondary);
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .back-btn:hover {
            background: var(--bg-hover);
            color: var(--text-primary);
        }
        
        .balance-page-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
        }
        
        .balance-main-card {
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 32px;
            display: flex;
            align-items: center;
            gap: 24px;
            grid-column: span 2;
        }
        
        .balance-main-icon {
            font-size: 3rem;
        }
        
        .balance-main-info {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }
        
        .balance-label {
            color: var(--text-secondary);
            font-size: 0.9rem;
        }
        
        .balance-main-amount {
            font-size: 3rem;
            font-weight: 700;
            color: var(--text-primary);
        }
        
        .balance-section-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 28px;
        }
        
        .balance-section-card h3 {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 16px;
        }
        
        .section-desc {
            color: var(--text-secondary);
            font-size: 0.9rem;
            margin-bottom: 16px;
        }
        
        .promotions-card {
            grid-column: span 1;
        }
        
        .history-card {
            grid-column: span 1;
        }
        
        .promo-list {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }
        
        .promo-item {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 16px;
            background: var(--bg-dark);
            border-radius: 12px;
        }
        
        .promo-item-icon {
            font-size: 1.5rem;
        }
        
        .promo-item-info {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 2px;
        }
        
        .promo-item-title {
            font-weight: 500;
            font-size: 0.95rem;
        }
        
        .promo-item-desc {
            color: var(--text-secondary);
            font-size: 0.8rem;
        }
        
        .transaction-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
            max-height: 400px;
            overflow-y: auto;
        }
        
        .transaction-empty {
            padding: 40px;
            text-align: center;
            color: var(--text-secondary);
        }
        
        .transaction-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px;
            background: var(--bg-dark);
            border-radius: 12px;
        }
        
        .transaction-info {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .transaction-icon {
            width: 40px;
            height: 40px;
            background: var(--bg-hover);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
        }
        
        .transaction-details {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }
        
        .transaction-title {
            font-weight: 500;
            font-size: 0.9rem;
        }
        
        .transaction-date {
            color: var(--text-secondary);
            font-size: 0.8rem;
        }
        
        .transaction-amount {
            font-weight: 600;
            font-size: 1rem;
        }
        
        .transaction-amount.positive {
            color: #f59e0b;
        }
        
        .transaction-amount.negative {
            color: #ff6b6b;
        }
        
        @media (max-width: 768px) {
            .balance-page-grid {
                grid-template-columns: 1fr;
            }
            
            .balance-main-card {
                grid-column: span 1;
            }
            
            .promotions-card, .history-card {
                grid-column: span 1;
            }
            
            .balance-main-amount {
                font-size: 2rem;
            }
        }
        
        @media (max-width: 768px) {
            .balance-section {
                grid-template-columns: 1fr;
            }
        }
        
        .hidden { display: none !important; }
        
        .spinner {
            display: inline-block;
            width: 16px;
            height: 16px;
            border: 2px solid rgba(0,0,0,0.2);
            border-radius: 50%;
            border-top-color: var(--bg-dark);
            animation: spin 0.8s linear infinite;
            margin-right: 8px;
            vertical-align: middle;
        }
        
        @keyframes spin { to { transform: rotate(360deg); } }
        
        /* Working spinner for job cards */
        .working-spinner {
            display: inline-block;
            width: 24px;
            height: 24px;
            border: 3px solid rgba(139, 92, 246, 0.3);
            border-radius: 50%;
            border-top-color: var(--primary);
            animation: spin 1s linear infinite;
            margin-right: 10px;
            vertical-align: middle;
        }
        
        .working-indicator {
            display: flex;
            align-items: center;
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--primary);
        }
        
        /* Progress bar animations */
        @keyframes shimmer {
            0% { background-position: -200% 0; }
            100% { background-position: 200% 0; }
        }
        
        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.7; }
        }
        
        /* Job details modal styles */
        .account-item:hover {
            background: var(--border) !important;
        }
        
        .account-item[style*="border-color: var(--primary)"] {
            background: rgba(139, 92, 246, 0.1) !important;
        }
        
        /* Admin Page Styles */
        .admin-login-card {
            max-width: 380px;
            margin: 80px auto;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 14px;
            padding: 24px;
            text-align: center;
        }
        
        .admin-login-card h2 {
            margin-bottom: 6px;
            font-size: 1.25rem;
        }
        
        .admin-subtitle {
            color: var(--text-secondary);
            margin-bottom: 18px;
            font-size: 0.9rem;
        }
        
        .admin-header {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 32px;
        }
        
        .admin-header h1 {
            flex: 1;
            font-size: 2rem;
        }
        
        .admin-header-actions {
            display: flex;
            gap: 12px;
        }
        
        .btn-secondary {
            padding: 10px 20px;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 8px;
            color: var(--text-primary);
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .btn-secondary:hover {
            background: var(--bg-hover);
        }
        
        .admin-stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin-bottom: 32px;
        }
        
        .stat-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 24px;
            display: flex;
            align-items: center;
            gap: 16px;
        }
        
        .stat-icon {
            font-size: 2rem;
        }
        
        .stat-info {
            display: flex;
            flex-direction: column;
        }
        
        .stat-value {
            font-size: 1.5rem;
            font-weight: 700;
        }
        
        .stat-label {
            color: var(--text-secondary);
            font-size: 0.85rem;
        }
        
        .admin-section {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 28px;
            margin-bottom: 24px;
        }
        
        .admin-section h3 {
            margin-bottom: 20px;
            font-size: 1.1rem;
        }
        
        .generate-form .form-row {
            display: flex;
            gap: 16px;
            align-items: flex-end;
        }
        
        .generate-form .input-group {
            flex: 1;
            min-width: 150px;
        }
        
        .generate-form select,
        .generate-form input[type="number"],
        .generate-form input[type="password"] {
            width: 100%;
            padding: 12px 16px;
            background: var(--bg-dark);
            border: 1px solid var(--border);
            border-radius: 8px;
            color: var(--text-primary);
            font-size: 1.1rem;
            box-sizing: border-box;
        }
        
        .generate-form select:focus,
        .generate-form input:focus {
            outline: none;
            border-color: var(--text-secondary);
        }
        
        .generate-form .btn {
            height: 48px;
            white-space: nowrap;
        }
        
        .btn-danger {
            padding: 10px 20px;
            background: rgba(255, 107, 107, 0.15);
            border: 1px solid rgba(255, 107, 107, 0.4);
            border-radius: 8px;
            color: #ff6b6b;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .btn-danger:hover {
            background: rgba(255, 107, 107, 0.3);
        }
        
        .btn-delete-small {
            padding: 4px 10px;
            background: transparent;
            border: 1px solid rgba(255, 107, 107, 0.4);
            border-radius: 6px;
            color: #ff6b6b;
            font-size: 0.75rem;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .btn-delete-small:hover {
            background: rgba(255, 107, 107, 0.2);
        }
        
        .generated-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 20px 0 12px;
        }
        
        .generated-header h4 {
            font-size: 1rem;
            color: var(--text-secondary);
        }
        
        #generatedCodes {
            width: 100%;
            height: 200px;
            background: var(--bg-dark);
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 16px;
            color: var(--text-primary);
            font-family: monospace;
            font-size: 0.9rem;
            resize: vertical;
        }
        
        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .section-header h3 {
            margin-bottom: 0;
        }
        
        .export-buttons {
            display: flex;
            gap: 12px;
            align-items: center;
        }
        
        .export-buttons select {
            padding: 10px 16px;
            background: var(--bg-dark);
            border: 1px solid var(--border);
            border-radius: 8px;
            color: var(--text-primary);
            font-size: 0.9rem;
        }
        
        .promocodes-table {
            max-height: 400px;
            overflow-y: auto;
        }
        
        .promo-row {
            display: grid;
            grid-template-columns: 200px 80px 80px 80px 120px 70px;
            gap: 16px;
            padding: 12px 16px;
            border-bottom: 1px solid var(--border);
            align-items: center;
            font-size: 0.9rem;
        }
        
        .promo-row:first-child {
            background: var(--bg-hover);
            font-weight: 600;
            border-radius: 8px 8px 0 0;
        }
        
        .promo-row:last-child {
            border-bottom: none;
        }
        
        .promo-code {
            font-family: monospace;
            background: var(--bg-dark);
            padding: 6px 10px;
            border-radius: 4px;
            font-size: 0.85rem;
        }
        
        .promo-status {
            display: inline-block;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 500;
        }
        
        .promo-status.active {
            background: rgba(76, 175, 80, 0.2);
            color: #f59e0b;
        }
        
        .promo-status.used {
            background: rgba(255, 107, 107, 0.2);
            color: #ff6b6b;
        }
        
        .admin-transactions {
            max-height: 300px;
            overflow-y: auto;
        }
        
        .admin-tx-row {
            display: grid;
            grid-template-columns: 200px 1fr 100px 150px;
            gap: 16px;
            padding: 12px 16px;
            border-bottom: 1px solid var(--border);
            align-items: center;
            font-size: 0.9rem;
        }
        
        .admin-tx-row:first-child {
            background: var(--bg-hover);
            font-weight: 600;
        }
        
        .loading {
            text-align: center;
            padding: 40px;
            color: var(--text-secondary);
        }
        
        @media (max-width: 1024px) {
            .admin-stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .promo-row {
                grid-template-columns: 1fr 1fr;
                gap: 8px;
            }
        }
        
        @media (max-width: 768px) {
            .header { padding: 0 20px; }
            .nav { display: none; }
            .features-grid, .dashboard-grid { grid-template-columns: 1fr; }
            .hero h1 { font-size: 2.5rem; }
            .container { padding: 20px; }
            
            .admin-stats-grid {
                grid-template-columns: 1fr;
            }
            
            .generate-form .form-row {
                flex-direction: column;
            }
            
            .export-buttons {
                flex-direction: column;
                align-items: stretch;
            }
        }
        
        /* Sidebar Layout for Telegram Page */
        .page-with-sidebar {
            display: flex;
            min-height: calc(100vh - 56px);
        }
        
        .sidebar {
            width: 240px;
            background: var(--bg-card);
            border-right: 1px solid var(--border);
            padding: 20px 14px;
            flex-shrink: 0;
            overflow-y: auto;
            position: sticky;
            top: 56px;
            height: calc(100vh - 56px);
        }
        .sidebar::-webkit-scrollbar {
            width: 6px;
        }
        .sidebar::-webkit-scrollbar-track {
            background: #2a2a2a;
            border-radius: 3px;
        }
        .sidebar::-webkit-scrollbar-thumb {
            background: var(--primary);
            border-radius: 3px;
        }
        .sidebar::-webkit-scrollbar-thumb:hover {
            background: #d97706;
        }
        
        .sidebar-title {
            font-size: 0.7rem;
            font-weight: 600;
            text-transform: uppercase;
            color: var(--text-secondary);
            letter-spacing: 0.5px;
            margin-bottom: 14px;
            padding: 0 10px;
        }
        
        .sidebar-nav {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }
        
        .sidebar-item {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 12px 14px;
            border-radius: 0.3em;
            cursor: pointer;
            transition: 0.5s;
            color: var(--text-primary);
            border: 2px solid var(--primary);
            background-color: transparent;
            width: 100%;
            text-align: center;
            font-size: 0.85rem;
            font-family: inherit;
            text-decoration: none;
            font-weight: 500;
            margin-bottom: 4px;
        }
        
        .sidebar-item::after {
            content: "";
            position: absolute;
            top: -8px;
            left: 3%;
            width: 94%;
            height: 40%;
            background-color: var(--bg-card);
            transition: 0.5s;
            transform-origin: center;
        }
        
        .sidebar-item::before {
            content: "";
            transform-origin: center;
            position: absolute;
            top: 68%;
            left: 3%;
            width: 94%;
            height: 40%;
            background-color: var(--bg-card);
            transition: 0.5s;
        }
        
        .sidebar-item:hover::before,
        .sidebar-item:hover::after {
            transform: scale(0);
        }
        
        .sidebar-item:hover {
            box-shadow: inset 0px 0px 20px rgba(245,158,11,0.6);
            color: var(--text-primary);
        }
        
        .sidebar-item.active {
            box-shadow: inset 0px 0px 15px rgba(245,158,11,0.4);
            color: var(--text-primary);
            border-color: #d97706;
        }
        
        .sidebar-item.active::before,
        .sidebar-item.active::after {
            transform: scale(0);
        }
        
        .sidebar-item.disabled {
            opacity: 0.4;
            cursor: not-allowed;
            border-color: #555;
        }
        
        .sidebar-item.disabled:hover {
            box-shadow: none;
            color: var(--text-secondary);
        }
        
        .sidebar-item.disabled:hover::before,
        .sidebar-item.disabled:hover::after {
            transform: scale(1);
        }
        
        .sidebar-item-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 2px;
        }
        
        .sidebar-item-title {
            font-weight: 500;
            white-space: nowrap;
        }
        
        .sidebar-item-desc {
            font-size: 0.7rem;
            color: var(--text-secondary);
        }
        
        .sidebar-item .badge {
            margin: 0;
            font-size: 0.6rem;
            padding: 2px 6px;
        }

        .sidebar-dev-badge {
            display: inline-block;
            font-size: 0.6rem;
            font-weight: 600;
            background: rgba(128,128,128,0.35);
            color: #aaa;
            padding: 1px 6px;
            border-radius: 3px;
            margin-top: 1px;
        }
        
        .sidebar-content {
            flex: 1;
            padding: 28px 36px;
            overflow-y: visible;
            min-height: calc(100vh - 56px);
        }
        
        .sidebar-content-header {
            margin-bottom: 24px;
        }
        
        .sidebar-content-header h1 {
            font-size: 1.5rem;
            margin-bottom: 6px;
        }
        
        .sidebar-content-header p {
            color: var(--text-secondary);
            font-size: 0.85rem;
        }
        
        .tool-placeholder {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 80px 40px;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 16px;
        }
        
        .tool-placeholder-icon {
            font-size: 4rem;
            margin-bottom: 24px;
        }
        
        .tool-placeholder h2 {
            font-size: 1.5rem;
            margin-bottom: 12px;
        }
        
        .tool-placeholder p {
            color: var(--text-secondary);
            max-width: 400px;
        }
        
        @media (max-width: 900px) {
            .page-with-sidebar {
                flex-direction: column;
            }
            
            .sidebar {
                width: 100%;
                border-right: none;
                border-bottom: 1px solid var(--border);
                padding: 16px;
            }
            
            .sidebar-nav {
                flex-direction: row;
                flex-wrap: wrap;
                gap: 8px;
            }
            
            .sidebar-item {
                flex: 1;
                min-width: 120px;
                justify-content: center;
            }
            
            .sidebar-item-desc {
                display: none;
            }
            
            .sidebar-content {
                padding: 24px 20px;
            }
        }
        
        /* ========== Page Loader ========== */
        .page-loader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--bg-dark);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 99999;
            transition: opacity 0.4s ease, visibility 0.4s ease;
        }
        
        .page-loader.hidden {
            opacity: 0;
            visibility: hidden;
        }
        
        .ui-abstergo {
            --loader-primary: #f59e0b;
            --loader-secondary: rgba(245, 158, 11, 0.3);
            --shadow-blur: 3px;
            --text-shadow-blur: 3px;
            --animation-duration: 2s;
            --size: 1;
        }
        
        .abstergo-loader * {
            box-sizing: content-box;
        }
        
        .ui-abstergo {
            display: flex;
            flex-direction: column;
            align-items: center;
            row-gap: 30px;
            scale: var(--size);
        }
        
        .ui-abstergo .ui-text {
            color: var(--loader-primary);
            text-shadow: 0 0 var(--text-shadow-blur) var(--loader-secondary);
            font-family: 'Inter', sans-serif;
            font-size: 14px;
            font-weight: 500;
            display: flex;
            align-items: baseline;
            column-gap: 3px;
        }
        
        .ui-abstergo .ui-dot {
            content: "";
            display: block;
            width: 3px;
            height: 3px;
            animation: dots var(--animation-duration) infinite linear;
            animation-delay: .4s;
            background-color: var(--loader-primary);
        }
        
        .ui-abstergo .ui-dot:nth-child(2) {
            animation-delay: .8s;
        }
        
        .ui-abstergo .ui-dot:nth-child(3) {
            animation-delay: 1.2s;
        }
        
        .ui-abstergo .ui-dot+.ui-dot {
            margin-left: 3px;
        }
        
        .abstergo-loader {
            width: 103px;
            height: 90px;
            position: relative;
        }
        
        .abstergo-loader div {
            width: 50px;
            border-right: 12px solid transparent;
            border-left: 12px solid transparent;
            border-top: 21px solid var(--loader-primary);
            position: absolute;
            filter: drop-shadow(0 0 var(--shadow-blur) var(--loader-secondary));
        }
        
        .abstergo-loader div:nth-child(1) {
            top: 27px;
            left: 7px;
            transform: rotate(-60deg);
            animation: line1 var(--animation-duration) linear infinite alternate;
        }
        
        .abstergo-loader div:nth-child(2) {
            bottom: 2px;
            left: 0;
            transform: rotate(180deg);
            animation: line2 var(--animation-duration) linear infinite alternate;
        }
        
        .abstergo-loader div:nth-child(3) {
            bottom: 16px;
            right: -9px;
            transform: rotate(60deg);
            animation: line3 var(--animation-duration) linear infinite alternate;
        }
        
        @keyframes line1 {
            0%, 40% { top: 27px; left: 7px; transform: rotate(-60deg); }
            60%, 100% { top: 22px; left: 14px; transform: rotate(60deg); }
        }
        
        @keyframes line2 {
            0%, 40% { bottom: 2px; left: 0; transform: rotate(180deg); }
            60%, 100% { bottom: 5px; left: -8px; transform: rotate(300deg); }
        }
        
        @keyframes line3 {
            0%, 40% { bottom: 16px; right: -9px; transform: rotate(60deg); }
            60%, 100% { bottom: 7px; right: -11px; transform: rotate(180deg); }
        }
        
        @keyframes dots {
            0% { background-color: rgba(245, 158, 11, 0.3); }
            30% { background-color: #f59e0b; }
            70%, 100% { background-color: rgba(245, 158, 11, 0.3); }
        }
        /* ========== End Page Loader ========== */
        
        /* ========== Inline Content Loader (compact) ========== */
        .inline-loader {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 40px 20px;
            gap: 20px;
        }
        
        .inline-loader .abstergo-loader {
            width: 62px;
            height: 54px;
            transform: scale(0.6);
        }
        
        .inline-loader .abstergo-loader div {
            width: 50px;
            border-right: 12px solid transparent;
            border-left: 12px solid transparent;
            border-top: 21px solid #f59e0b;
            position: absolute;
            filter: drop-shadow(0 0 3px rgba(245, 158, 11, 0.3));
        }
        
        .inline-loader .abstergo-loader div:nth-child(1) {
            top: 27px;
            left: 7px;
            transform: rotate(-60deg);
            animation: line1 2s linear infinite alternate;
        }
        
        .inline-loader .abstergo-loader div:nth-child(2) {
            bottom: 2px;
            left: 0;
            transform: rotate(180deg);
            animation: line2 2s linear infinite alternate;
        }
        
        .inline-loader .abstergo-loader div:nth-child(3) {
            bottom: 16px;
            right: -9px;
            transform: rotate(60deg);
            animation: line3 2s linear infinite alternate;
        }
        
        .inline-loader .loader-text {
            color: #f59e0b;
            font-size: 13px;
            font-weight: 500;
            display: flex;
            align-items: baseline;
            gap: 3px;
        }
        
        .inline-loader .loader-text .ui-dot {
            width: 3px;
            height: 3px;
            background-color: #f59e0b;
            animation: dots 2s infinite linear;
        }
        
        .inline-loader .loader-text .ui-dot:nth-child(2) { animation-delay: .4s; }
        .inline-loader .loader-text .ui-dot:nth-child(3) { animation-delay: .8s; }
        .inline-loader .loader-text .ui-dot:nth-child(4) { animation-delay: 1.2s; }
        /* ========== End Inline Loader ========== */
        
        /* ========== Stealth Switch (from uiverse.io/benoit_1015) ========== */
        .stealth-switch {
            --w: 60px;
            --h: 30px;
            --handle-size: 24px;
            --p: 3px;
            --speed: 0.5s;
            --on-color: #f59e0b;
            --off-metal: #2b2b2b;
            --glow: rgba(245, 158, 11, 0.4);
            display: inline-flex;
            align-items: center;
            gap: 10px;
            position: relative;
        }
        
        .stealth-switch__label {
            font-size: 0.75rem;
            color: var(--text-primary);
            font-weight: 500;
            white-space: nowrap;
        }
        
        .stealth-switch__box {
            display: inline-block;
            position: relative;
            width: var(--w);
            height: var(--h);
            cursor: pointer;
            -webkit-tap-highlight-color: transparent;
            z-index: 1;
        }
        
        .stealth-switch__box input {
            opacity: 0;
            width: 0;
            height: 0;
            position: absolute;
        }
        
        .stealth-switch__body {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(180deg, #111, #1a1a1a);
            border-radius: 50px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.3), inset 0 2px 3px rgba(0,0,0,0.8), inset 0 -1px 1px rgba(255,255,255,0.1);
            border: 1px solid rgba(255,255,255,0.05);
            transition: all var(--speed) ease;
            overflow: hidden;
        }
        
        .stealth-switch__shimmer {
            position: absolute;
            top: 0;
            left: -100%;
            width: 50%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
            transform: skewX(-20deg);
            transition: left var(--speed) ease;
        }
        
        .stealth-switch__handle {
            position: absolute;
            top: var(--p);
            left: var(--p);
            width: var(--handle-size);
            height: var(--handle-size);
            background: conic-gradient(from 180deg, #444, #222, #555, #222, #444);
            border-radius: 50%;
            box-shadow: 0 2px 5px rgba(0,0,0,0.5), inset 0 1px 1px rgba(255,255,255,0.3);
            transition: transform var(--speed) cubic-bezier(0.34, 1.56, 0.64, 1);
            z-index: 2;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .stealth-switch__lens {
            width: 6px;
            height: 6px;
            background-color: #000;
            border-radius: 50%;
            box-shadow: inset 0 1px 2px rgba(255,255,255,0.2);
            transition: all var(--speed) ease;
        }
        
        /* Checked state */
        .stealth-switch__box input:checked ~ .stealth-switch__handle {
            transform: translateX(calc(var(--w) - var(--handle-size) - (var(--p) * 2)));
            background: conic-gradient(from 220deg, #444, #222, #555, #222, #444);
        }
        
        .stealth-switch__box input:checked ~ .stealth-switch__body {
            box-shadow: 0 4px 10px rgba(0,0,0,0.3), inset 0 2px 3px rgba(0,0,0,0.8), inset 0 0 15px var(--glow);
            border-color: rgba(245, 158, 11, 0.2);
        }
        
        .stealth-switch__box input:checked ~ .stealth-switch__body .stealth-switch__shimmer {
            left: 150%;
            transition: left 0.8s ease-in-out;
        }
        
        .stealth-switch__box input:checked ~ .stealth-switch__handle .stealth-switch__lens {
            background-color: var(--on-color);
            box-shadow: 0 0 10px var(--on-color), inset 0 1px 4px rgba(255,255,255,0.5);
            width: 8px;
            height: 8px;
        }
        /* ========== End Stealth Switch ========== */
        
        /* ========== Profile Page ========== */
        .profile-page {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        
        .profile-header {
            position: relative;
            background: linear-gradient(135deg, rgba(245,158,11,0.1) 0%, rgba(0,0,0,0.3) 100%);
            border: 1px solid rgba(245,158,11,0.2);
            border-radius: 16px;
            padding: 24px;
            margin-bottom: 24px;
            overflow: hidden;
        }
        
        .profile-header::before {
            content: '';
            position: absolute;
            inset: -50%;
            background: conic-gradient(from 90deg at 50% 50%, transparent 0%, rgba(245,158,11,0.1) 25%, transparent 50%);
            animation: profile-glow-spin 8s linear infinite;
            z-index: 0;
        }
        
        @keyframes profile-glow-spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
        
        .profile-header-content {
            position: relative;
            z-index: 1;
            display: flex;
            align-items: center;
            gap: 20px;
        }
        
        .profile-avatar {
            width: 110px;
            height: 110px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
        
        /* Hamster Wheel Animation */
        .wheel-and-hamster {
            --dur: 1s;
            position: relative;
            width: 12em;
            height: 12em;
            font-size: 9px;
        }
        .wheel, .hamster, .hamster div, .spoke { position: absolute; }
        .wheel, .spoke {
            border-radius: 50%;
            top: 0; left: 0;
            width: 100%; height: 100%;
        }
        .wheel {
            background: radial-gradient(100% 100% at center,hsla(0,0%,60%,0) 47.8%,hsl(30,90%,55%) 48%);
            z-index: 2;
        }
        .hamster {
            animation: hamster var(--dur) ease-in-out infinite;
            top: 50%;
            left: calc(50% - 3.5em);
            width: 7em; height: 3.75em;
            transform: rotate(4deg) translate(-0.8em,1.85em);
            transform-origin: 50% 0;
            z-index: 1;
        }
        .hamster__head {
            animation: hamsterHead var(--dur) ease-in-out infinite;
            background: hsl(30,90%,55%);
            border-radius: 70% 30% 0 100% / 40% 25% 25% 60%;
            box-shadow: 0 -0.25em 0 hsl(30,90%,80%) inset, 0.75em -1.55em 0 hsl(30,90%,90%) inset;
            top: 0; left: -2em;
            width: 2.75em; height: 2.5em;
            transform-origin: 100% 50%;
        }
        .hamster__ear {
            animation: hamsterEar var(--dur) ease-in-out infinite;
            background: hsl(0,90%,85%);
            border-radius: 50%;
            box-shadow: -0.25em 0 hsl(30,90%,55%) inset;
            top: -0.25em; right: -0.25em;
            width: 0.75em; height: 0.75em;
            transform-origin: 50% 75%;
        }
        .hamster__eye {
            animation: hamsterEye var(--dur) linear infinite;
            background-color: hsl(0,0%,0%);
            border-radius: 50%;
            top: 0.375em; left: 1.25em;
            width: 0.5em; height: 0.5em;
        }
        .hamster__nose {
            background: hsl(0,90%,75%);
            border-radius: 35% 65% 85% 15% / 70% 50% 50% 30%;
            top: 0.75em; left: 0;
            width: 0.2em; height: 0.25em;
        }
        .hamster__body {
            animation: hamsterBody var(--dur) ease-in-out infinite;
            background: hsl(30,90%,90%);
            border-radius: 50% 30% 50% 30% / 15% 60% 40% 40%;
            box-shadow: 0.1em 0.75em 0 hsl(30,90%,55%) inset, 0.15em -0.5em 0 hsl(30,90%,80%) inset;
            top: 0.25em; left: 2em;
            width: 4.5em; height: 3em;
            transform-origin: 17% 50%;
            transform-style: preserve-3d;
        }
        .hamster__limb--fr, .hamster__limb--fl {
            clip-path: polygon(0 0,100% 0,70% 80%,60% 100%,0% 100%,40% 80%);
            top: 2em; left: 0.5em;
            width: 1em; height: 1.5em;
            transform-origin: 50% 0;
        }
        .hamster__limb--fr {
            animation: hamsterFRLimb var(--dur) linear infinite;
            background: linear-gradient(hsl(30,90%,80%) 80%,hsl(0,90%,75%) 80%);
            transform: rotate(15deg) translateZ(-1px);
        }
        .hamster__limb--fl {
            animation: hamsterFLLimb var(--dur) linear infinite;
            background: linear-gradient(hsl(30,90%,90%) 80%,hsl(0,90%,85%) 80%);
            transform: rotate(15deg);
        }
        .hamster__limb--br, .hamster__limb--bl {
            border-radius: 0.75em 0.75em 0 0;
            clip-path: polygon(0 0,100% 0,100% 30%,70% 90%,70% 100%,30% 100%,40% 90%,0% 30%);
            top: 1em; left: 2.8em;
            width: 1.5em; height: 2.5em;
            transform-origin: 50% 30%;
        }
        .hamster__limb--br {
            animation: hamsterBRLimb var(--dur) linear infinite;
            background: linear-gradient(hsl(30,90%,80%) 90%,hsl(0,90%,75%) 90%);
            transform: rotate(-25deg) translateZ(-1px);
        }
        .hamster__limb--bl {
            animation: hamsterBLLimb var(--dur) linear infinite;
            background: linear-gradient(hsl(30,90%,90%) 90%,hsl(0,90%,85%) 90%);
            transform: rotate(-25deg);
        }
        .hamster__tail {
            animation: hamsterTail var(--dur) linear infinite;
            background: hsl(0,90%,85%);
            border-radius: 0.25em 50% 50% 0.25em;
            box-shadow: 0 -0.2em 0 hsl(0,90%,75%) inset;
            top: 1.5em; right: -0.5em;
            width: 1em; height: 0.5em;
            transform: rotate(30deg) translateZ(-1px);
            transform-origin: 0.25em 0.25em;
        }
        .spoke {
            animation: spoke var(--dur) linear infinite;
            background: radial-gradient(100% 100% at center,hsl(30,90%,55%) 4.8%,hsla(0,0%,60%,0) 5%),
                linear-gradient(hsla(0,0%,55%,0) 46.9%,hsl(30,90%,65%) 47% 52.9%,hsla(0,0%,65%,0) 53%) 50% 50% / 99% 99% no-repeat;
        }
        @keyframes hamster {
            from, to { transform: rotate(4deg) translate(-0.8em,1.85em); }
            50% { transform: rotate(0) translate(-0.8em,1.85em); }
        }
        @keyframes hamsterHead {
            from, 25%, 50%, 75%, to { transform: rotate(0); }
            12.5%, 37.5%, 62.5%, 87.5% { transform: rotate(8deg); }
        }
        @keyframes hamsterEye {
            from, 90%, to { transform: scaleY(1); }
            95% { transform: scaleY(0); }
        }
        @keyframes hamsterEar {
            from, 25%, 50%, 75%, to { transform: rotate(0); }
            12.5%, 37.5%, 62.5%, 87.5% { transform: rotate(12deg); }
        }
        @keyframes hamsterBody {
            from, 25%, 50%, 75%, to { transform: rotate(0); }
            12.5%, 37.5%, 62.5%, 87.5% { transform: rotate(-2deg); }
        }
        @keyframes hamsterFRLimb {
            from, 25%, 50%, 75%, to { transform: rotate(50deg) translateZ(-1px); }
            12.5%, 37.5%, 62.5%, 87.5% { transform: rotate(-30deg) translateZ(-1px); }
        }
        @keyframes hamsterFLLimb {
            from, 25%, 50%, 75%, to { transform: rotate(-30deg); }
            12.5%, 37.5%, 62.5%, 87.5% { transform: rotate(50deg); }
        }
        @keyframes hamsterBRLimb {
            from, 25%, 50%, 75%, to { transform: rotate(-60deg) translateZ(-1px); }
            12.5%, 37.5%, 62.5%, 87.5% { transform: rotate(20deg) translateZ(-1px); }
        }
        @keyframes hamsterBLLimb {
            from, 25%, 50%, 75%, to { transform: rotate(20deg); }
            12.5%, 37.5%, 62.5%, 87.5% { transform: rotate(-60deg); }
        }
        @keyframes hamsterTail {
            from, 25%, 50%, 75%, to { transform: rotate(30deg) translateZ(-1px); }
            12.5%, 37.5%, 62.5%, 87.5% { transform: rotate(10deg) translateZ(-1px); }
        }
        @keyframes spoke {
            from { transform: rotate(0); }
            to { transform: rotate(-1turn); }
        }
        
        .profile-info {
            flex: 1;
        }
        
        .profile-name {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 4px;
        }
        
        .profile-email {
            font-size: 0.9rem;
            color: var(--text-secondary);
            margin-bottom: 8px;
        }
        
        .profile-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 4px 12px;
            background: rgba(245,158,11,0.15);
            border: 1px solid rgba(245,158,11,0.3);
            border-radius: 20px;
            font-size: 0.75rem;
            color: #f59e0b;
            font-weight: 600;
        }
        
        .profile-balance-quick {
            text-align: right;
        }
        
        .profile-balance-label {
            font-size: 0.75rem;
            color: var(--text-secondary);
            margin-bottom: 4px;
        }
        
        .profile-balance-amount {
            font-size: 1.8rem;
            font-weight: 700;
            color: #10b981;
        }
        
        /* Profile Tabs */
        .profile-tabs {
            display: flex;
            gap: 4px;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 4px;
            margin-bottom: 24px;
        }
        
        .profile-tab {
            flex: 1;
            padding: 12px 16px;
            background: transparent;
            border: none;
            border-radius: 8px;
            color: var(--text-secondary);
            font-size: 0.85rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }
        
        .profile-tab:hover {
            color: var(--text-primary);
            background: var(--bg-hover);
        }
        
        .profile-tab.active {
            background: linear-gradient(135deg, rgba(245,158,11,0.2), rgba(245,158,11,0.1));
            color: #f59e0b;
            box-shadow: 0 0 20px rgba(245,158,11,0.2);
        }
        
        .profile-tab-icon {
            font-size: 1.1rem;
        }
        
        /* Profile Content Sections */
        .profile-section {
            display: none;
        }
        
        .profile-section.active {
            display: block;
            animation: fadeIn 0.3s ease;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        /* Stat Cards Grid */
        .stat-cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 16px;
            margin-bottom: 24px;
        }
        
        /* Modern Stat Card */
        .stat-card {
            position: relative;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 20px;
            overflow: hidden;
            transition: all 0.3s ease;
        }
        
        .stat-card:hover {
            transform: translateY(-2px);
            border-color: rgba(245,158,11,0.3);
            box-shadow: 0 8px 30px rgba(0,0,0,0.3), 0 0 20px rgba(245,158,11,0.1);
        }
        
        .stat-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--stat-color, #f59e0b), transparent);
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .stat-card:hover::before {
            opacity: 1;
        }
        
        .stat-card-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 12px;
        }
        
        .stat-card-icon {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            background: linear-gradient(135deg, rgba(245,158,11,0.2), rgba(245,158,11,0.05));
        }
        
        .stat-card-trend {
            display: flex;
            align-items: center;
            gap: 4px;
            font-size: 0.75rem;
            font-weight: 600;
            padding: 4px 8px;
            border-radius: 12px;
        }
        
        .stat-card-trend.up {
            background: rgba(16,185,129,0.15);
            color: #10b981;
        }
        
        .stat-card-trend.down {
            background: rgba(239,68,68,0.15);
            color: #ef4444;
        }
        
        .stat-card-value {
            font-size: 2rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 4px;
        }
        
        .stat-card-label {
            font-size: 0.8rem;
            color: var(--text-secondary);
        }
        
        /* Mini Chart in Card */
        .stat-card-chart {
            display: flex;
            align-items: flex-end;
            gap: 3px;
            height: 40px;
            margin-top: 12px;
        }
        
        .stat-card-bar {
            flex: 1;
            background: rgba(245,158,11,0.2);
            border-radius: 2px;
            min-height: 4px;
            transition: all 0.3s ease;
        }
        
        .stat-card:hover .stat-card-bar {
            background: rgba(245,158,11,0.4);
        }
        
        /* Action Cards */
        .action-cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 12px;
        }
        
        .action-card {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 16px;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .action-card:hover {
            background: var(--bg-hover);
            border-color: rgba(245,158,11,0.3);
            transform: translateX(4px);
        }
        
        .action-card-icon {
            width: 44px;
            height: 44px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            background: var(--bg-hover);
        }
        
        .action-card-info {
            flex: 1;
        }
        
        .action-card-title {
            font-weight: 600;
            font-size: 0.9rem;
            color: var(--text-primary);
            margin-bottom: 2px;
        }
        
        .action-card-desc {
            font-size: 0.75rem;
            color: var(--text-secondary);
        }
        
        .action-card-arrow {
            color: var(--text-secondary);
            transition: transform 0.3s ease;
        }
        
        .action-card:hover .action-card-arrow {
            transform: translateX(4px);
            color: #f59e0b;
        }
        
        /* Section Title */
        .profile-section-title {
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .profile-section-title::after {
            content: '';
            flex: 1;
            height: 1px;
            background: var(--border);
        }
        
        @media (max-width: 768px) {
            .profile-header-content {
                flex-direction: column;
                text-align: center;
            }
            
            .profile-balance-quick {
                text-align: center;
            }
            
            .profile-tabs {
                flex-wrap: wrap;
            }
            
            .profile-tab {
                flex: 1 1 45%;
            }
        }
        /* ========== End Profile Page ========== */
        
        /* ========== DarkPan Style Stats ========== */
        .dp-stats-row {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 16px;
            margin-bottom: 24px;
        }
        
        @media (max-width: 1200px) {
            .dp-stats-row { grid-template-columns: repeat(2, 1fr); }
        }
        
        @media (max-width: 600px) {
            .dp-stats-row { grid-template-columns: 1fr; }
        }
        
        .dp-stat-card {
            background: #191c24;
            border-radius: 10px;
            padding: 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            transition: all 0.3s ease;
        }
        
        .dp-stat-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(245, 158, 11, 0.15);
        }
        
        .dp-stat-icon {
            width: 60px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            color: #f59e0b;
        }
        
        .dp-stat-info {
            text-align: right;
        }
        
        .dp-stat-label {
            font-size: 0.85rem;
            color: #6c7293;
            margin-bottom: 4px;
        }
        
        .dp-stat-value {
            font-size: 1.5rem;
            font-weight: 700;
            color: #fff;
        }
        
        /* Charts Section */
        .dp-charts-row {
            display: block;
            margin-bottom: 24px;
        }
        
        /* Chart Filter Buttons */
        .chart-filter-btn {
            padding: 8px 14px;
            border-radius: 8px;
            border: 1px solid #2a2a2a;
            background: transparent;
            color: #6c7293;
            font-size: 0.8rem;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        
        .chart-filter-btn:hover {
            border-color: #f59e0b;
            color: #f59e0b;
        }
        
        .chart-filter-btn.active {
            background: rgba(245, 158, 11, 0.15);
            border-color: #f59e0b;
            color: #f59e0b;
        }
        
        .chart-filter-btn i {
            font-size: 0.75rem;
        }
        
        /* Month navigation buttons */
        .chart-month-btn {
            width: 28px;
            height: 28px;
            border-radius: 6px;
            border: 1px solid #2a2a2a;
            background: transparent;
            color: #6c7293;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .chart-month-btn:hover {
            border-color: #f59e0b;
            color: #f59e0b;
        }
        
        .chart-month-btn:disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }
        
        .dp-chart-card {
            background: #191c24;
            border-radius: 10px;
            padding: 20px;
        }
        
        .dp-chart-card canvas {
            width: 100% !important;
            height: 250px !important;
        }
        
        .dp-chart-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 16px;
        }
        
        .dp-chart-title {
            font-size: 0.95rem;
            font-weight: 600;
            color: #fff;
        }
        
        .dp-chart-link {
            font-size: 0.8rem;
            color: #f59e0b;
            text-decoration: none;
            cursor: pointer;
        }
        
        .dp-chart-link:hover {
            text-decoration: underline;
        }
        
        /* Recent Activity Table */
        .dp-table-card {
            background: #191c24;
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 24px;
        }
        
        .dp-table {
            width: 100%;
            border-collapse: collapse;
        }
        
        .dp-table th,
        .dp-table td {
            padding: 12px;
            text-align: left;
            border-bottom: 1px solid #2a2a2a;
        }
        
        .dp-table th {
            font-size: 0.8rem;
            font-weight: 600;
            color: #6c7293;
            text-transform: uppercase;
        }
        
        .dp-table td {
            font-size: 0.85rem;
            color: #fff;
        }
        
        .dp-table tr:hover {
            background: rgba(245, 158, 11, 0.05);
        }
        
        .dp-badge {
            display: inline-block;
            padding: 4px 10px;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: 600;
        }
        
        .dp-badge-success {
            background: rgba(34, 197, 94, 0.2);
            color: #22c55e;
        }
        
        .dp-badge-warning {
            background: rgba(245, 158, 11, 0.2);
            color: #f59e0b;
        }
        
        .dp-badge-error {
            background: rgba(239, 68, 68, 0.2);
            color: #ef4444;
        }
        
        .dp-badge-info {
            background: rgba(59, 130, 246, 0.2);
            color: #3b82f6;
        }

        /* Autoposter tabs */
        .ap-tab { background:transparent; color:var(--text-secondary); }
        .ap-tab-active { background:var(--primary) !important; color:#000 !important; }
        .ap-tab:hover:not(.ap-tab-active) { background:var(--bg-hover); color:var(--text-primary); }
        /* Autoposter formatting toolbar */
        .ap-fmt-btn { padding:4px 8px; background:var(--bg-hover); border:1px solid var(--border); border-radius:4px; color:var(--text-primary); cursor:pointer; font-size:0.75rem; transition:all .15s; min-width:28px; text-align:center; }
        .ap-fmt-btn:hover { background:var(--primary); color:#000; }
        /* Autoposter post type pills */
        .ap-type-pill { padding:6px 14px; border:1px solid var(--border); border-radius:20px; background:var(--bg-dark); color:var(--text-secondary); cursor:pointer; font-size:0.75rem; transition:all .15s; }
        .ap-type-pill-active { background:var(--primary) !important; color:#000 !important; border-color:var(--primary) !important; font-weight:600; }
        .ap-type-pill:hover:not(.ap-type-pill-active) { border-color:var(--primary); color:var(--text-primary); }
        /* Preview panel */
        .ap-preview-bubble { background:#1b2936; border-radius:12px 12px 4px 12px; padding:12px 14px; max-width:450px; font-size:0.85rem; line-height:1.5; color:#e1e8ed; word-break:break-word; position:relative; }
        .ap-preview-bubble img { max-width:100%; border-radius:8px; margin-bottom:6px; }
        .ap-preview-btn { display:inline-block; padding:6px 16px; background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.12); border-radius:6px; color:#8ab4f8; font-size:0.8rem; margin:3px 3px 3px 0; text-decoration:none; }
        /* Calendar */
        .ap-cal-day { min-height:80px; border:1px solid var(--border); border-radius:6px; padding:4px; background:var(--bg-card); cursor:pointer; transition:background .15s; }
        .ap-cal-day:hover { background:var(--bg-hover); }
        .ap-cal-day.today { border-color:var(--primary); }
        .ap-cal-event { font-size:0.65rem; padding:2px 4px; background:var(--primary); color:#000; border-radius:3px; margin-top:2px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; cursor:pointer; }
        /* Wizard step indicator */
        .ap-wiz-step { transition:all .2s; }
        .ap-wiz-step:hover { opacity:0.85; }
        /* Create button glow */
        .glow-btn-create { background:var(--primary);border:none;border-radius:8px;color:#000;font-weight:700;cursor:pointer;transition:all .2s;box-shadow:0 0 12px rgba(0,255,135,0.25); }
        .glow-btn-create:hover { box-shadow:0 0 24px rgba(0,255,135,0.45);transform:translateY(-1px); }
        /* ========== End DarkPan Style ========== */
    </style>