/* onecloud — روی Bootstrap RTL (محلی) سوار است؛ این فایل توکن‌ها و کل ظاهر برند را می‌سازد */

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Variable.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
}

:root {
    /* پالت برند «یک‌درجه» — همان زبان بصری افزونه‌ی «فروش شگفت‌انگیز»:
       کاغذی روشن + مرکب تیره + تأکید آجری/نارنجی */
    --bg: #faf9f7;
    --surface: #ffffff;
    --surface-2: #f5f2ee;
    --border: #ece6dd;
    --text: #14171c;
    --muted: #6b6f76;
    --accent: #c7431a;
    --accent-hover: #a8380f;
    --accent-soft: #fdece3;
    --accent-2: #f94327;
    --accent-2-soft: #fdeeee;
    --danger: #dc2626;
    --danger-soft: #fef2f2;
    --warn: #d97706;
    --warn-soft: #fffbeb;
    --ok: #16a34a;
    --ok-soft: #f0fdf4;

    --ink: #0f1720;
    --ink-2: #1a222d;
    --sidebar-bg: #0f1720;
    --sidebar-bg-2: #1a222d;
    --sidebar-text: #97a1ad;
    --sidebar-text-hover: #ffffff;
    --sidebar-active-bg: #26313f;
    --sidebar-border: rgba(255, 255, 255, 0.08);

    --radius: 14px;
    --radius-sm: 9px;
    --radius-lg: 18px;
    --gap: 16px;
    --sidebar-w: 252px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 32, 0.05), 0 1px 3px rgba(15, 23, 32, 0.06);
    --shadow-md: 0 4px 10px rgba(15, 23, 32, 0.10), 0 2px 4px rgba(15, 23, 32, 0.06);
    --shadow-focus: 0 0 0 3px rgba(199, 67, 26, 0.22);
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #16130f;
        --surface: #211c17;
        --surface-2: #29231d;
        --border: rgba(255, 255, 255, 0.08);
        --text: #f3efe9;
        --muted: #b0a89c;
        --accent: #e8703f;
        --accent-hover: #f2895c;
        --accent-soft: #3a2318;
        --accent-2: #f2895c;
        --accent-2-soft: #3a1e18;
        --danger: #f87171;
        --danger-soft: #3a1518;
        --warn: #fbbf24;
        --warn-soft: #3a2a0c;
        --ok: #4ade80;
        --ok-soft: #0f2e1a;

        --sidebar-bg: #0a0f14;
        --sidebar-bg-2: #12181f;
        --sidebar-active-bg: #223040;
        --sidebar-border: rgba(255, 255, 255, 0.06);
        --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
        --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.4);
        color-scheme: dark;
    }
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Vazirmatn', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
    font-size: 14px;
    line-height: 1.65;
    direction: rtl;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

.ltr-num {
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
}

img, svg {
    max-width: 100%;
}

button, input, select {
    font-family: inherit;
    font-size: inherit;
}

button {
    cursor: pointer;
}

/* دسترسی‌پذیری: حالت focus همیشه قابل مشاهده باشد */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition-duration: 0.001ms !important;
        animation-duration: 0.001ms !important;
    }
}

/* ---------- کلاس‌های کمکیِ CSP-safe (به‌جای style="" که با CSP کار نمی‌کند) ---------- */
.max-w-360 { max-width: 360px; }
.max-w-420 { max-width: 420px; }
.max-w-520 { max-width: 520px; }
.min-w-200 { min-width: 200px; }
.truncate-220 { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.truncate-260 { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h-6 { height: 6px; }
.fill-bar[data-width] { width: 0; }
.page-link-active { font-weight: 700; background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: 4px; }
.mb-8 { margin-bottom: 8px; }
.mb-14 { margin-bottom: 14px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mt-4 { margin-top: 4px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.p-0 { padding: 0; }
.ta-left { text-align: left; }
.fw-700 { font-weight: 700; }
.fs-12 { font-size: 12px; }
.fs-12-5 { font-size: 12.5px; }
.icon {
    width: 18px;
    height: 18px;
    vertical-align: -3px;
    flex-shrink: 0;
}

/* ---------- چیدمان ---------- */
.app-shell {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: var(--sidebar-w);
    flex-shrink: 0;
    background: linear-gradient(180deg, var(--sidebar-bg) 0%, var(--sidebar-bg-2) 100%);
    display: flex;
    flex-direction: column;
    padding: 22px 16px;
    position: sticky;
    top: 0;
    height: 100vh;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 28px;
    padding: 0 6px;
}

.sidebar-logo .logo-mark {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    color: #fff;
}

.sidebar-logo .logo-mark svg {
    width: 16px;
    height: 16px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: var(--sidebar-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 150ms ease, color 150ms ease;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--sidebar-text-hover);
}

.sidebar-link.active {
    background: var(--sidebar-active-bg);
    color: #fff;
    font-weight: 700;
    box-shadow: inset 3px 0 0 var(--accent-2);
}

.sidebar-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.sidebar-sep {
    height: 1px;
    background: var(--sidebar-border);
    margin: 14px 4px;
}

.sidebar-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 8px 0;
    border-top: 1px solid var(--sidebar-border);
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.sidebar-footer button {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: var(--radius-sm);
    color: var(--sidebar-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    transition: background 150ms ease, color 150ms ease;
}

.sidebar-footer button svg {
    width: 15px;
    height: 15px;
}

.sidebar-footer button:hover {
    background: var(--danger);
    color: #fff;
}

.main-wrap {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.main {
    flex: 1;
    min-width: 0;
    padding: 32px 36px;
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
}

.topbar {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--sidebar-bg);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 20;
}

.topbar strong {
    font-weight: 800;
}

.topbar-menu-btn {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: #fff;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.topbar-menu-btn svg {
    width: 20px;
    height: 20px;
}

.sidebar-backdrop {
    display: none;
}

@media (max-width: 860px) {
    .sidebar {
        position: fixed;
        right: 0;
        top: 0;
        transform: translateX(100%);
        z-index: 40;
        transition: transform 200ms ease;
        box-shadow: var(--shadow-md);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .topbar {
        display: flex;
    }

    .sidebar-backdrop.open {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 14, 33, 0.5);
        z-index: 30;
    }

    .main {
        padding: 20px 16px;
    }
}

/* ---------- بنر تیره‌ی بالای صفحه (زبان بصری افزونه‌ی «فروش شگفت‌انگیز») ---------- */
.page-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
    border-radius: var(--radius-lg);
    padding: 22px 26px;
    color: #fff;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
}

.page-banner-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    color: #fff;
}

.page-banner-icon svg {
    width: 22px;
    height: 22px;
}

.page-banner-body {
    flex: 1;
    min-width: 0;
}

.page-banner-title {
    font-size: 19px;
    font-weight: 800;
    margin: 0 0 3px;
    letter-spacing: -0.01em;
}

.page-banner-sub {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

.page-banner .oc-btn-primary {
    flex-shrink: 0;
}

@media (max-width: 560px) {
    .page-banner {
        flex-wrap: wrap;
        padding: 18px;
    }

    .page-banner .oc-btn-primary {
        width: 100%;
    }
}

/* ---------- سوییچ روشن/خاموش (به‌جای چک‌باکس ساده) ---------- */
.oc-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
    user-select: none;
}

.oc-switch input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.oc-switch-track {
    width: 42px;
    height: 24px;
    border-radius: 999px;
    background: var(--border);
    flex-shrink: 0;
    position: relative;
    transition: background 150ms ease;
}

.oc-switch-track::after {
    content: '';
    position: absolute;
    top: 3px;
    right: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    transition: transform 150ms ease;
}

.oc-switch input:checked + .oc-switch-track {
    background: var(--accent);
}

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

.oc-switch input:focus-visible + .oc-switch-track {
    box-shadow: var(--shadow-focus);
}

/* ---------- کاشی‌های انتخابیِ بزرگ (به‌جای رادیو/سلکت ساده) ---------- */
.tile-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.tile-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px 16px;
    cursor: pointer;
    background: var(--surface);
    transition: border-color 150ms ease, background 150ms ease;
}

.tile-option input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.tile-option-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-2);
    color: var(--muted);
    transition: background 150ms ease, color 150ms ease;
}

.tile-option-icon svg {
    width: 17px;
    height: 17px;
}

.tile-option-body {
    flex: 1;
    min-width: 0;
}

.tile-option-title {
    font-size: 13.5px;
    font-weight: 700;
    display: block;
}

.tile-option-desc {
    font-size: 12px;
    color: var(--muted);
    display: block;
    margin-top: 1px;
}

.tile-option:hover {
    border-color: var(--accent);
}

.tile-option:has(input:checked) {
    border-color: var(--accent);
    background: var(--accent-soft);
}

.tile-option:has(input:checked) .tile-option-icon {
    background: var(--accent);
    color: #fff;
}

.tile-option:has(input:focus-visible) {
    box-shadow: var(--shadow-focus);
}

/* ---------- کامپوننت‌ها ---------- */
.oc-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 22px;
}

.grid {
    display: grid;
    gap: var(--gap);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 720px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

.stat-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stat-card .stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    color: var(--accent);
    margin-bottom: 2px;
}

.stat-card .stat-icon svg {
    width: 19px;
    height: 19px;
}

.stat-card .label {
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
}

.stat-card .value {
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.oc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 150ms ease, border-color 150ms ease, color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
    min-height: 40px;
}

.oc-btn svg {
    width: 16px;
    height: 16px;
}

.oc-btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.35);
}

.oc-btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.4);
    transform: translateY(-1px);
}

.oc-btn-ghost {
    background: var(--surface);
    border-color: var(--border);
    color: var(--text);
}

.oc-btn-ghost:hover {
    background: var(--accent-soft);
    border-color: var(--accent);
    color: var(--accent-hover);
}

.oc-btn-danger {
    background: var(--surface);
    border-color: var(--border);
    color: var(--danger);
}

.oc-btn-danger:hover {
    background: var(--danger-soft);
    border-color: var(--danger);
}

.oc-btn-sm {
    padding: 6px 12px;
    font-size: 13px;
    min-height: 33px;
}

.oc-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none !important;
}

.input, select.input {
    width: 100%;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    background: var(--surface);
    color: var(--text);
    min-height: 42px;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.input:focus {
    border-color: var(--accent);
    box-shadow: var(--shadow-focus);
    outline: none;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
}

.field-error {
    color: var(--danger);
    font-size: 13px;
}

.oc-progress {
    height: 9px;
    border-radius: 999px;
    background: var(--bg);
    border: 1px solid var(--border);
    overflow: hidden;
}

.oc-progress-bar {
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
    transition: width 300ms ease;
}

.oc-progress-bar.warn {
    background: var(--warn);
}

.oc-progress-bar.danger {
    background: var(--danger);
}

.oc-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.oc-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

.oc-badge-ok {
    background: var(--ok-soft);
    color: var(--ok);
}

.oc-badge-warn {
    background: var(--warn-soft);
    color: var(--warn);
}

.oc-badge-danger {
    background: var(--danger-soft);
    color: var(--danger);
}

.oc-badge-muted {
    background: var(--bg);
    color: var(--muted);
}

table.oc-table {
    width: 100%;
    border-collapse: collapse;
}

.oc-table th, .oc-table td {
    text-align: start;
    padding: 13px 12px;
    border-bottom: 1px solid var(--border);
    font-size: 13.5px;
}

.oc-table th {
    color: var(--muted);
    font-weight: 700;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.oc-table tbody tr {
    transition: background 120ms ease;
}

.oc-table tbody tr:hover {
    background: var(--surface-2);
}

.oc-table tr:last-child td {
    border-bottom: none;
}

@media (max-width: 640px) {
    .oc-table thead {
        display: none;
    }

    .oc-table, .oc-table tbody, .oc-table tr, .oc-table td {
        display: block;
        width: 100%;
    }

    .oc-table tbody tr:hover {
        background: none;
    }

    .oc-table tr {
        border: 1px solid var(--border);
        border-radius: var(--radius);
        margin-bottom: 10px;
        padding: 10px 14px;
    }

    .oc-table td {
        border-bottom: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        padding: 7px 0;
    }

    .oc-table td::before {
        content: attr(data-label);
        color: var(--muted);
        font-size: 12.5px;
        font-weight: 600;
    }
}

.empty-state {
    text-align: center;
    padding: 56px 20px;
    color: var(--muted);
}

.empty-state svg {
    width: 26px;
    height: 26px;
    opacity: 0.8;
}

.empty-state > svg:first-child {
    width: 52px;
    height: 52px;
    padding: 13px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    margin-bottom: 16px;
    opacity: 1;
}

.oc-toast {
    position: fixed;
    bottom: 24px;
    inset-inline-start: 50%;
    transform: translateX(50%) translateY(20px);
    background: var(--text);
    color: var(--surface);
    padding: 11px 20px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease, transform 200ms ease;
    z-index: 100;
}

.oc-toast.show {
    opacity: 1;
    transform: translateX(50%) translateY(0);
    pointer-events: auto;
}

dialog.oc-modal {
    border: none;
    border-radius: var(--radius-lg);
    padding: 0;
    width: min(440px, 92vw);
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow-md);
}

dialog.oc-modal::backdrop {
    background: rgba(15, 14, 33, 0.45);
    backdrop-filter: blur(1px);
}

.oc-modal-body {
    padding: 30px;
}

.oc-modal-body .field {
    margin-bottom: 22px;
}

.oc-modal-title {
    font-weight: 800;
    font-size: 17px;
    margin-bottom: 22px;
}

.oc-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}

.flash {
    padding: 13px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 13.5px;
    font-weight: 600;
}

.flash-success {
    background: var(--ok-soft);
    color: var(--ok);
}

.flash-error {
    background: var(--danger-soft);
    color: var(--danger);
}

.dropzone {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 56px 20px;
    text-align: center;
    color: var(--muted);
    cursor: pointer;
    transition: border-color 150ms ease, background 150ms ease;
}

.dropzone:hover {
    border-color: var(--accent);
    background: var(--surface-2);
}

.dropzone.drag {
    border-color: var(--accent);
    background: var(--accent-soft);
}

.dropzone svg {
    width: 30px;
    height: 30px;
    padding: 12px;
    box-sizing: content-box;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    margin-bottom: 14px;
}

.upload-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-top: 10px;
    background: var(--surface);
}

.upload-row .info .oc-progress {
    margin-top: 8px;
}

.upload-row .info {
    flex: 1;
    min-width: 0;
}

.upload-row .name {
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.upload-row .size {
    color: var(--muted);
    font-size: 12.5px;
}

.upload-row .percent {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--accent);
    min-width: 34px;
    text-align: end;
}

.upload-row .link-box {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.copy-input {
    flex: 1;
    min-width: 0;
    padding: 7px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    color: var(--text);
    direction: ltr;
    font-size: 12.5px;
}

.oc-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.page-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
}

.muted {
    color: var(--muted);
}

.section-title {
    font-size: 15px;
    font-weight: 800;
    margin: 32px 0 14px;
}

/* صفحه‌ی ورود و دانلود عمومی */
.center-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background:
        radial-gradient(circle at 15% 10%, rgba(199, 67, 26, 0.10), transparent 40%),
        radial-gradient(circle at 85% 90%, rgba(15, 23, 32, 0.06), transparent 40%),
        var(--bg);
}

.auth-card {
    width: 100%;
    max-width: 380px;
    box-shadow: var(--shadow-md);
    padding: 32px 28px;
}

.auth-card .sidebar-logo {
    justify-content: center;
    color: var(--text);
    margin-bottom: 24px;
}

.public-card {
    width: 100%;
    max-width: 400px;
    text-align: center;
    box-shadow: var(--shadow-md);
    padding: 36px 28px;
}

.public-card .file-icon {
    width: 56px;
    height: 56px;
    padding: 14px;
    box-sizing: content-box;
    border-radius: 50%;
    margin: 0 auto 18px;
    background: var(--accent-soft);
    color: var(--accent);
}

.public-card .file-name {
    font-weight: 800;
    font-size: 17px;
    word-break: break-word;
    margin-bottom: 4px;
}

.public-card .file-size {
    color: var(--muted);
    margin-bottom: 22px;
}

.public-brand {
    margin-top: 20px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--muted);
}

.oc-pagination {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 22px;
}

.quota-line {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    margin-bottom: 9px;
}
