/*
 * Zevo Yazılım — yönetim paneli stilleri (Bootstrap 5.3 üzerine).
 * Açık ve koyu görünüm data-bs-theme ile değişir; panel renkleri sitenin temasından bağımsızdır.
 */

:root {
    --a-primary: #4338ca;
    --a-primary-rgb: 67, 56, 202;
    --a-bg: #f4f5fa;
    --a-surface: #ffffff;
    --a-border: #e3e5ef;
    --a-text: #1b1d2e;
    --a-muted: #6a6f8a;
    --a-side-bg: #12142a;
    --a-side-text: #b9bcd6;
    --a-side-active: #ffffff;
    --a-radius: 12px;
    --bs-primary: var(--a-primary);
    --bs-primary-rgb: var(--a-primary-rgb);
    --bs-link-color: var(--a-primary);
    --bs-link-color-rgb: var(--a-primary-rgb);
    --bs-body-bg: var(--a-bg);
    --bs-body-color: var(--a-text);
    --bs-border-color: var(--a-border);
    --bs-border-radius: 10px;
    --bs-body-font-size: .92rem;
    --bs-body-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

[data-bs-theme="dark"] {
    --a-primary: #818cf8;
    --a-primary-rgb: 129, 140, 248;
    --a-bg: #0e1020;
    --a-surface: #161a30;
    --a-border: #272b48;
    --a-text: #e6e8f7;
    --a-muted: #9ca0c4;
    --a-side-bg: #0a0b18;
    --bs-body-bg: var(--a-bg);
    --bs-body-color: var(--a-text);
    --bs-border-color: var(--a-border);
    --bs-secondary-bg: #1d2140;
    --bs-tertiary-bg: #1a1e38;
}

body.admin {
    background: var(--a-bg);
    color: var(--a-text);
}

a {
    text-decoration: none;
}

.ic {
    flex-shrink: 0;
    vertical-align: -3px;
}

.btn {
    --bs-btn-font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.btn-primary {
    --bs-btn-bg: var(--a-primary);
    --bs-btn-border-color: var(--a-primary);
    --bs-btn-hover-bg: color-mix(in srgb, var(--a-primary) 85%, #000);
    --bs-btn-hover-border-color: color-mix(in srgb, var(--a-primary) 85%, #000);
    --bs-btn-active-bg: color-mix(in srgb, var(--a-primary) 78%, #000);
    --bs-btn-disabled-bg: var(--a-primary);
    --bs-btn-disabled-border-color: var(--a-primary);
}

[data-bs-theme="dark"] .btn-primary {
    --bs-btn-color: #0e1020;
    --bs-btn-hover-color: #0e1020;
    --bs-btn-active-color: #0e1020;
}

.btn-light {
    --bs-btn-bg: var(--a-surface);
    --bs-btn-border-color: var(--a-border);
    --bs-btn-hover-bg: color-mix(in srgb, var(--a-surface) 92%, var(--a-text));
    --bs-btn-hover-border-color: var(--a-border);
    --bs-btn-color: var(--a-text);
    --bs-btn-hover-color: var(--a-text);
    --bs-btn-active-bg: color-mix(in srgb, var(--a-surface) 88%, var(--a-text));
    --bs-btn-active-color: var(--a-text);
}

.btn-icon {
    width: 36px;
    height: 36px;
    padding: 0;
    justify-content: center;
}

.card {
    --bs-card-bg: var(--a-surface);
    --bs-card-border-color: var(--a-border);
    --bs-card-border-radius: var(--a-radius);
    --bs-card-cap-bg: transparent;
    box-shadow: 0 1px 2px rgba(20, 24, 60, .04);
    margin-bottom: 1.25rem;
}

.card-header {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.card-header .ic {
    color: var(--a-primary);
}

.table {
    --bs-table-bg: transparent;
    --bs-table-hover-bg: color-mix(in srgb, var(--a-primary) 5%, transparent);
    margin-bottom: 0;
}

.table > thead th {
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--a-muted);
    font-weight: 700;
    border-bottom-width: 1px;
    white-space: nowrap;
}

.table td {
    vertical-align: middle;
}

.thumb {
    width: 48px;
    height: 36px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--a-border);
}

.form-label {
    font-weight: 600;
    font-size: .86rem;
    margin-bottom: .3rem;
}

.form-control,
.form-select {
    border-color: var(--a-border);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--a-primary);
    box-shadow: 0 0 0 .2rem rgba(var(--a-primary-rgb), .15);
}

.form-check-input:checked {
    background-color: var(--a-primary);
    border-color: var(--a-primary);
}

.form-switch .form-check-input {
    width: 2.4em;
    height: 1.3em;
}

.toggle-field {
    padding-top: .35rem;
}

.form-actions {
    position: sticky;
    bottom: 0;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    padding: .9rem 0;
    margin-top: .5rem;
    background: linear-gradient(transparent, var(--a-bg) 30%);
}

.nav-tabs.admin-tabs {
    --bs-nav-tabs-link-active-bg: var(--a-surface);
    --bs-nav-tabs-link-active-border-color: var(--a-border) var(--a-border) var(--a-surface);
    --bs-nav-tabs-border-color: var(--a-border);
    --bs-nav-link-color: var(--a-muted);
    --bs-nav-link-hover-color: var(--a-text);
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
}

.nav-tabs .nav-link {
    font-weight: 600;
    white-space: nowrap;
}

.nav-pills {
    --bs-nav-pills-link-active-bg: var(--a-primary);
}

.nav-sm .nav-link {
    padding: .25rem .7rem;
    font-size: .85rem;
}

.dropdown-menu {
    --bs-dropdown-border-color: var(--a-border);
    --bs-dropdown-link-active-bg: var(--a-primary);
    box-shadow: 0 14px 40px -16px rgba(0, 0, 0, .3);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: .5rem;
}

/* ================================================================ kabuk */

.shell {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    width: 252px;
    background: var(--a-side-bg);
    color: var(--a-side-text);
    transition: transform .2s ease;
}

.sidebar-brand {
    display: flex;
    gap: .7rem;
    align-items: center;
    padding: 1.1rem 1.1rem 1rem;
    color: #fff;
}

.sidebar-brand .brand-mark {
    color: var(--a-primary);
    display: inline-flex;
}

[data-bs-theme="light"] .sidebar-brand .brand-mark {
    color: #6366f1;
}

.sidebar-brand strong {
    display: block;
    font-size: .98rem;
    line-height: 1.2;
}

.sidebar-brand small {
    color: var(--a-side-text);
    font-size: .74rem;
}

.side-menu {
    flex: 1;
    overflow-y: auto;
    padding: .25rem .7rem 1rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .15) transparent;
}

.menu-group {
    margin-bottom: .6rem;
}

.menu-title {
    padding: .7rem .6rem .35rem;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(185, 188, 214, .55);
}

.side-menu a {
    display: flex;
    gap: .65rem;
    align-items: center;
    padding: .48rem .6rem;
    border-radius: 8px;
    color: var(--a-side-text);
    font-size: .88rem;
    font-weight: 500;
}

.side-menu a:hover {
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

.side-menu a.active {
    background: rgba(129, 140, 248, .18);
    color: var(--a-side-active);
    font-weight: 700;
}

.side-menu a.active .ic {
    color: #a5b4fc;
}

.side-menu .count {
    margin-left: auto;
    min-width: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #f59e0b;
    color: #111;
    font-size: .7rem;
    line-height: 20px;
    text-align: center;
}

.sidebar-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .8rem 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, .07);
    font-size: .8rem;
}

.sidebar-foot a {
    color: var(--a-side-text);
    display: inline-flex;
    gap: .35rem;
    align-items: center;
}

.sidebar-foot .version {
    color: rgba(185, 188, 214, .5);
}

.main {
    flex: 1;
    min-width: 0;
    margin-left: 252px;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    display: flex;
    gap: .8rem;
    align-items: center;
    height: 60px;
    padding: 0 1.4rem;
    background: color-mix(in srgb, var(--a-surface) 90%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--a-border);
}

.topbar-title {
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.topbar-search {
    position: relative;
    align-items: center;
    margin-left: auto;
    width: 320px;
    max-width: 40vw;
}

.topbar-search .ic {
    position: absolute;
    left: 10px;
    color: var(--a-muted);
}

.topbar-search input {
    padding-left: 32px;
    border-radius: 999px;
}

.topbar-actions {
    display: flex;
    gap: .4rem;
    align-items: center;
}

.topbar-search + .topbar-actions {
    margin-left: 0;
}

.topbar-title + .topbar-actions {
    margin-left: auto;
}

.dot-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    line-height: 18px;
}

.user-btn {
    display: flex;
    gap: .55rem;
    align-items: center;
    padding: .2rem .5rem .2rem .2rem;
    border: 1px solid var(--a-border);
    border-radius: 999px;
    background: var(--a-surface);
    color: var(--a-text);
}

.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(var(--a-primary-rgb), .15);
    color: var(--a-primary);
    font-weight: 800;
    flex-shrink: 0;
}

.user-name {
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
    font-weight: 600;
    font-size: .84rem;
}

.user-name small {
    color: var(--a-muted);
    font-weight: 400;
    font-size: .72rem;
}

.menu-toggle {
    display: none;
}

.sidebar-backdrop {
    display: none;
}

.demo-strip {
    padding: .45rem 1.4rem;
    background: #fef3c7;
    color: #78350f;
    font-size: .84rem;
    font-weight: 600;
}

.content {
    padding: 1.4rem;
    max-width: 1500px;
}

.page-head {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1.2rem;
}

.page-head h1 {
    font-size: 1.45rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -.02em;
}

.page-head p {
    margin: .3rem 0 0;
    color: var(--a-muted);
}

.page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

@media (max-width: 991.98px) {
    .sidebar {
        transform: translateX(-100%);
    }
    .sidebar.is-open {
        transform: none;
    }
    .sidebar.is-open + .sidebar-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1035;
        background: rgba(0, 0, 0, .45);
    }
    .main {
        margin-left: 0;
    }
    .menu-toggle {
        display: inline-flex;
    }
    .content {
        padding: 1rem;
    }
}

/* ================================================================ bileşenler */

.card-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    align-items: center;
    font-weight: 400;
}

.toolbar-search {
    position: relative;
    display: flex;
    align-items: center;
}

.toolbar-search .ic {
    position: absolute;
    left: 9px;
    color: var(--a-muted);
}

.toolbar-search input {
    padding-left: 30px;
    min-width: 220px;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.filter-chips a {
    padding: .25rem .7rem;
    border: 1px solid var(--a-border);
    border-radius: 999px;
    color: var(--a-muted);
    font-size: .82rem;
    font-weight: 600;
    background: var(--a-surface);
}

.filter-chips a.active,
.filter-chips a:hover {
    border-color: var(--a-primary);
    color: var(--a-primary);
}

.filter-chips a b {
    margin-left: .25rem;
    color: var(--a-text);
}

.badge-soft {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .2rem .55rem;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 700;
    white-space: nowrap;
}

.tone-success { background: rgba(22, 163, 74, .13); color: #15803d; }
.tone-warning { background: rgba(217, 119, 6, .15); color: #b45309; }
.tone-danger { background: rgba(220, 38, 38, .12); color: #b91c1c; }
.tone-info { background: rgba(2, 132, 199, .13); color: #0369a1; }
.tone-secondary { background: rgba(100, 116, 139, .15); color: #475569; }
.tone-primary { background: rgba(var(--a-primary-rgb), .14); color: var(--a-primary); }

[data-bs-theme="dark"] .tone-success { color: #4ade80; }
[data-bs-theme="dark"] .tone-warning { color: #fbbf24; }
[data-bs-theme="dark"] .tone-danger { color: #f87171; }
[data-bs-theme="dark"] .tone-info { color: #38bdf8; }
[data-bs-theme="dark"] .tone-secondary { color: #94a3b8; }

.empty-state {
    padding: 2.5rem 1rem;
    text-align: center;
    color: var(--a-muted);
}

.empty-state .ic {
    color: var(--a-primary);
    opacity: .7;
    margin-bottom: .6rem;
}

.empty-state p {
    margin-bottom: 1rem;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.stat-tile {
    display: flex;
    gap: .9rem;
    align-items: center;
    padding: 1.1rem 1.2rem;
    border: 1px solid var(--a-border);
    border-radius: var(--a-radius);
    background: var(--a-surface);
}

.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    flex-shrink: 0;
}

.stat-tile.tone-primary,
.stat-tile.tone-success,
.stat-tile.tone-warning,
.stat-tile.tone-danger,
.stat-tile.tone-info,
.stat-tile.tone-secondary {
    background: var(--a-surface);
    color: var(--a-text);
}

.stat-tile.tone-primary .stat-icon { background: rgba(var(--a-primary-rgb), .14); color: var(--a-primary); }
.stat-tile.tone-success .stat-icon { background: rgba(22, 163, 74, .13); color: #16a34a; }
.stat-tile.tone-warning .stat-icon { background: rgba(217, 119, 6, .15); color: #d97706; }
.stat-tile.tone-danger .stat-icon { background: rgba(220, 38, 38, .12); color: #dc2626; }
.stat-tile.tone-info .stat-icon { background: rgba(2, 132, 199, .13); color: #0284c7; }

.stat-label {
    display: block;
    color: var(--a-muted);
    font-size: .8rem;
    font-weight: 600;
}

.stat-value {
    display: block;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.2;
}

.stat-sub {
    display: block;
    color: var(--a-muted);
    font-size: .76rem;
}

.up { color: #16a34a; font-weight: 700; }
.down { color: #dc2626; font-weight: 700; }

.kv {
    display: grid;
    grid-template-columns: minmax(120px, 38%) 1fr;
    gap: .45rem 1rem;
    margin: 0;
    font-size: .9rem;
}

.kv dt {
    color: var(--a-muted);
    font-weight: 500;
}

.kv dd {
    margin: 0;
    font-weight: 600;
    word-break: break-word;
}

.mono,
.license-key {
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
}

.license-key {
    font-weight: 700;
    letter-spacing: .03em;
}

.chart-wrap {
    width: 100%;
}

.chart {
    width: 100%;
    height: 240px;
    display: block;
}

.chart .grid {
    stroke: var(--a-border);
    stroke-width: 1;
}

.chart .axis {
    fill: var(--a-muted);
    font-size: 11px;
}

.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: .4rem;
    font-size: .8rem;
    color: var(--a-muted);
}

.chart-legend i {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 3px;
    margin-right: .35rem;
}

.bar-list {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.bar-row {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .38rem .6rem;
    border-radius: 6px;
    overflow: hidden;
    font-size: .86rem;
}

.bar-fill {
    position: absolute;
    inset: 0 auto 0 0;
    background: rgba(var(--a-primary-rgb), .1);
    border-radius: 6px;
}

.bar-label,
.bar-value {
    position: relative;
}

.bar-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bar-value {
    font-weight: 700;
    white-space: nowrap;
}

.funnel {
    display: grid;
    gap: .5rem;
}

.funnel-step {
    display: grid;
    grid-template-columns: 170px 1fr 90px;
    gap: .8rem;
    align-items: center;
    font-size: .88rem;
}

.funnel-bar {
    height: 26px;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--a-primary), #14b8a6);
}

.range-picker {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    align-items: center;
}

.range-picker input[type="date"] {
    width: 150px;
}

.image-input {
    display: flex;
    gap: .9rem;
    align-items: flex-start;
}

.image-preview {
    width: 96px;
    height: 72px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--a-border);
    border-radius: 8px;
    overflow: hidden;
    background: var(--a-bg);
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.image-empty {
    color: var(--a-muted);
}

.color-input .form-control-color {
    max-width: 48px;
    padding: .25rem;
}

.editor {
    border: 1px solid var(--a-border);
    border-radius: 10px;
    overflow: hidden;
    background: var(--a-surface);
}

.editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
    padding: .4rem;
    border-bottom: 1px solid var(--a-border);
    background: var(--a-bg);
}

.editor-toolbar .btn {
    padding: .15rem .5rem;
    font-size: .8rem;
}

.editor-toolbar .btn.active {
    background: var(--a-primary);
    color: #fff;
}

.editor-area {
    min-height: 220px;
    max-height: 560px;
    overflow-y: auto;
    padding: .9rem 1rem;
    outline: none;
    line-height: 1.6;
}

.editor-area h2 { font-size: 1.3rem; }
.editor-area h3 { font-size: 1.1rem; }

.editor-area pre {
    padding: .7rem;
    border-radius: 6px;
    background: #0d1117;
    color: #e6edf3;
}

.editor-source {
    display: none;
    border: 0;
    border-radius: 0;
}

.editor.is-source .editor-area {
    display: none;
}

.editor.is-source .editor-source {
    display: block;
}

.checklist {
    display: flex;
    flex-wrap: wrap;
    gap: .2rem .4rem;
}

.w-drag {
    width: 34px;
}

.drag-handle {
    cursor: grab;
    color: var(--a-muted);
}

tr.dragging {
    opacity: .5;
    background: rgba(var(--a-primary-rgb), .08);
}

.timeline-admin {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.timeline-admin li {
    position: relative;
    padding: 0 0 .9rem 1.4rem;
    font-size: .86rem;
}

.timeline-admin li::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 6px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--a-primary);
}

.timeline-admin li::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 16px;
    bottom: 0;
    width: 1px;
    background: var(--a-border);
}

.timeline-admin li:last-child::after {
    display: none;
}

.timeline-admin small {
    color: var(--a-muted);
}

.thread {
    display: flex;
    flex-direction: column;
    gap: .8rem;
}

.thread-msg {
    max-width: 85%;
    padding: .8rem 1rem;
    border: 1px solid var(--a-border);
    border-radius: 12px;
    background: var(--a-surface);
}

.thread-msg.is-admin {
    align-self: flex-end;
    background: rgba(var(--a-primary-rgb), .07);
    border-color: rgba(var(--a-primary-rgb), .25);
}

.thread-msg.is-internal {
    align-self: flex-end;
    background: #fef9c3;
    border-color: #fde68a;
    color: #713f12;
}

.thread-msg .meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .35rem;
    font-size: .76rem;
    color: var(--a-muted);
}

.code-box {
    position: relative;
    padding: .9rem 1rem;
    border-radius: 10px;
    background: #0d1117;
    color: #e6edf3;
    font-family: ui-monospace, Consolas, monospace;
    font-size: .82rem;
    white-space: pre;
    overflow-x: auto;
}

.theme-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.theme-card {
    position: relative;
    display: block;
    padding: .7rem;
    border: 2px solid var(--a-border);
    border-radius: 14px;
    cursor: pointer;
    background: var(--a-surface);
}

.theme-card input {
    position: absolute;
    opacity: 0;
}

.theme-card:has(input:checked) {
    border-color: var(--a-primary);
    box-shadow: 0 0 0 3px rgba(var(--a-primary-rgb), .15);
}

.theme-preview {
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    display: grid;
    grid-template-rows: 16px 1fr;
    margin-bottom: .6rem;
}

.theme-preview .tp-bar {
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 0 8px;
}

.theme-preview .tp-bar i {
    width: 22px;
    height: 4px;
    border-radius: 2px;
    opacity: .6;
}

.theme-preview .tp-body {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 8px;
    padding: 10px;
}

.theme-preview .tp-lines i {
    display: block;
    height: 7px;
    border-radius: 3px;
    margin-bottom: 6px;
}

.theme-preview .tp-card {
    border-radius: 6px;
}

.auth-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
}

.auth-art {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3rem;
    background: radial-gradient(700px 400px at 20% 10%, rgba(129, 140, 248, .45), transparent 60%),
        radial-gradient(600px 400px at 90% 90%, rgba(20, 184, 166, .35), transparent 60%), #12142a;
    color: #fff;
}

.auth-art h2 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -.03em;
    max-width: 460px;
}

.auth-art p {
    color: #b9bcd6;
    max-width: 420px;
}

.auth-art .window {
    max-width: 420px;
    border-radius: 12px;
    background: #0d1117;
    box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .7);
    font-family: ui-monospace, Consolas, monospace;
    font-size: .8rem;
    color: #e6edf3;
    padding: 1rem 1.1rem;
    white-space: pre;
}

.auth-form-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-form {
    width: 100%;
    max-width: 380px;
}

.auth-form h1 {
    font-size: 1.6rem;
    font-weight: 800;
}

@media (max-width: 860px) {
    .auth-page {
        grid-template-columns: 1fr;
    }
    .auth-art {
        display: none;
    }
}

@media print {
    .sidebar,
    .topbar,
    .form-actions,
    .page-actions,
    .no-print {
        display: none !important;
    }
    .main {
        margin: 0;
    }
}
