:root {
    --vs-bg: #f5f7fb;
    --vs-card: #ffffff;
    --vs-border: #e6eaf2;
    --vs-text: #0f172a;
    --vs-muted: #64748b;
    --vs-primary: #2563eb;
    --vs-primary-dark: #1d4ed8;
    --vs-success: #16a34a;
    --vs-warning: #f59e0b;
    --vs-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    --vs-radius: 18px;
}

.vs-admin-wrap {
    margin: 20px 20px 0 0;
}

.vs-admin-shell {
    display: flex;
    min-height: calc(100vh - 80px);
    background: var(--vs-card);
    border: 1px solid var(--vs-border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--vs-shadow);
}

/* Sidebar */
.vs-admin-sidebar {
    width: 290px;
    background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
    color: #fff;
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255,255,255,0.05);
}

.vs-admin-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 6px 8px 22px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.vs-admin-brand-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    color: #fff;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.vs-admin-brand-meta h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.2;
    color: #fff;
}

.vs-admin-brand-meta span {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
}

.vs-admin-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
    flex: 1;
}

.vs-nav-item {
    width: 100%;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 14px;
    border-radius: 14px;
    cursor: pointer;
    text-align: left;
    transition: all 0.25s ease;
    position: relative;
}

.vs-nav-item:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.vs-nav-item.is-active {
    background: rgba(37, 99, 235, 0.18);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.22);
}

.vs-nav-icon {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.vs-nav-text {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
}

.vs-nav-badge {
    font-size: 11px;
    font-weight: 700;
    background: #f59e0b;
    color: #111827;
    padding: 3px 8px;
    border-radius: 999px;
}

.vs-admin-sidebar-footer {
    padding: 18px 8px 6px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.vs-admin-version {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255,255,255,0.75);
}

.vs-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 12px rgba(34,197,94,0.8);
}

/* Main */
.vs-admin-main {
    flex: 1;
    background: var(--vs-bg);
    display: flex;
    flex-direction: column;
}

.vs-admin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 28px 30px 22px;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--vs-border);
    position: sticky;
    top: 32px;
    z-index: 10;
}

.vs-admin-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--vs-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.vs-separator {
    opacity: 0.5;
}

.vs-admin-header h1 {
    margin: 0;
    font-size: 28px;
    line-height: 1.2;
    color: var(--vs-text);
    font-weight: 800;
}

.vs-admin-header p {
    margin: 8px 0 0;
    font-size: 14px;
    color: var(--vs-muted);
    max-width: 760px;
}

.vs-admin-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.vs-top-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: #ecfeff;
    color: #0f766e;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid #a5f3fc;
}

.vs-btn-primary,
.vs-btn-secondary {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    height: auto !important;
    padding: 10px 16px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    box-shadow: none !important;
}

.vs-btn-primary {
    background: var(--vs-primary) !important;
    border-color: var(--vs-primary) !important;
}

.vs-btn-primary:hover {
    background: var(--vs-primary-dark) !important;
    border-color: var(--vs-primary-dark) !important;
}

.vs-btn-secondary {
    border: 1px solid var(--vs-border) !important;
    background: #fff !important;
    color: var(--vs-text) !important;
}

/* Content */
.vs-admin-content {
    padding: 26px 30px 30px;
}

.vs-tab-panel {
    display: none;
}

.vs-tab-panel.is-active {
    display: block;
}

.vs-section-intro {
    margin-bottom: 22px;
}

.vs-section-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--vs-primary);
    margin-bottom: 8px;
}

.vs-section-intro h2 {
    margin: 0;
    font-size: 24px;
    color: var(--vs-text);
    font-weight: 800;
}

.vs-section-intro p {
    margin: 10px 0 0;
    font-size: 14px;
    color: var(--vs-muted);
    max-width: 850px;
}

.vs-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.vs-card {
    background: var(--vs-card);
    border: 1px solid var(--vs-border);
    border-radius: var(--vs-radius);
    padding: 22px;
    box-shadow: var(--vs-shadow);
}

.vs-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}

.vs-card h3 {
    margin: 0;
    font-size: 18px;
    color: var(--vs-text);
    font-weight: 700;
}

.vs-card p {
    margin: 8px 0 0;
    font-size: 14px;
    color: var(--vs-muted);
    line-height: 1.6;
}

.vs-card-badge {
    font-size: 11px;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 999px;
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fdba74;
    white-space: nowrap;
}

.vs-feature-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vs-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    color: var(--vs-text);
    font-size: 14px;
    font-weight: 500;
}

.vs-feature-item .dashicons {
    color: var(--vs-success);
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Responsive */
@media (max-width: 1200px) {
    .vs-grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 960px) {
    .vs-admin-shell {
        flex-direction: column;
    }

    .vs-admin-sidebar {
        width: 100%;
    }

    .vs-admin-header {
        position: static;
        flex-direction: column;
        align-items: stretch;
    }

    .vs-admin-header-right {
        justify-content: flex-start;
    }
}