@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins/Poppins-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins/Poppins-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins/Poppins-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins/Poppins-ExtraBold.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
}

:root {
    --bg: #f5f6f8;
    --panel: rgba(255, 255, 255, 0.95);
    --panel-strong: #ffffff;
    --line: #e7e7e7;
    --text: #1c1c1c;
    --muted: #4f4f4f;
    --muted-soft: #6d6d6d;
    --navy: #0b1633;
    --navy-2: #101d42;
    --navy-3: #172750;
    --blue-a: #296dff;
    --blue-b: #5f8dff;
    --blue-soft: rgba(181, 196, 255, 0.26);
    --orange-a: #ea7024;
    --orange-b: #ea4833;
    --orange-soft: #ffe6d7;
    --green-soft: #bcf0da;
    --green-text: #157349;
    --danger-soft: #ffe2df;
    --danger-text: #b33622;
    --shadow: 0 20px 45px rgba(11, 22, 51, 0.12);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: "Poppins", "Segoe UI", sans-serif;
    background: linear-gradient(180deg, #fbfbfc 0%, #f5f6f8 100%);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.shell {
    display: grid;
    grid-template-columns: 286px 1fr;
    min-height: 100vh;
}

.sidebar {
    position: relative;
    background-color: var(--navy);
    background-image: linear-gradient(180deg, rgba(23, 39, 80, 0.95) 0%, rgba(11, 22, 51, 0.98) 100%);
    background-repeat: no-repeat;
    background-size: 100% 100vh;
    color: #fff;
    padding: 22px 18px 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar::after {
    content: "";
    position: absolute;
    inset: auto 18px 18px 18px;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 6px 18px;
}

.brand img {
    width: 50px;
    height: auto;
}

.brand-copy strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.sidebar-card {
    margin: 10px 0 18px;
    padding: 15px 15px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.sidebar-card h2 {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 700;
}

.sidebar-card p {
    margin: 0;
    font-size: 12px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.74);
}

.nav-section {
    margin-top: 18px;
}

.nav-section-label {
    margin: 0 0 12px;
    padding: 0 8px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.45);
}

.nav-list {
    display: grid;
    gap: 4px;
}

.nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.8);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    font-size: 13px;
    line-height: 1.25;
}

.nav-link-home {
    background: rgba(181, 196, 255, 0.13);
}

.nav-link .nav-link-meta {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.45);
}

.nav-link:hover {
    background: rgba(181, 196, 255, 0.13);
    color: #fff;
    transform: translateX(2px);
}

.nav-link.active {
    background: linear-gradient(180deg, var(--blue-a) 0%, var(--blue-b) 100%);
    color: #fff;
    box-shadow: 0 16px 30px rgba(41, 109, 255, 0.28);
    transform: translateX(2px);
}

.nav-link:hover .nav-link-meta,
.nav-link.active .nav-link-meta {
    color: rgba(255, 255, 255, 0.72);
}

.nav-link.cta {
    background: linear-gradient(180deg, var(--blue-a) 0%, var(--blue-b) 100%);
    color: #fff;
    box-shadow: 0 16px 30px rgba(41, 109, 255, 0.28);
}

.content {
    padding: 28px 30px 36px;
}

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

.topbar-copy h1 {
    margin: 0;
    font-size: 42px;
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.topbar-copy p {
    margin: 10px 0 0;
    color: var(--muted);
    max-width: 760px;
    line-height: 1.8;
    font-size: 15px;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
}

.button.primary {
    background: linear-gradient(180deg, var(--blue-a) 0%, var(--blue-b) 100%);
    color: #fff;
    box-shadow: 0 16px 30px rgba(41, 109, 255, 0.28);
}

.button.secondary {
    background: #fff;
    color: var(--text);
    border: 2px solid var(--line);
}

.page-grid {
    display: grid;
    gap: 18px;
}

.stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 8px;
}

.card {
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: var(--shadow);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(12px);
}

.stat-card {
    padding: 22px 22px 20px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted-soft);
}

.eyebrow::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: linear-gradient(246deg, var(--orange-a) 17.35%, var(--orange-b) 52.82%);
}

.stat-value {
    font-size: 34px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.stat-copy {
    margin: 10px 0 0;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.75;
}

.dashboard-layout {
    grid-template-columns: 1.4fr 0.9fr;
}

.panel {
    padding: 24px;
}

.panel h2 {
    margin: 0;
    font-size: 24px;
    letter-spacing: -0.03em;
}

.panel-copy {
    margin: 10px 0 18px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

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

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
}

.pill.success {
    background: rgba(188, 240, 218, 0.52);
    border-color: rgba(23, 158, 110, 0.22);
    color: var(--green-text);
}

.pill.warn {
    background: rgba(255, 230, 215, 0.72);
    border-color: rgba(234, 72, 51, 0.2);
    color: #b14d1f;
}

.pill.danger {
    background: var(--danger-soft);
    border-color: rgba(179, 54, 34, 0.18);
    color: var(--danger-text);
}

.table-shell {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid var(--line);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--panel-strong);
}

th,
td {
    padding: 15px 16px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

th {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted-soft);
    background: #fafafa;
}

tbody tr:last-child td {
    border-bottom: 0;
}

.mini-stack {
    display: grid;
    gap: 16px;
}

.mini-card {
    padding: 18px 18px 16px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--line);
}

.mini-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
}

.mini-card p,
.mini-card li {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: var(--muted);
}

.mini-card ul {
    margin: 0;
    padding-left: 18px;
}

.toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.search {
    flex: 1 1 280px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    min-height: 52px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--line);
}

.search input,
.filter select {
    border: 0;
    width: 100%;
    background: transparent;
    font: inherit;
    color: var(--text);
    outline: none;
}

.filter {
    display: flex;
    align-items: center;
    min-height: 52px;
    min-width: 170px;
    padding: 0 14px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--line);
}

.users-layout {
    display: grid;
    grid-template-columns: 1.28fr 0.72fr;
    gap: 18px;
}

.user-name {
    font-weight: 700;
}

.user-meta {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: var(--muted-soft);
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.status::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: currentColor;
    opacity: 0.7;
}

.status.active {
    background: rgba(188, 240, 218, 0.52);
    color: var(--green-text);
}

.status.pending {
    background: rgba(255, 230, 215, 0.72);
    color: #b14d1f;
}

.status.past-due {
    background: var(--danger-soft);
    color: var(--danger-text);
}

.detail-grid {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.detail-row {
    padding: 14px 16px;
    border-radius: 16px;
    background: #f7f7f8;
    border: 1px solid var(--line);
}

.detail-row strong {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted-soft);
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.action-grid .button {
    width: 100%;
}

.footer-note {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: var(--muted-soft);
    font-size: 12px;
    line-height: 1.8;
}

@media (max-width: 1220px) {
    .stats,
    .dashboard-layout,
    .users-layout {
        grid-template-columns: 1fr;
    }
}

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

    .sidebar {
        padding-bottom: 18px;
    }

    .content {
        padding: 20px 16px 28px;
    }

    .topbar {
        flex-direction: column;
        align-items: stretch;
    }
}

.admin-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.admin-toolbar-copy {
    display: grid;
    gap: 4px;
}

.admin-toolbar-eyebrow {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted-soft);
}

.admin-toolbar-context {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}

.nav-detail {
    padding: 12px 12px 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.nav-detail strong {
    display: block;
    margin-bottom: 4px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.45);
}

.nav-detail span {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.86);
}

.nav-link-ghost {
    opacity: 0.72;
}

.hero {
    margin: 4px 0 22px;
}

.hero h1 {
    margin: 0 0 10px;
    font-size: 42px;
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.hero p {
    margin: 0;
    max-width: 860px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.85;
}

.links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--line);
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(11, 22, 51, 0.06);
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 26px;
}

.card {
    padding: 22px;
}

.card h3 {
    margin: 0 0 10px;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted-soft);
}

.metric {
    font-size: 34px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.card p {
    margin: 12px 0 0;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.8;
}

.sections {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 18px;
}

.panel {
    margin-bottom: 18px;
}

.panel p,
.panel li,
.panel label {
    color: var(--muted);
    line-height: 1.8;
    font-size: 14px;
}

.panel ul,
.panel ol {
    margin: 0;
    padding-left: 20px;
}

.stack > * + * {
    margin-top: 18px;
}

.flash {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid transparent;
    font-size: 14px;
    line-height: 1.7;
}

.flash.success {
    background: rgba(188, 240, 218, 0.55);
    border-color: rgba(23, 158, 110, 0.18);
    color: var(--green-text);
}

.flash.error {
    background: var(--danger-soft);
    border-color: rgba(179, 54, 34, 0.14);
    color: var(--danger-text);
}

.flash.warn {
    background: rgba(255, 230, 215, 0.72);
    border-color: rgba(234, 72, 51, 0.12);
    color: #b14d1f;
}

body.modal-open {
    overflow: hidden;
}

.modal-backdrop[hidden] {
    display: none;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(11, 22, 51, 0.48);
    backdrop-filter: blur(6px);
}

.modal-card {
    width: min(100%, 460px);
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 26px 54px rgba(11, 22, 51, 0.22);
}

.modal-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.modal-card-head h3 {
    margin: 0;
    font-size: 22px;
    letter-spacing: -0.03em;
    color: var(--text);
}

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

.modal-close {
    width: 42px;
    min-width: 42px;
    min-height: 42px;
    padding: 0;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--muted);
    box-shadow: 0 10px 22px rgba(11, 22, 51, 0.06);
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
}

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

.form-row {
    margin-bottom: 14px;
}

.form-row.full {
    grid-column: 1 / -1;
}

label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
}

input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    font: inherit;
    color: var(--text);
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

input[type="checkbox"],
input[type="radio"] {
    width: 18px;
    min-height: 18px;
    padding: 0;
    margin: 0;
    flex: 0 0 auto;
    accent-color: var(--blue-a);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(41, 109, 255, 0.45);
    box-shadow: 0 0 0 4px rgba(41, 109, 255, 0.12);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.pagination-summary {
    font-size: 13px;
    color: var(--muted);
}

.pagination-summary span {
    color: var(--muted-soft);
}

.pagination-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pagination-link,
.pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 700;
}

.pagination-link {
    background: #fff;
    border: 1px solid var(--line);
    color: var(--text);
    box-shadow: 0 10px 22px rgba(11, 22, 51, 0.06);
}

.pagination-link.current {
    background: linear-gradient(180deg, var(--blue-a) 0%, var(--blue-b) 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 16px 30px rgba(41, 109, 255, 0.28);
}

.pagination-link.disabled {
    color: var(--muted-soft);
    background: #f3f4f6;
    border-color: #ececec;
    box-shadow: none;
    pointer-events: none;
}

.pagination-ellipsis {
    color: var(--muted-soft);
}

button,
.button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 14px;
    border: 0;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

.button-primary {
    background: linear-gradient(180deg, var(--blue-a) 0%, var(--blue-b) 100%);
    color: #fff;
    box-shadow: 0 16px 30px rgba(41, 109, 255, 0.28);
}

.button-success {
    background: linear-gradient(180deg, var(--blue-a) 0%, var(--blue-b) 100%);
    color: #fff;
    box-shadow: 0 16px 30px rgba(41, 109, 255, 0.28);
}

.button-warn {
    background: rgba(255, 230, 215, 0.9);
    color: #b14d1f;
    border: 1px solid rgba(234, 72, 51, 0.14);
}

.button-danger {
    background: var(--danger-soft);
    color: var(--danger-text);
    border: 1px solid rgba(179, 54, 34, 0.14);
}

.button-muted {
    background: #fff;
    color: var(--text);
    border: 1px solid var(--line);
}

th,
td {
    font-size: 13px;
}

.status.disabled,
.status.deleted,
.status.delete_failed,
.status.provisioning_failed,
.status.unpaid,
.status.failed {
    background: var(--danger-soft);
    color: var(--danger-text);
}

.status.provisioning,
.status.delete_pending,
.status.expired,
.status.cancelled,
.status.trialing,
.status.uncollectible,
.status.open,
.status.refunded,
.status.void,
.status.pending {
    background: rgba(255, 230, 215, 0.72);
    color: #b14d1f;
}

.meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.meta-card {
    padding: 14px 16px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--line);
}

.meta-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted-soft);
}

pre {
    margin: 12px 0 0;
    padding: 15px 16px;
    border-radius: 18px;
    background: var(--navy);
    color: #edf2ff;
    overflow-x: auto;
    font-size: 12px;
    line-height: 1.7;
}

.helper-text {
    margin: 14px 0 0;
    color: var(--muted-soft);
    font-size: 12px;
    line-height: 1.8;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
    line-height: 1.5;
    color: var(--text);
}

.customer-lookup {
    position: relative;
}

.lookup-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 30;
    padding: 8px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    box-shadow: 0 20px 45px rgba(11, 22, 51, 0.14);
}

.lookup-option,
.lookup-empty {
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    text-align: left;
    font: inherit;
}

.lookup-option {
    display: block;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: var(--text);
}

.lookup-option:hover {
    background: rgba(181, 196, 255, 0.16);
}

.lookup-option strong {
    display: block;
    font-size: 14px;
    line-height: 1.5;
}

.lookup-option span,
.lookup-empty {
    display: block;
    font-size: 12px;
    color: var(--muted-soft);
    line-height: 1.6;
}

.auth-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px 16px;
}

.auth-body {
    background:
        radial-gradient(circle at top left, rgba(95, 141, 255, 0.22) 0%, rgba(95, 141, 255, 0) 38%),
        radial-gradient(circle at bottom right, rgba(41, 109, 255, 0.18) 0%, rgba(41, 109, 255, 0) 32%),
        linear-gradient(180deg, #172750 0%, #0b1633 100%);
}

.auth-card {
    width: 100%;
    max-width: 430px;
    padding: 26px 24px 22px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 24px;
    box-shadow: 0 28px 60px rgba(6, 12, 29, 0.28);
    backdrop-filter: blur(10px);
}

.auth-brand-mark {
    justify-content: center;
    margin-bottom: 16px;
    padding: 0;
    gap: 12px;
}

.auth-brand-mark img {
    width: 46px;
}

.auth-brand-mark .brand-copy strong {
    font-size: 20px;
}

.auth-copy {
    text-align: center;
    margin-bottom: 18px;
}

.auth-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 9px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(41, 109, 255, 0.08);
    color: var(--blue-a);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.auth-copy h1 {
    margin: 0;
    font-size: 30px;
    line-height: 1.06;
    letter-spacing: -0.04em;
}

.auth-copy p {
    margin: 10px auto 0;
    max-width: 290px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.auth-form {
    margin-top: 0;
}

.auth-form .form-row {
    margin-bottom: 12px;
}

.auth-form label {
    margin-bottom: 6px;
    font-size: 12px;
}

.auth-form input:not([type="checkbox"]):not([type="radio"]) {
    min-height: 46px;
    padding: 11px 13px;
    border-radius: 14px;
}

.auth-form .actions {
    margin-top: 8px;
}

.auth-form .button-primary {
    width: 100%;
    min-height: 48px;
}

@media (max-width: 1220px) {
    .grid,
    .sections,
    .meta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .admin-toolbar,
    .actions,
    .pagination {
        flex-direction: column;
        align-items: stretch;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 34px;
    }
}
