    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box
    }

    body {
        font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
        transition: background .3s, color .3s
    }

    /* LIGHT MODE */
    body {
        background: #f8fafc;
        color: #1e293b
    }

    .sidebar-bg {
        background: #ffffff;
        border-right: 1px solid #e2e8f0
    }

    .card-bg {
        background: #ffffff;
        border: 1px solid #e2e8f0
    }

    .header-bg {
        background: rgba(255, 255, 255, .95);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid #e2e8f0
    }

    .input-bg {
        background: #f1f5f9;
        border: 1px solid #e2e8f0;
        color: #1e293b
    }

    .text-main {
        color: #1e293b
    }

    .text-sub {
        color: #64748b
    }

    .text-muted {
        color: #94a3b8
    }

    .hover-bg:hover {
        background: #f1f5f9
    }

    .dropdown-bg {
        background: #ffffff;
        border: 1px solid #e2e8f0
    }

    .divider {
        border-color: #e2e8f0
    }

    .popup-bg {
        background: #ffffff;
        border: 1px solid #e2e8f0
    }

    .badge-bg {
        background: #f1f5f9
    }

    .progress-bg {
        background: #e2e8f0
    }

    .table-border {
        border-color: #e2e8f0
    }

    /* DARK MODE */
    .dark body {
        background: #020617;
        color: #e2e8f0
    }

    .dark .sidebar-bg {
        background: #0f172a;
        border-right: 1px solid #1e293b
    }

    .dark .card-bg {
        background: #1e293b;
        border: 1px solid #334155
    }

    .dark .header-bg {
        background: rgba(15, 23, 42, .95);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid #1e293b
    }

    .dark .input-bg {
        background: #1e293b;
        border: 1px solid #334155;
        color: #e2e8f0
    }

    .dark .text-main {
        color: #f1f5f9
    }

    .dark .text-sub {
        color: #94a3b8
    }

    .dark .text-muted {
        color: #64748b
    }

    .dark .hover-bg:hover {
        background: #334155
    }

    .dark .dropdown-bg {
        background: #1e293b;
        border: 1px solid #334155
    }

    .dark .divider {
        border-color: #1e293b
    }

    .dark .popup-bg {
        background: #1e293b;
        border: 1px solid #334155
    }

    .dark .badge-bg {
        background: #334155
    }

    .dark .progress-bg {
        background: #0f172a
    }

    .dark .table-border {
        border-color: #334155
    }

    ::-webkit-scrollbar {
        width: 6px
    }

    ::-webkit-scrollbar-track {
        background: transparent
    }

    ::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 10px
    }

    .dark ::-webkit-scrollbar-thumb {
        background: #334155
    }

    .sidebar-container {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 260px;
        z-index: 50;
        display: flex;
        flex-direction: column;
        overflow-y: auto
    }

    .main-container {
        margin-left: 260px;
        min-height: 100vh
    }

    @media(max-width:1023px) {
        .sidebar-container {
            transform: translateX(-100%);
            transition: transform .3s
        }

        .sidebar-container.open {
            transform: translateX(0)
        }

        .main-container {
            margin-left: 0
        }
    }

    .sidebar-link {
        transition: all .3s;
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 12px;
        border-radius: 12px;
        font-size: 14px;
        color: #64748b
    }

    .dark .sidebar-link {
        color: #94a3b8
    }

    .sidebar-link:hover {
        background: rgba(76, 110, 245, .08);
        color: #4c6ef5;
        transform: translateX(4px)
    }

    .dark .sidebar-link:hover {
        background: rgba(76, 110, 245, .15);
        color: #748ffc
    }

    .sidebar-link.active {
        background: linear-gradient(135deg, rgba(76, 110, 245, .1), rgba(124, 58, 237, .08));
        color: #4c6ef5;
        font-weight: 600;
        border-left: 3px solid #4c6ef5
    }

    .dark .sidebar-link.active {
        background: linear-gradient(135deg, rgba(76, 110, 245, .2), rgba(124, 58, 237, .12));
        color: #748ffc
    }

    .card-hover {
        transition: all .4s
    }

    .card-hover:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, .08)
    }

    .dark .card-hover:hover {
        box-shadow: 0 20px 40px rgba(0, 0, 0, .4)
    }

    .header-sticky {
        position: sticky;
        top: 0;
        z-index: 30
    }

    @keyframes pulse-dot {
        0% {
            box-shadow: 0 0 0 0 rgba(34, 197, 94, .4)
        }

        70% {
            box-shadow: 0 0 0 8px transparent
        }

        100% {
            box-shadow: 0 0 0 0 transparent
        }
    }

    .pulse-dot {
        animation: pulse-dot 2s infinite
    }

    @keyframes spin-anim {
        from {
            transform: rotate(0)
        }

        to {
            transform: rotate(360deg)
        }
    }

    .spinning {
        animation: spin-anim 1s linear infinite
    }

    .toast-enter {
        animation: slideIn .4s
    }

    @keyframes slideIn {
        from {
            transform: translateX(100%);
            opacity: 0
        }

        to {
            transform: translateX(0);
            opacity: 1
        }
    }

    .ig-bg {
        background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888)
    }

    .x-bg {
        background: #000
    }

    .fb-bg {
        background: #1877f2
    }

    .li-bg {
        background: #0a66c2
    }

    .yt-bg {
        background: #ff0000
    }

    .tt-bg {
        background: linear-gradient(135deg, #25f4ee, #fe2c55)
    }

    .pin-bg {
        background: #e60023
    }

    .snap-bg {
        background: #fffc00
    }

    .th-bg {
        background: #000
    }

    .rd-bg {
        background: #ff4500
    }

    .overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .5);
        backdrop-filter: blur(4px);
        z-index: 40;
        display: none
    }

    .overlay.show {
        display: block
    }

    .modal {
        position: fixed;
        inset: 0;
        z-index: 200;
        display: none;
        align-items: center;
        justify-content: center
    }

    .modal.show {
        display: flex
    }

    .account-card {
        transition: all .3s cubic-bezier(.4, 0, .2, 1);
        position: relative;
        overflow: hidden
    }

    .account-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--brand-color-1, #4c6ef5), var(--brand-color-2, #7c3aed));
        opacity: 0;
        transition: opacity .3s
    }

    .account-card:hover::before {
        opacity: 1
    }

    .account-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .15)
    }

    .dark .account-card:hover {
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .5)
    }

    .toggle-switch {
        position: relative;
        width: 44px;
        height: 24px;
        background: #cbd5e1;
        border-radius: 9999px;
        cursor: pointer;
        transition: background .3s
    }

    .dark .toggle-switch {
        background: #334155
    }

    .toggle-switch.on {
        background: #4c6ef5
    }

    .toggle-switch::after {
        content: '';
        position: absolute;
        top: 2px;
        left: 2px;
        width: 20px;
        height: 20px;
        background: white;
        border-radius: 50%;
        transition: transform .3s;
        box-shadow: 0 2px 4px rgba(0, 0, 0, .2)
    }

    .toggle-switch.on::after {
        transform: translateX(20px)
    }

    .add-account-tile {
        border: 2px dashed #cbd5e1;
        transition: all .3s
    }

    .dark .add-account-tile {
        border: 2px dashed #475569
    }

    .add-account-tile:hover {
        border-color: #4c6ef5;
        background: rgba(76, 110, 245, .05)
    }

    .platform-select-btn {
        transition: all .3s
    }

    .platform-select-btn:hover {
        transform: scale(1.05);
        box-shadow: 0 10px 25px rgba(0, 0, 0, .15)
    }

    .status-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        display: inline-block
    }

    .status-connected {
        background: #22c55e;
        box-shadow: 0 0 8px rgba(34, 197, 94, .5)
    }

    .status-warning {
        background: #f59e0b;
        box-shadow: 0 0 8px rgba(245, 158, 11, .5)
    }

    .status-error {
        background: #ef4444;
        box-shadow: 0 0 8px rgba(239, 68, 68, .5)
    }

    .status-disconnected {
        background: #94a3b8
    }

    .tab-btn {
        padding: 8px 16px;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 500;
        transition: all .3s;
        cursor: pointer;
        color: #64748b
    }

    .dark .tab-btn {
        color: #94a3b8
    }

    .tab-btn:hover {
        color: #4c6ef5
    }

    .tab-btn.active {
        background: #4c6ef5;
        color: white
    }