/* Pusat Pengaturan — struktur (warna di-override skin: indigo | ocean | sunset) */
:root {
    --as-bg: #f4f6fb;
    --as-surface: #ffffff;
    --as-ink: #0f172a;
    --as-muted: #64748b;
    --as-line: rgba(15, 23, 42, 0.08);
    --as-indigo: #4f46e5;
    --as-indigo-2: #7c3aed;
    --as-teal: #0d9488;
    --as-sky: #0284c7;
    --as-amber: #d97706;
    --as-rose: #e11d48;
    --as-emerald: #059669;
    --as-shadow: 0 18px 40px -24px rgba(15, 23, 42, 0.35);
    --as-radius: 18px;
    --as-hero: linear-gradient(135deg, #1e1b4b 0%, #4f46e5 52%, #0ea5e9 100%);
    --as-hero-dash: linear-gradient(135deg, #312e81 0%, #4f46e5 46%, #0ea5e9 100%);
    --as-hero-shadow: 0 24px 50px -28px rgba(79, 70, 229, 0.75);
    --as-hero-dash-shadow: 0 30px 60px -32px rgba(79, 70, 229, 0.7);
    --as-sidebar:
        radial-gradient(1200px 280px at 0% -10%, rgba(99, 102, 241, 0.35), transparent 50%),
        radial-gradient(800px 240px at 100% 100%, rgba(14, 165, 233, 0.18), transparent 46%),
        linear-gradient(180deg, #0b1220 0%, #111827 55%, #0f172a 100%);
    --as-sidebar-active: linear-gradient(90deg, rgba(79, 70, 229, 0.38), rgba(79, 70, 229, 0.12));
    --as-sidebar-active-bar: #818cf8;
    --as-sidebar-kicker: rgba(165, 180, 252, 0.85);
    --as-btn-primary: linear-gradient(135deg, #4f46e5, #2563eb);
    --as-btn-primary-shadow: 0 12px 24px -16px rgba(37, 99, 235, 0.9);
    --as-header-hover: rgba(79, 70, 229, 0.08);
    --as-fill-indigo: linear-gradient(135deg, #6366f1, #4f46e5);
    --as-fill-teal: linear-gradient(135deg, #14b8a6, #0d9488);
    --as-fill-sky: linear-gradient(135deg, #38bdf8, #0284c7);
    --as-fill-amber: linear-gradient(135deg, #fbbf24, #d97706);
    --as-fill-rose: linear-gradient(135deg, #fb7185, #e11d48);
    --as-fill-emerald: linear-gradient(135deg, #34d399, #059669);
    --as-fill-violet: linear-gradient(135deg, #a78bfa, #7c3aed);
    --as-soft: #f8fafc;
    --as-tint: #eef2ff;
    --as-line-accent: #c7d2fe;
    --as-hover-border: rgba(79, 70, 229, 0.22);
    --as-active-fill: linear-gradient(90deg, rgba(79, 70, 229, 0.12), rgba(14, 165, 233, 0.08));
    --as-active-border: rgba(79, 70, 229, 0.28);
    --as-focus-ring: rgba(99, 102, 241, 0.18);
    --as-orb-soft: rgba(14, 165, 233, 0.32);
    --as-drop-bg: linear-gradient(180deg, #f8fafc, #eef2ff);
}

.as-page {
    background: var(--as-bg);
}

.as-page .c-body,
.as-page .c-main {
    background: transparent;
}

.as-page .c-main {
    padding-top: 1.25rem;
}

.as-page .c-footer {
    background: transparent;
    border-top: 1px solid var(--as-line);
    color: var(--as-muted);
    font-size: 12px;
}

/* Header setting */
.c-app .c-header.c-header-light {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--as-line);
    box-shadow: 0 8px 24px -20px rgba(15, 23, 42, 0.45);
}

.c-app .c-header .c-header-nav-link {
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--as-ink);
}

.c-app .c-header-toggler {
    border-radius: 10px;
}

.c-app .c-header-toggler:hover {
    background: var(--as-header-hover);
}

/* ========== Sidebar override ========== */
.c-sidebar.c-sidebar-dark#sidebar {
    background: var(--as-sidebar);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 12px 0 40px -28px rgba(0, 0, 0, 0.7);
}

.c-sidebar#sidebar .c-sidebar-brand {
    background: transparent;
    min-height: 76px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    justify-content: flex-start;
    padding: 0 14px;
}

.c-sidebar#sidebar .as-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    min-width: 0;
}

.c-sidebar#sidebar .as-brand img {
    margin: 0 !important;
    height: 42px;
    width: 42px;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    padding: 4px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.c-sidebar#sidebar .as-brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.c-sidebar#sidebar .as-brand-kicker {
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--as-sidebar-kicker);
    font-weight: 700;
    line-height: 1;
}

.c-sidebar#sidebar .as-brand-title {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.02em;
}

.c-sidebar#sidebar .c-sidebar-nav {
    padding: 12px 10px 28px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.c-sidebar#sidebar .c-sidebar-nav::-webkit-scrollbar {
    width: 6px;
}

.c-sidebar#sidebar .c-sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.16);
    border-radius: 99px;
}

.c-sidebar#sidebar .c-sidebar-nav-title {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 10px;
    font-weight: 700;
    color: rgba(148, 163, 184, 0.9);
    padding: 18px 12px 8px;
    opacity: 1;
}

.c-sidebar#sidebar .c-sidebar-nav-item {
    margin: 2px 0;
}

.c-sidebar#sidebar .c-sidebar-nav-link {
    border-radius: 12px;
    margin: 0;
    padding: 9px 12px;
    color: rgba(226, 232, 240, 0.88);
    font-weight: 500;
    font-size: 13px;
    line-height: 1.3;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.c-sidebar#sidebar .c-sidebar-nav-link .c-sidebar-nav-icon {
    color: inherit;
    width: 1.35rem;
    margin-right: 10px;
    font-size: 14px;
    text-align: center;
    opacity: 0.92;
}

.c-sidebar#sidebar .c-sidebar-nav-link .c-sidebar-nav-icon.fa {
    font-family: FontAwesome !important;
    font-style: normal;
    font-weight: normal;
}

.c-sidebar#sidebar .c-sidebar-nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transform: translateX(3px);
    text-decoration: none;
}

.c-sidebar#sidebar .c-sidebar-nav-link.c-active,
.c-sidebar#sidebar .c-sidebar-nav-link.active {
    background: var(--as-sidebar-active);
    color: #fff;
    box-shadow: inset 3px 0 0 var(--as-sidebar-active-bar);
}

.c-sidebar#sidebar .c-sidebar-nav-link.c-active .c-sidebar-nav-icon,
.c-sidebar#sidebar .c-sidebar-nav-link:hover .c-sidebar-nav-icon {
    opacity: 1;
}

.c-sidebar#sidebar .as-link--indigo .c-sidebar-nav-icon { color: #a5b4fc; }
.c-sidebar#sidebar .as-link--teal .c-sidebar-nav-icon { color: #5eead4; }
.c-sidebar#sidebar .as-link--sky .c-sidebar-nav-icon { color: #7dd3fc; }
.c-sidebar#sidebar .as-link--amber .c-sidebar-nav-icon { color: #fcd34d; }
.c-sidebar#sidebar .as-link--rose .c-sidebar-nav-icon { color: #fda4af; }
.c-sidebar#sidebar .as-link--emerald .c-sidebar-nav-icon { color: #6ee7b7; }
.c-sidebar#sidebar .as-link--violet .c-sidebar-nav-icon { color: #c4b5fd; }

.c-sidebar#sidebar .as-link--danger {
    color: #fecaca;
}

.c-sidebar#sidebar .as-link--danger:hover,
.c-sidebar#sidebar .as-link--danger.c-active {
    background: rgba(225, 29, 72, 0.18);
    box-shadow: inset 3px 0 0 #fb7185;
    color: #fff;
}

.c-sidebar#sidebar .c-sidebar-minimizer {
    background: rgba(255, 255, 255, 0.04);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.c-sidebar.c-sidebar-minimized#sidebar .as-brand-copy {
    display: none;
}

.c-sidebar.c-sidebar-minimized#sidebar .c-sidebar-brand,
.c-sidebar.c-sidebar-minimized#sidebar .as-brand {
    justify-content: center;
    padding: 0;
}

.c-sidebar.c-sidebar-minimized#sidebar .c-sidebar-nav-link:hover {
    transform: none;
}

/* ========== Dashboard ========== */
.as-dash {
    font-family: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
    color: var(--as-ink);
    padding-bottom: 2rem;
}

.as-hero {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 28px 28px 26px;
    color: #fff;
    background: var(--as-hero-dash);
    box-shadow: var(--as-hero-dash-shadow);
    margin-bottom: 22px;
    isolation: isolate;
}

.as-hero::before,
.as-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.as-hero::before {
    width: 280px;
    height: 280px;
    right: -60px;
    top: -90px;
    background: rgba(255, 255, 255, 0.16);
    animation: as-float 8s ease-in-out infinite;
}

.as-hero::after {
    width: 180px;
    height: 180px;
    left: 18%;
    bottom: -80px;
    background: rgba(14, 165, 233, 0.35);
    animation: as-float 11s ease-in-out infinite reverse;
}

.as-orb {
    position: absolute;
    width: 90px;
    height: 90px;
    right: 18%;
    bottom: 18px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(18deg);
    animation: as-spin-slow 18s linear infinite;
    z-index: 0;
}

.as-hero-inner {
    position: relative;
    z-index: 1;
}

.as-hero-top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.as-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 6px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.as-hero h1 {
    font-size: 30px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin: 0 0 8px;
    color: #fff;
}

.as-hero p.as-lead {
    margin: 0;
    max-width: 640px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14.5px;
}

.as-hero-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.as-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    border-radius: 12px;
    padding: 10px 14px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.as-btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.as-btn-light {
    background: #fff;
    color: var(--as-ink);
    box-shadow: 0 10px 24px -16px rgba(0, 0, 0, 0.5);
}

.as-btn-ghost {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.as-search-wrap {
    margin-top: 22px;
    position: relative;
    max-width: 560px;
}

.as-search-wrap i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
}

.as-search {
    width: 100%;
    border: 0;
    border-radius: 16px;
    padding: 14px 16px 14px 42px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--as-ink);
    box-shadow: 0 16px 30px -22px rgba(15, 23, 42, 0.7);
    outline: none;
}

.as-search:focus {
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.28), 0 16px 30px -22px rgba(15, 23, 42, 0.7);
}

.as-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0 8px;
}

.as-stat {
    background: var(--as-surface);
    border: 1px solid var(--as-line);
    border-radius: 16px;
    padding: 14px 16px;
    box-shadow: var(--as-shadow);
    display: flex;
    gap: 12px;
    align-items: center;
    animation: as-rise 0.55s ease both;
}

.as-stat:nth-child(2) { animation-delay: 0.06s; }
.as-stat:nth-child(3) { animation-delay: 0.12s; }
.as-stat:nth-child(4) { animation-delay: 0.18s; }

.as-stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    flex-shrink: 0;
}

.as-stat b {
    display: block;
    font-size: 20px;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.as-stat span {
    color: var(--as-muted);
    font-size: 12px;
    font-weight: 600;
}

.as-section {
    margin-top: 8px;
    margin-bottom: 22px;
    animation: as-rise 0.6s ease both;
}

.as-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin: 8px 4px 12px;
}

.as-section-head h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.as-section-head p {
    margin: 2px 0 0;
    color: var(--as-muted);
    font-size: 13px;
}

.as-chip {
    font-size: 11px;
    font-weight: 700;
    color: var(--as-muted);
    background: #fff;
    border: 1px solid var(--as-line);
    border-radius: 999px;
    padding: 4px 10px;
}

.as-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.as-card {
    --as-accent: var(--as-indigo);
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--as-surface);
    border: 1px solid var(--as-line);
    border-radius: var(--as-radius);
    padding: 16px;
    text-decoration: none;
    color: var(--as-ink);
    box-shadow: var(--as-shadow);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    animation: as-rise 0.55s ease both;
}

.as-card > div {
    flex: 1;
    min-width: 0;
}

.as-card::after {
    content: "";
    position: absolute;
    inset: auto -20% -40% auto;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--as-accent);
    opacity: 0.08;
    pointer-events: none;
}

.as-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 40px -24px rgba(15, 23, 42, 0.45);
    border-color: rgba(79, 70, 229, 0.25);
    text-decoration: none;
    color: inherit;
}

.as-card:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.25);
}

.as-ico {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    flex-shrink: 0;
    font-size: 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: transform 0.25s ease;
}

.as-card:hover .as-ico {
    transform: rotate(-8deg) scale(1.08);
}

.as-card h3 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.as-card p {
    margin: 0;
    color: var(--as-muted);
    font-size: 12.5px;
    line-height: 1.45;
}

.as-card .as-go {
    margin-left: auto;
    color: #cbd5e1;
    align-self: center;
    transition: transform 0.2s ease, color 0.2s ease;
}

.as-card:hover .as-go {
    color: var(--as-accent);
    transform: translateX(4px);
}

.as-tone-indigo { --as-accent: var(--as-indigo); }
.as-tone-teal { --as-accent: var(--as-teal); }
.as-tone-sky { --as-accent: var(--as-sky); }
.as-tone-amber { --as-accent: var(--as-amber); }
.as-tone-rose { --as-accent: var(--as-rose); }
.as-tone-emerald { --as-accent: var(--as-emerald); }
.as-tone-violet { --as-accent: var(--as-indigo-2); }

.as-bg-indigo { background: var(--as-fill-indigo); }
.as-bg-teal { background: var(--as-fill-teal); }
.as-bg-sky { background: var(--as-fill-sky); }
.as-bg-amber { background: var(--as-fill-amber); }
.as-bg-rose { background: var(--as-fill-rose); }
.as-bg-emerald { background: var(--as-fill-emerald); }
.as-bg-violet { background: var(--as-fill-violet); }

.as-empty {
    display: none;
    text-align: center;
    padding: 48px 16px;
    color: var(--as-muted);
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
}

.as-empty.is-show {
    display: block;
    animation: as-rise 0.3s ease both;
}

.as-hidden {
    display: none !important;
}

@keyframes as-rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes as-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(16px); }
}

@keyframes as-spin-slow {
    from { transform: rotate(18deg); }
    to { transform: rotate(378deg); }
}

@media (max-width: 1199px) {
    .as-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .as-hero {
        padding: 22px 18px;
        border-radius: 22px;
    }

    .as-hero h1 {
        font-size: 24px;
    }

    .as-stats,
    .as-grid {
        grid-template-columns: 1fr;
    }

    .as-section-head {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .as-hero::before,
    .as-hero::after,
    .as-orb,
    .as-card,
    .as-stat,
    .as-section,
    .c-sidebar#sidebar .c-sidebar-nav-link {
        animation: none !important;
        transition: none !important;
    }
}

/* ========== Pengaturan Awal ========== */
.pa-page {
    font-family: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
    color: var(--as-ink);
    padding-bottom: 2rem;
}

.pa-hero {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: 22px 24px;
    margin-bottom: 18px;
    color: #fff;
    background: var(--as-hero);
    box-shadow: var(--as-hero-shadow);
    isolation: isolate;
    animation: as-rise 0.45s ease both;
}

.pa-hero::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -40px;
    top: -70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    animation: as-float 8s ease-in-out infinite;
    z-index: 0;
}

.pa-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.pa-crumb {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 8px;
}

.pa-crumb a {
    color: #fff;
    text-decoration: none;
}

.pa-hero h1 {
    margin: 0 0 6px;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #fff;
}

.pa-hero p {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 13.5px;
}

.pa-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 700;
}

.pa-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr) 330px;
    gap: 16px;
    align-items: start;
}

.pa-layout-2 {
    grid-template-columns: 250px minmax(0, 1fr);
}

.pa-card {
    background: #fff;
    border: 1px solid var(--as-line);
    border-radius: 20px;
    box-shadow: var(--as-shadow);
    padding: 16px;
    animation: as-rise 0.5s ease both;
}

.pa-card + .pa-card {
    margin-top: 14px;
}

.ec-split > .pa-card + .pa-card {
    margin-top: 0;
}

.pa-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.pa-card-head h2,
.pa-card-head h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.pa-card-head p {
    margin: 3px 0 0;
    color: var(--as-muted);
    font-size: 12px;
}

.pa-ico {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    color: #fff;
    flex-shrink: 0;
}

.pa-outlet {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pa-outlet a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 11px 12px;
    border-radius: 14px;
    text-decoration: none;
    color: var(--as-ink);
    background: var(--as-soft);
    border: 1px solid transparent;
    font-weight: 700;
    font-size: 13px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.pa-outlet a:hover {
    transform: translateX(3px);
    text-decoration: none;
    color: var(--as-ink);
    border-color: var(--as-hover-border);
}

.pa-outlet a.is-active {
    background: var(--as-active-fill);
    border-color: var(--as-active-border);
    box-shadow: inset 3px 0 0 var(--as-indigo);
}

.pa-tag {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 3px 8px;
    background: #e2e8f0;
    color: #334155;
}

.pa-tag.is-pusat {
    background: #fef3c7;
    color: #92400e;
}

.pa-tag.is-on {
    background: #d1fae5;
    color: #065f46;
}

.pa-tag.is-off {
    background: #fee2e2;
    color: #9f1239;
}

.pa-note {
    margin-top: 14px;
    padding: 12px;
    border-radius: 14px;
    background: var(--as-soft);
    color: var(--as-muted);
    font-size: 12.5px;
    line-height: 1.45;
}

.pa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    border: 0;
    border-radius: 12px;
    padding: 11px 14px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pa-btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.pa-btn-primary {
    background: var(--as-btn-primary);
    color: #fff;
    box-shadow: var(--as-btn-primary-shadow);
}

.pa-btn-primary:hover { color: #fff; }

.pa-btn-ghost {
    background: #f1f5f9;
    color: var(--as-ink);
}

.pa-btn-warn {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
}

.pa-field {
    margin-bottom: 12px;
}

.pa-field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
}

.pa-field .form-control,
.pa-field select,
.pa-field input[type="time"],
.pa-field input[type="file"] {
    border-radius: 12px;
    border-color: #e2e8f0;
    min-height: 40px;
    font-size: 13px;
}

.pa-field .form-control:focus,
.pa-field select:focus {
    border-color: var(--as-sidebar-active-bar);
    box-shadow: 0 0 0 3px var(--as-focus-ring);
}

.pa-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.pa-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

.pa-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pa-logo img {
    width: 88px;
    height: 88px;
    object-fit: contain;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    padding: 8px;
}

.pa-hint {
    display: block;
    margin-top: 4px;
    color: var(--as-muted);
    font-size: 11.5px;
}

.pa-save {
    position: sticky;
    bottom: 12px;
    margin-top: 8px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border: 1px solid var(--as-line);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 12px 30px -18px rgba(15, 23, 42, 0.45);
}

.pa-online-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.pa-kode {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    background: #ecfdf5;
    color: #065f46;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}

.pa-sub {
    margin-left: 0;
    padding: 12px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
}

.modal-content.pa-modal {
    border: 0;
    border-radius: 20px;
    overflow: hidden;
}

.modal-content.pa-modal .modal-header {
    background: var(--as-hero);
    color: #fff;
    border: 0;
}

.modal-content.pa-modal .modal-title {
    font-weight: 800;
    font-size: 16px;
}

.modal-content.pa-modal .close {
    color: #fff;
    opacity: 0.85;
    text-shadow: none;
}

@media (max-width: 1199px) {
    .pa-layout {
        grid-template-columns: 230px minmax(0, 1fr);
    }

    .pa-online {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .pa-layout,
    .pa-grid-2,
    .pa-grid-3 {
        grid-template-columns: 1fr;
    }

    .pa-hero {
        padding: 18px;
        border-radius: 20px;
    }
}

/* ========== Pengaturan Awal — override modern ========== */
.pa-awal .pa-hero {
    padding: 26px 28px 24px;
    border-radius: 28px;
    margin-bottom: 16px;
}

.pa-awal .pa-hero::after {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    left: 22%;
    bottom: -70px;
    border-radius: 50%;
    background: var(--as-orb-soft);
    animation: as-float 11s ease-in-out infinite reverse;
    z-index: 0;
    pointer-events: none;
}

.pa-awal .pa-hero .as-kicker {
    margin-bottom: 10px;
}

.pa-awal .pa-hero h1 {
    font-size: 30px;
}

.pa-awal .pa-hero p {
    max-width: 520px;
    font-size: 14px;
}

.pa-id-chip {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 18px;
    padding: 10px 14px 10px 10px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.pa-id-chip img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    background: #fff;
    border-radius: 14px;
    padding: 4px;
}

.pa-id-chip b {
    display: block;
    font-size: 14px;
    letter-spacing: -0.02em;
}

.pa-id-chip span {
    display: block;
    font-size: 11.5px;
    opacity: 0.82;
    font-weight: 600;
}

.pa-awal-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.pa-awal-stats .as-stat b {
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.pa-awal .pa-layout-2 {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 18px;
}

.pa-awal-side {
    position: sticky;
    top: 84px;
}

.pa-awal-meter {
    margin-bottom: 14px;
}

.pa-awal-meter-top {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--as-muted);
    font-weight: 700;
    margin-bottom: 6px;
}

.pa-awal-meter-top b {
    color: var(--as-indigo);
}

.pa-awal-bar {
    height: 8px;
    border-radius: 999px;
    background: var(--as-tint);
    overflow: hidden;
}

.pa-awal-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--as-fill-indigo);
}

.pa-awal .pa-outlet a {
    padding: 10px 10px 10px 8px;
    align-items: center;
}

.pa-outlet-ava {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: var(--as-fill-indigo);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
}

.pa-outlet-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.pa-outlet-copy strong {
    font-size: 13px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pa-outlet-copy small {
    color: var(--as-muted);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.pa-awal-head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.pa-step {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    background: var(--as-tint);
    color: var(--as-indigo);
    flex-shrink: 0;
}

.pa-awal .pa-card {
    padding: 18px;
    border-radius: 22px;
}

.pa-awal .pa-field .form-control,
.pa-awal .pa-field select {
    min-height: 44px;
    border-radius: 14px;
    background: var(--as-soft);
    border-color: var(--as-line);
}

.pa-awal .pa-field .form-control:focus,
.pa-awal .pa-field select:focus {
    background: #fff;
}

.pa-struk-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 16px;
    align-items: start;
}

.pa-receipt {
    background:
        radial-gradient(circle at 12px 8px, transparent 7px, var(--as-tint) 8px) left top / 24px 16px repeat-x,
        var(--as-soft);
    border: 1px dashed var(--as-line-accent);
    border-radius: 16px;
    padding: 18px 10px 12px;
}

.pa-receipt-paper {
    background: #fff;
    border-radius: 4px;
    padding: 12px 10px;
    text-align: center;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    box-shadow: 0 10px 20px -16px rgba(15, 23, 42, 0.5);
}

.pa-receipt-paper img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    margin: 0 auto 6px;
    display: block;
}

.pa-receipt-paper strong {
    display: block;
    font-size: 11px;
    letter-spacing: 0.02em;
}

.pa-receipt-paper em,
.pa-receipt-paper span,
.pa-receipt-paper p {
    display: block;
    font-style: normal;
    font-size: 9.5px;
    color: var(--as-muted);
    margin: 2px 0 0;
    line-height: 1.35;
}

.pa-receipt-paper hr {
    border: 0;
    border-top: 1px dashed var(--as-line-accent);
    margin: 8px 0;
}

.pa-drop {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px;
    border: 1.5px dashed var(--as-line-accent);
    border-radius: 18px;
    background: var(--as-drop-bg);
    cursor: pointer;
    margin: 0;
}

.pa-drop:hover {
    border-color: var(--as-indigo);
    background: var(--as-tint);
}

.pa-drop img {
    width: 88px;
    height: 88px;
    object-fit: contain;
    background: #fff;
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 8px 20px -16px rgba(15, 23, 42, 0.55);
    flex-shrink: 0;
}

.pa-drop strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}

.pa-drop span {
    display: block;
    color: var(--as-muted);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.pa-drop input[type="file"] {
    max-width: 280px;
    background: #fff;
}

.pa-login-drop {
    flex-direction: column;
    align-items: stretch;
}

.pa-login-drop img {
    width: 100%;
    height: 160px;
    object-fit: contain;
}

.pa-awal .pa-save {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px;
    border-radius: 18px;
}

.pa-save-copy {
    min-width: 0;
}

.pa-save-copy strong {
    display: block;
    font-size: 13px;
}

.pa-save-copy span {
    display: block;
    color: var(--as-muted);
    font-size: 12px;
}

.pa-awal .pa-save .pa-btn {
    width: auto;
    min-width: 200px;
}

@media (max-width: 1199px) {
    .pa-awal-stats {
        grid-template-columns: 1fr 1fr;
    }

    .pa-awal .pa-layout-2 {
        grid-template-columns: 1fr;
    }

    .pa-awal-side {
        position: static;
    }
}

@media (max-width: 767px) {
    .pa-awal-stats,
    .pa-struk-split {
        grid-template-columns: 1fr;
    }

    .pa-awal .pa-save {
        flex-direction: column;
        align-items: stretch;
    }

    .pa-awal .pa-save .pa-btn {
        width: 100%;
    }

    .pa-drop {
        flex-direction: column;
        text-align: center;
    }
}

/* ========== Ecommerce ========== */
.ec-page {
    font-family: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
    color: var(--as-ink);
    padding-bottom: 2rem;
}

.ec-hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ec-select {
    min-width: 180px;
    border: 0;
    border-radius: 12px;
    padding: 10px 12px;
    font-weight: 700;
    font-size: 13px;
    color: var(--as-ink);
}

.ec-panel {
    background: #fff;
    border: 1px solid var(--as-line);
    border-radius: 22px;
    box-shadow: var(--as-shadow);
    padding: 16px;
    animation: as-rise 0.5s ease both;
}

.ec-tabs.nav-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    border: 0;
    background: #f1f5f9;
    border-radius: 16px;
    padding: 6px;
    margin: 0 0 16px;
}

.ec-tabs.nav-tabs .nav-item {
    margin: 0;
}

.ec-tabs.nav-tabs .nav-link {
    border: 0;
    border-radius: 12px;
    font-weight: 700;
    font-size: 13px;
    color: #64748b;
    padding: 10px 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ec-tabs.nav-tabs .nav-link i {
    width: 16px;
    text-align: center;
}

.ec-tabs.nav-tabs .nav-link:hover {
    color: var(--as-indigo);
    background: rgba(255, 255, 255, 0.7);
}

.ec-tabs.nav-tabs .nav-link.active {
    background: #fff;
    color: var(--as-indigo);
    box-shadow: 0 10px 22px -16px rgba(15, 23, 42, 0.55);
}

.ec-tab-body {
    padding: 4px 2px 8px;
}

.ec-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
}

.ec-media-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.ec-media {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    padding: 10px;
    overflow: hidden;
}

.ec-media img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    background: #fff;
    margin-bottom: 8px;
}

.ec-media.ec-media-tall img {
    height: 180px;
    object-fit: contain;
}

.ec-bank {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid var(--as-line);
    border-radius: 14px;
    margin-bottom: 8px;
    background: #f8fafc;
}

.ec-bank img {
    width: 64px;
    height: 36px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
}

.ec-bank b {
    display: block;
    font-size: 13px;
}

.ec-bank small {
    color: var(--as-muted);
}

.ec-bank-actions {
    margin-left: auto;
    display: flex;
    gap: 8px;
}

.ec-bank-actions a {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: #fff;
    color: #475569;
    text-decoration: none;
}

.ec-bank-actions a:hover {
    color: var(--as-indigo);
}

.ec-empty {
    text-align: center;
    padding: 24px 8px;
    color: var(--as-muted);
}

.ec-empty img {
    max-width: 160px;
    margin-bottom: 8px;
}

.modal-content.pa-modal .pa-field {
    margin-bottom: 12px;
}

@media (max-width: 991px) {
    .ec-split,
    .ec-media-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== Pengaturan Cetak ========== */
.pc-page .ec-split {
    margin-top: 0;
}

.pc-ttd {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 10px 0 12px;
}

.pc-ttd img {
    height: 72px;
    max-width: 160px;
    object-fit: contain;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 6px;
}

.pc-quill .ql-toolbar.ql-snow {
    border: 1px solid #e2e8f0;
    border-radius: 12px 12px 0 0;
    background: #f8fafc;
}

.pc-quill .ql-container.ql-snow {
    border: 1px solid #e2e8f0;
    border-top: 0;
    border-radius: 0 0 12px 12px;
    min-height: 180px;
    font-size: 14px;
    background: #fff;
}

.pc-quill .ql-editor {
    min-height: 180px;
}

.pa-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
}

.pa-table th {
    text-align: left;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--as-muted);
    font-weight: 800;
    padding: 8px 10px;
    border-bottom: 1px solid var(--as-line);
}

.pa-table td {
    padding: 11px 10px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.pa-table tbody tr:hover {
    background: #f8fafc;
}

.pa-switch {
    position: relative;
    display: inline-flex;
    width: 42px;
    height: 24px;
    margin: 0;
}

.pa-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.pa-switch-ui {
    position: absolute;
    inset: 0;
    background: #cbd5e1;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.18s ease;
}

.pa-switch-ui::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
    transition: transform 0.18s ease;
}

.pa-switch input:checked + .pa-switch-ui {
    background: var(--as-indigo);
}

.pa-switch input:checked + .pa-switch-ui::after {
    transform: translateX(18px);
}

.jn-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.jn-layout--full {
    grid-template-columns: 1fr;
}

.pa-page .dataTables_wrapper {
    font-size: 13px;
}

.pa-page .dataTables_wrapper .dataTables_length,
.pa-page .dataTables_wrapper .dataTables_filter {
    margin-bottom: 12px;
}

.pa-page .dataTables_wrapper .dataTables_filter input,
.pa-page .dataTables_wrapper .dataTables_length select {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 6px 10px;
    min-height: 36px;
}

.pa-page table.dataTable {
    border-collapse: separate !important;
    border-spacing: 0;
    width: 100% !important;
}

.pa-page table.dataTable thead th {
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--as-muted);
    font-weight: 800;
    border-bottom: 1px solid var(--as-line) !important;
    background: #f8fafc;
}

.pa-page table.dataTable tbody td {
    border-top: 1px solid #f1f5f9 !important;
    vertical-align: middle;
}

.pa-page .td-aksi .btn {
    border-radius: 10px;
    margin: 0 2px;
}

.pa-danger {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 16px;
    padding: 14px;
    margin-top: 14px;
}

.pa-danger h3 {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 800;
    color: #9a3412;
}

.pa-danger p {
    margin: 0 0 12px;
    color: #9a3412;
    font-size: 12.5px;
}

@media (max-width: 991px) {
    .jn-layout {
        grid-template-columns: 1fr;
    }
}

.as-mig {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
}

.as-mig + .as-mig {
    border-top: 1px solid var(--as-line);
}

.as-mig-ico {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 22px;
    flex-shrink: 0;
}

.as-mig-body {
    flex: 1;
    min-width: 0;
}

.as-mig-body h3 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 800;
}

.as-mig-body p {
    margin: 0;
    color: var(--as-muted);
    font-size: 12.5px;
}

.as-mig-form {
    width: 240px;
    flex-shrink: 0;
}

.as-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.as-plan {
    position: relative;
    background: #fff;
    border: 1px solid var(--as-line);
    border-radius: 20px;
    padding: 22px 18px 18px;
    text-align: center;
    box-shadow: var(--as-shadow);
}

.as-plan h3 {
    margin: 18px 0 6px;
    font-size: 14px;
    font-weight: 800;
}

.as-plan .price {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--as-indigo);
    margin: 8px 0;
}

.as-plan p {
    color: var(--as-muted);
    font-size: 12.5px;
}

.as-mod {
    display: inline-block;
    background: #eef2ff;
    color: #3730a3;
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 800;
    margin: 0 4px 4px 0;
}

.as-reset {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}

@media (max-width: 991px) {
    .as-plan-grid,
    .as-mig,
    .as-reset {
        grid-template-columns: 1fr;
        display: grid;
    }

    .as-mig-form {
        width: 100%;
    }
}

/* ========== Marketplace (Toko Sekitar) ========== */
.mp-roles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.mp-list {
    margin: 0;
    padding-left: 18px;
    color: var(--as-muted);
    font-size: 13px;
    line-height: 1.6;
}

.mp-list li + li {
    margin-top: 4px;
}

.mp-page .ec-split {
    grid-template-columns: 280px minmax(0, 1fr);
}

@media (max-width: 991px) {
    .mp-roles,
    .mp-page .ec-split {
        grid-template-columns: 1fr;
    }
}

/* Backup & restore */
.bk-mods {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}
.bk-mod {
    position: relative;
    margin: 0;
}
.bk-mod input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.bk-mod span {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 100%;
    border: 1px solid var(--as-line);
    border-radius: 16px;
    padding: 12px;
    background: var(--as-soft);
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.bk-mod span i {
    font-size: 18px;
    color: var(--as-indigo);
    margin-bottom: 2px;
}
.bk-mod span strong {
    font-size: 13px;
    font-weight: 800;
}
.bk-mod span em {
    font-style: normal;
    font-size: 12px;
    color: var(--as-muted);
    line-height: 1.4;
}
.bk-mod span small {
    font-size: 11px;
    font-weight: 700;
    color: var(--as-indigo);
}
.bk-mod input:checked + span {
    background: var(--as-active-fill);
    border-color: var(--as-active-border);
    box-shadow: inset 3px 0 0 var(--as-indigo);
}
.bk-mod input:focus-visible + span {
    box-shadow: 0 0 0 3px var(--as-focus-ring);
}
.bk-btn-inline {
    width: auto;
    min-width: 220px;
    margin-top: 4px;
}
.bk-form-inline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: end;
}
.bk-form-inline .pa-field {
    margin-bottom: 0;
}
.bk-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 22px;
}
.bk-check input {
    margin-top: 3px;
}
.bk-hr {
    border: 0;
    border-top: 1px solid #fed7aa;
    margin: 18px 0 14px;
}
.bk-page .pa-note code,
.bk-page .pa-danger code {
    font-size: 12px;
}
@media (max-width: 991px) {
    .bk-mods,
    .bk-form-inline,
    .bk-page .pa-grid-3,
    .bk-page .pa-grid-2 {
        grid-template-columns: 1fr;
    }
    .bk-btn-inline {
        width: 100%;
    }
}

/* My Account */
.acc-page .acc-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 22px;
    align-items: start;
}

.acc-page .acc-form-narrow {
    max-width: 520px;
}

.acc-page .acc-form-wide {
    max-width: 920px;
}

.acc-page .acc-id {
    background: var(--as-soft);
    border: 1px solid var(--as-line);
    border-radius: 16px;
    padding: 4px 16px;
}

.acc-page .acc-id-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 0;
    border-bottom: 1px solid var(--as-line);
    font-size: 13px;
}

.acc-page .acc-id-row:last-child {
    border-bottom: 0;
}

.acc-page .acc-id-row span {
    color: var(--as-muted);
    font-weight: 600;
}

.acc-page .acc-id-row strong {
    text-align: right;
    color: var(--as-ink);
    font-weight: 700;
}

.acc-page .acc-id-row em {
    display: block;
    font-style: normal;
    font-weight: 600;
    color: var(--as-muted);
    font-size: 11px;
}

.acc-page .acc-profile .acc-avatar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.acc-page .acc-profile .acc-avatar img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    border: 3px solid #fff;
    box-shadow: 0 10px 24px -16px rgba(15, 23, 42, 0.55);
}

.acc-page .acc-profile .acc-avatar h2 {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.acc-page .acc-profile .acc-avatar p {
    margin: 0;
    color: var(--as-muted);
    font-size: 13px;
}

.acc-page .acc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.acc-page .acc-help {
    color: var(--as-muted);
    font-size: 13px;
    line-height: 1.5;
}

.acc-page .acc-secret {
    margin-top: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.acc-page .acc-hr {
    border: 0;
    border-top: 1px solid var(--as-line);
    margin: 18px 0;
}

.acc-page .acc-codes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 24px;
    margin: 12px 0 18px;
}

.acc-page .acc-codes ul {
    margin: 0;
    padding-left: 18px;
}

.acc-page .acc-codes li {
    margin: 6px 0;
    font-size: 13px;
}

.acc-page .acc-codes code {
    font-weight: 700;
}

.acc-page .acc-code-used {
    color: var(--as-rose);
    font-weight: 700;
}

.acc-page .pa-note {
    margin-top: 0;
}

@media (max-width: 991px) {
    .acc-page .acc-split,
    .acc-page .acc-codes {
        grid-template-columns: 1fr;
    }
}

/* ========== Auth / Login ========== */
.auth-body {
    margin: 0;
    min-height: 100vh;
    font-family: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
    color: var(--as-ink);
    background: #0f172a;
}

.auth-shell {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 16px;
    background-image: var(--auth-photo);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.auth-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--as-hero);
    opacity: 0.58;
    mix-blend-mode: multiply;
}

.auth-shell::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(520px 220px at 12% 18%, var(--as-orb-soft), transparent 60%),
        radial-gradient(420px 180px at 88% 88%, rgba(255, 255, 255, 0.14), transparent 55%);
    pointer-events: none;
}

.auth-card {
    position: relative;
    z-index: 1;
    width: min(1060px, 100%);
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 28px;
    box-shadow: 0 32px 64px -28px rgba(15, 23, 42, 0.55);
    overflow: hidden;
    animation: as-rise 0.5s ease both;
}

.auth-card-split {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    min-height: 560px;
}

.auth-card-simple {
    width: min(460px, 100%);
}

.auth-visual {
    position: relative;
    background: #e8f6f8;
    min-height: 0;
    overflow: hidden;
}

.auth-visual img {
    position: absolute;
    inset: 12px;
    width: calc(100% - 24px);
    height: calc(100% - 24px);
    object-fit: contain;
    object-position: center;
}

.auth-panel {
    padding: 32px 36px 24px;
    display: flex;
    flex-direction: column;
}

.auth-panel-top,
.auth-panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--as-ink);
    min-width: 0;
}

.auth-brand:hover {
    text-decoration: none;
    color: var(--as-ink);
}

.auth-brand img,
.auth-brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    object-fit: contain;
    background: var(--as-tint);
    border: 1px solid var(--as-line);
    flex-shrink: 0;
}

.auth-brand-mark {
    display: grid;
    place-items: center;
    color: var(--as-indigo);
    font-size: 18px;
}

.auth-brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.auth-brand-copy strong {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.25;
    max-width: 240px;
}

.auth-brand-copy small {
    color: var(--as-muted);
    font-size: 11px;
    font-weight: 600;
}

.auth-lang-btn {
    border: 1px solid var(--as-line);
    background: var(--as-soft);
    color: var(--as-ink);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
}

.auth-lang-btn:after {
    margin-left: 6px;
}

.auth-panel-head,
.auth-panel-head {
    margin-bottom: 18px;
}

.auth-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--as-indigo);
    background: var(--as-tint);
    border: 1px solid var(--as-line-accent);
    border-radius: 999px;
    padding: 5px 10px;
    margin-bottom: 10px;
}

.auth-panel-head h1,
.auth-panel-head h1 {
    margin: 0 0 6px;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--as-ink);
}

.auth-panel-head p,
.auth-panel-head p {
    margin: 0;
    color: var(--as-muted);
    font-size: 13px;
}

.auth-form.form-horizontal .form-control {
    width: 100%;
}

.auth-panel .pa-field .form-control {
    min-height: 44px;
    border-radius: 12px;
    border-color: #e2e8f0;
    font-size: 14px;
}

.auth-panel .pa-field .form-control:focus {
    border-color: var(--as-sidebar-active-bar);
    box-shadow: 0 0 0 3px var(--as-focus-ring);
}

.auth-panel .alert {
    border: 0;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 600;
}

.auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 4px 0 16px;
}

.auth-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
}

.auth-check input {
    accent-color: var(--as-indigo);
}

.auth-forgot {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--as-indigo);
}

.auth-forgot:hover {
    color: var(--as-indigo-2);
    text-decoration: none;
}

.auth-submit {
    min-height: 46px;
    font-size: 14px;
    margin-top: 4px;
}

.auth-social {
    text-align: center;
}

.auth-social .btn {
    border-radius: 999px;
}

.auth-alt {
    margin: 16px 0 0;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--as-muted);
}

.auth-alt a {
    color: var(--as-indigo);
    font-weight: 800;
}

.auth-alt a:hover {
    text-decoration: none;
    color: var(--as-indigo-2);
}

.auth-foot {
    margin: auto 0 0;
    padding-top: 18px;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--as-muted);
}

@media (max-width: 899px) {
    .auth-card-split {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .auth-visual {
        height: 300px;
        min-height: 300px;
        padding: 0;
    }

    .auth-visual img {
        inset: 12px 12px 4px;
        width: calc(100% - 24px);
        height: calc(100% - 16px);
    }

    .auth-panel {
        padding: 22px 20px 18px;
    }

    .auth-panel-head h1,
    .auth-panel-head h1 {
        font-size: 22px;
    }

    .auth-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-card {
        animation: none;
    }
}
