/* رهنو — تم تاریک/روشن هم‌راستا با پرتال و سایت اصلی */

html[data-theme="dark"] {
    --paper: #0b1220;
    --paper-soft: #111a2c;
    --paper-deep: #0f1727;
    --surface: #111a2c;
    --surface-2: #16213a;
    --ink: #e7eef6;
    --ink-soft: #c3d0dd;
    --muted: #93a4b6;
    --muted-2: #7b8d9f;
    --line: #22314a;
    --line-soft: #1b2739;
    --accent: #3fae8c;
    --accent-deep: #2e8f72;
    --accent-soft: #12332a;
    --accent-tint: #0f2620;
    --gold: #d9b361;
    --gold-soft: #2a2314;
    --danger: #e0736a;
    --danger-soft: #2a1512;
    --ok: #54c391;
    --ok-soft: #0f2a1e;
    --warn: #d9b361;
    --warn-soft: #2a2314;
    --info: #7fb0dd;
    --info-soft: #122537;
    --ring: 0 0 0 3px rgba(63, 174, 140, .25);
    --shadow-1: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-2: 0 14px 34px -22px rgba(0, 0, 0, .7);
    --shadow-3: 0 30px 70px -38px rgba(0, 0, 0, .8);
}

html[data-theme="dark"] body {
    background-color: #0b1220;
    background-image: none;
    color: var(--ink);
}

html[data-theme="dark"] .topbar {
    background: rgba(17, 26, 44, .94);
}

html[data-theme="dark"] .side {
    background: #0f1727;
    border-color: var(--line-soft);
}

html[data-theme="dark"] .side--dark {
    background: #071019;
}

html[data-theme="dark"] .side-user:hover {
    background: #16213a;
}

html[data-theme="dark"] .field.is-invalid .control {
    background: #2a1512;
}

html[data-theme="dark"] .table th {
    background: #16213a;
}

html[data-theme="dark"] .alert {
    border-color: var(--line);
}

html[data-theme="dark"] .avatar {
    background: #12332a;
    color: #8fd0b4;
}

html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
    color-scheme: dark;
}
