/* ===========================================================================
   Voxtome Creators — panel styling.
   Palette + type mirror the Voxtome app and marketing site: a dark surface,
   teal accent, rounded containers, and Public Sans. Class names are kept
   identical to the pages that render them; only the look changes.
   =========================================================================== */

@font-face {
    font-family: 'Public Sans';
    src: url('fonts/public_sans_light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: optional;
}

@font-face {
    font-family: 'Public Sans';
    src: url('fonts/public_sans_regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: optional;
}

@font-face {
    font-family: 'Public Sans';
    src: url('fonts/public_sans_medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: optional;
}

@font-face {
    font-family: 'Public Sans';
    src: url('fonts/public_sans_semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: optional;
}

@font-face {
    font-family: 'Public Sans';
    src: url('fonts/public_sans_bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: optional;
}

@font-face {
    font-family: 'Public Sans';
    src: url('fonts/public_sans_extra_bold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: optional;
}

:root {
    --surface: #1c1d22;
    --surface-2: #232429;
    --container: #26272d;
    --selectable: #383a42;
    --selectable-selected: #61636d;
    --input: #111216; /* darkest — form-field wells */
    --primary: #0087a0;
    --primary-hover: #06a0bd;
    --primary-dark: #004f5a;
    --text1: #e4e5e8;
    --text2: #dedfe3;
    --text3: #c7c8cd;
    --text4: #bcbdc2;
    --text5: #9597a2;
    --text6: #818490;
    --white: #ffffff;
    --error: #e5484d;
    --success: #2fbf71;
    --warning: #e0a800;
    --hairline: rgba(255, 255, 255, 0.07);
    --hairline-strong: rgba(255, 255, 255, 0.12);
    --shadow-card: 0 2px 10px rgba(0, 0, 0, 0.35);
    --shadow-lift: 0 18px 40px rgba(0, 0, 0, 0.45);
    --radius-sm: 12px;
    --radius: 16px;
    --radius-lg: 22px;
}

* {
    box-sizing: border-box;
}

html {
    /* Always reserve the vertical scrollbar so centered content doesn't jump
       sideways when navigating between short (no scrollbar) and tall (scrollbar)
       pages. scrollbar-gutter handles modern browsers; overflow-y is the fallback. */
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

body {
    font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: var(--surface);
    color: var(--text2);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--primary-hover);
}

/* ---------- Top brand bar ---------- */
.creators-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(28, 29, 34, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--hairline);
    /* faint teal wash echoes the app's teal header */
    box-shadow: inset 0 90px 120px -90px rgba(0, 135, 160, 0.22);
    padding: 16px 40px;
}

.creators-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    flex-wrap: wrap;
}

/* Login page reuses the header with just the brand — keep it centered-left and tidy. */
.creators-header h1 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--white);
}

.creators-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    color: var(--white);
    flex-shrink: 0;
}

.creators-brand-mark {
    width: 30px;
    height: 30px;
    display: block;
}

.creators-brand-name {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--white);
}

.creators-brand-tag {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text5);
    margin-left: 0.35rem;
}

.creators-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.creators-nav a {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 999px;
    color: var(--text4);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.creators-nav a:hover {
    background: var(--selectable);
    color: var(--white);
}

.creators-nav a.active {
    background: var(--primary);
    color: var(--white);
}

.creators-nav a.creators-nav-logout {
    color: var(--text5);
}

.creators-nav a.creators-nav-logout:hover {
    background: rgba(229, 72, 77, 0.14);
    color: #f2a5a7;
}

/* ---------- Content shell ---------- */
.creators-content {
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ---------- Headings ---------- */
h2 {
    color: var(--white);
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 0 0 20px 0;
}

h3 {
    color: var(--text1);
    font-weight: 700;
}

.page-header {
    margin-bottom: 30px;
}

.page-header h1 {
    margin: 0 0 10px 0;
    color: var(--white);
    font-weight: 800;
    letter-spacing: -0.01em;
}

/* ---------- Tables ---------- */
table {
    width: 100%;
    background: var(--container);
    border-radius: var(--radius);
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    box-shadow: var(--shadow-card);
}

th {
    background: var(--surface-2);
    color: var(--text3);
    padding: 12px 14px;
    text-align: left;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--hairline-strong);
}

td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--hairline);
    color: var(--text2);
}

tr:last-child td {
    border-bottom: none;
}

tbody tr:hover td,
table tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

/* ---------- Forms ---------- */
form {
    background: var(--container);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    margin-bottom: 20px;
}

label {
    display: block;
    color: var(--text3);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="date"],
select,
textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    background: var(--input);
    border: none;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text1);
    transition: background-color 0.2s ease;
}

input::placeholder,
textarea::placeholder {
    color: var(--text6);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
    outline: none;
    background: var(--surface);
}

select {
    cursor: pointer;
}

select option {
    background: var(--input);
    color: var(--text1);
}

input[type="file"] {
    color: var(--text3);
    font-size: 0.9rem;
}

/* Multi-pick checkbox groups. These replace <select multiple>, which drops its highlight to the OS
   inactive-selection colour the moment focus moves elsewhere and reads as nothing being picked. */
.checkbox-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: 240px;
    overflow-y: auto;
    padding: 12px;
    background: var(--input);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}

.checkbox-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 7px 14px;
    background: var(--selectable);
    color: var(--text2);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.checkbox-pill:hover {
    background: var(--selectable-selected);
    color: var(--white);
}

.checkbox-pill:has(input:checked) {
    background: var(--primary);
    color: var(--white);
}

.checkbox-pill input {
    margin: 0;
    cursor: pointer;
    accent-color: var(--primary-dark);
}

/* Keeps the native calendar picker (and its icon) on the dark theme instead of the browser's light default. */
input[type="date"] {
    color-scheme: dark;
}

/* Repeatable author/narrator rows on the add-book form: input + remove button on one line. */
.repeat-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.repeat-row input {
    margin-bottom: 0;
}

.repeat-remove {
    flex-shrink: 0;
    padding: 8px 14px;
    line-height: 1;
    background: var(--selectable);
    color: var(--text2);
}

.repeat-remove:hover {
    background: var(--selectable-selected);
    color: var(--white);
    transform: none;
}

.repeat-add {
    margin-bottom: 16px;
    padding: 6px 14px;
    font-size: 0.9rem;
    background: transparent;
    color: var(--primary-hover);
}

.repeat-add:hover {
    background: var(--selectable);
    color: var(--white);
    transform: none;
}

/* ---------- Buttons ---------- */
button,
.btn-secondary,
.btn-danger,
.btn-warning {
    font-family: inherit;
}

button {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

button:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-block;
    padding: 10px 18px;
    background: transparent;
    color: var(--text2);
    text-decoration: none;
    border: 1px solid var(--selectable);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-secondary:hover {
    background: var(--container);
    border-color: var(--selectable-selected);
    color: var(--white);
}

.btn-danger {
    display: inline-block;
    padding: 10px 18px;
    background: var(--error);
    color: var(--white);
    text-decoration: none;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: filter 0.2s ease;
}

.btn-danger:hover {
    filter: brightness(1.1);
}

.btn-warning {
    display: inline-block;
    padding: 10px 18px;
    background: var(--warning);
    color: #26272d;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: filter 0.2s ease;
}

.btn-warning:hover {
    filter: brightness(1.06);
}

.btn-small {
    padding: 5px 12px;
    font-size: 0.85rem;
    border-radius: 999px;
}

/* Link-style action buttons that render as small pills */
a.btn-small {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

a.btn-small:hover {
    background: var(--primary-hover);
}

a.btn-small.btn-secondary {
    background: transparent;
}

.edit-btn {
    background: var(--selectable);
    color: var(--text1);
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 15px;
    transition: background-color 0.2s ease;
}

.edit-btn:hover {
    background: var(--selectable-selected);
}

.edit-btn-small {
    background: var(--selectable);
    color: var(--text1);
    border: none;
    padding: 5px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 10px;
    transition: background-color 0.2s ease;
}

.edit-btn-small:hover {
    background: var(--selectable-selected);
}

.save-btn,
.save-btn-small {
    background: var(--success);
    color: #0e2a1c;
    border: none;
    padding: 5px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 700;
    margin: 0 5px;
    transition: filter 0.2s ease;
}

.save-btn:hover,
.save-btn-small:hover {
    filter: brightness(1.08);
}

.cancel-btn,
.cancel-btn-small {
    background: var(--selectable);
    color: var(--text2);
    border: none;
    padding: 5px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 5px;
    transition: background-color 0.2s ease;
}

.cancel-btn:hover,
.cancel-btn-small:hover {
    background: var(--selectable-selected);
}

/* ---------- Cards ---------- */
.card {
    background: var(--container);
    padding: 22px 24px;
    border-radius: var(--radius);
    margin: 20px 0;
    box-shadow: var(--shadow-card);
}

.card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--white);
}

/* ---------- Stat cards ---------- */
.stat-grid {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--container);
    padding: 20px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    min-width: 160px;
}

.stat-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.01em;
}

.stat-label {
    font-size: 13px;
    color: var(--text5);
    margin-top: 4px;
}

/* ---------- Section boxes ---------- */
.section-box {
    background: var(--container);
    padding: 18px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.section-box h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--white);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.section-header h3 {
    margin: 0;
}

.section-action {
    color: var(--primary-hover);
    text-decoration: none;
    font-size: 0.9em;
}

.section-action:hover {
    text-decoration: underline;
}

/* ---------- Detail grid ---------- */
.detail-grid {
    display: grid;
    gap: 20px;
}

/* ---------- Alerts / banners ---------- */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    border: 1px solid transparent;
    font-weight: 500;
}

.alert-success {
    background: rgba(47, 191, 113, 0.12);
    color: #7ee0a8;
    border-color: rgba(47, 191, 113, 0.32);
}

.alert-error {
    background: rgba(229, 72, 77, 0.12);
    color: #f2a5a7;
    border-color: rgba(229, 72, 77, 0.32);
}

/* ---------- Upload progress ---------- */
.upload-progress {
    margin-top: 20px;
}

.upload-progress-track {
    height: 8px;
    border-radius: 999px;
    background: var(--container);
    overflow: hidden;
}

.upload-progress-bar {
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: var(--primary);
    transition: width 0.25s ease;
}

/* The CDN leg reports no byte counts, so the bar sits full and stripes instead of pretending to advance. */
.upload-progress-bar.is-indeterminate {
    width: 100%;
    background: repeating-linear-gradient(
        135deg,
        var(--primary) 0 12px,
        var(--primary-dark) 12px 24px
    );
    animation: upload-progress-drift 1s linear infinite;
}

@keyframes upload-progress-drift {
    from { background-position: 0 0; }
    to { background-position: 34px 0; }
}

.upload-progress-label {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--text5);
}

/* ---------- Empty state ---------- */
.empty-state {
    text-align: center;
    padding: 40px;
    background: var(--container);
    border-radius: var(--radius);
    color: var(--text5);
    margin: 20px 0;
}

/* ---------- Data tables (lightweight) ---------- */
.data-table {
    width: 100%;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    border-collapse: collapse;
}

.data-table th {
    text-align: left;
    padding: 8px;
    border-bottom: 1px solid var(--hairline-strong);
    background: transparent;
    color: var(--text4);
    text-transform: none;
    letter-spacing: normal;
    font-size: 0.9rem;
}

.data-table td {
    padding: 8px;
    border-bottom: 1px solid var(--hairline);
}

.data-table.full-table {
    background: var(--container);
    border-radius: var(--radius);
}

.data-table.full-table thead tr th {
    background: var(--surface-2);
}

.data-table.full-table th,
.data-table.full-table td {
    padding: 10px;
}

/* ---------- Links ---------- */
.link-primary {
    color: var(--primary-hover);
    text-decoration: none;
    font-weight: 600;
}

.link-primary:hover {
    text-decoration: underline;
}

.nav-link {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--primary-hover);
    text-decoration: none;
}

.nav-link:hover {
    text-decoration: underline;
}

.nav-back {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--primary-hover);
    text-decoration: none;
    font-weight: 600;
}

.nav-back:hover {
    text-decoration: underline;
}

.nav-breadcrumb {
    margin-bottom: 20px;
    font-size: 0.9em;
    color: var(--text5);
}

.nav-separator {
    display: inline-block;
    margin: 0 8px;
    color: var(--text6);
}

/* ---------- Text utilities ---------- */
.text-muted {
    color: var(--text5);
}

.text-center {
    text-align: center;
}

.text-small {
    font-size: 0.9em;
    color: var(--text5);
}

.text-right {
    text-align: right;
}

.text-danger {
    color: var(--error);
}

.status-bold {
    font-weight: 700;
    color: var(--text1);
}

/* ---------- Spacing utilities ---------- */
.mb-10 { margin-bottom: 10px; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.ml-10 { margin-left: 10px; }
.ml-20 { margin-left: 20px; }
.mr-10 { margin-right: 10px; }

/* ---------- Messages ---------- */
.message-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}

.message-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.message-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px var(--primary);
    background: transparent;
}

.message-dot.unread {
    background: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 135, 160, 0.2);
}

.message-subject {
    color: var(--text2);
}

.message-subject.unread {
    font-weight: 700;
    color: var(--white);
}

.message-body {
    margin: 10px 0 0 19px;
    white-space: pre-wrap;
    color: var(--text3);
}

/* ---------- Contributor bio ---------- */
.contributor-bio {
    margin: 5px 0 0 20px;
    font-size: 0.9em;
    color: var(--text5);
}

/* ---------- Rating bars ---------- */
.rating-row {
    display: flex;
    align-items: center;
    margin: 5px 0;
}

.rating-label {
    width: 60px;
    text-align: right;
    margin-right: 10px;
    color: var(--text4);
}

.rating-bar-container {
    flex: 1;
    background: var(--selectable);
    height: 20px;
    border-radius: 999px;
    position: relative;
    overflow: hidden;
}

.rating-bar {
    background: var(--primary);
    height: 100%;
    border-radius: 999px;
}

.rating-count {
    width: 80px;
    text-align: right;
    margin-left: 10px;
    color: var(--text4);
}

/* ---------- Pagination ---------- */
.pagination {
    margin-top: 20px;
    text-align: center;
}

.pagination-button,
.pagination a {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 5px;
    background: var(--container);
    border: 1px solid var(--hairline-strong);
    text-decoration: none;
    border-radius: 999px;
    color: var(--text2);
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.pagination-button:hover,
.pagination a:hover {
    background: var(--selectable);
    color: var(--white);
}

.pagination-info {
    padding: 8px 12px;
    margin: 0 5px;
    color: var(--text5);
}

/* ---------- Review items ---------- */
.review-item {
    background: var(--container);
    padding: 15px;
    margin-bottom: 10px;
    border-radius: var(--radius);
}

.review-item.hidden-review {
    background: rgba(229, 72, 77, 0.1);
    border-color: rgba(229, 72, 77, 0.3);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.review-text {
    margin: 10px 0;
}

.review-stats {
    display: flex;
    gap: 20px;
    font-size: 0.9em;
    color: var(--text5);
    margin-top: 10px;
}

/* ---------- Posts / comments (shared components) ---------- */
.post-header {
    margin-bottom: 15px;
}

.post-header h3 {
    margin: 0 0 10px 0;
    color: var(--white);
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.9em;
    color: var(--text5);
}

.post-author a {
    color: var(--primary-hover);
    text-decoration: none;
}

.post-author a:hover {
    text-decoration: underline;
}

.post-deleted {
    color: var(--error);
    font-weight: 700;
}

.post-edited {
    font-style: italic;
}

.post-body {
    margin: 15px 0;
    padding: 15px;
    background: var(--surface-2);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--primary);
}

.post-body-empty {
    margin: 15px 0;
    padding: 15px;
    background: var(--surface-2);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--selectable);
}

.post-body-preview {
    background: var(--surface-2);
    padding: 15px;
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--primary);
    margin: 15px 0;
}

.post-actions {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--hairline);
}

.comment-item {
    background: var(--container);
    border-radius: var(--radius);
    padding: 15px;
    margin-bottom: 15px;
}

.nested-comment {
    background: var(--surface-2);
    border-color: var(--hairline);
}

.comment-header {
    margin-bottom: 10px;
}

.comment-header a {
    color: var(--primary-hover);
    text-decoration: none;
}

.comment-header a:hover {
    text-decoration: underline;
}

.comment-meta {
    font-size: 0.9em;
    color: var(--text5);
}

.comment-edited {
    font-style: italic;
}

.comment-deleted {
    color: var(--error);
    font-weight: 700;
}

.comment-content {
    margin: 10px 0;
}

.comment-content p {
    margin: 0;
}

.deleted-content {
    opacity: 0.6;
    text-decoration: line-through;
}

.comment-actions {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--hairline);
}

/* ---------- Inline edit fields ---------- */
#title-container {
    position: relative;
    margin-bottom: 20px;
}

#title-input,
#description-input {
    border: none;
    border-radius: var(--radius-sm);
    padding: 8px;
    font-family: inherit;
    background: var(--input);
    color: var(--text1);
}

#description-input {
    font-size: 14px;
}

#title-input:focus,
#description-input:focus {
    outline: none;
    background: var(--surface);
}

/* ---------- Auth / login ---------- */
.creators-auth {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    overflow: hidden;
}

.creators-auth-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 1100px;
    height: 700px;
    background: radial-gradient(closest-side, rgba(0, 135, 160, 0.28), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.creators-auth-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
    margin: 0;
    box-shadow: var(--shadow-lift);
}

.creators-auth-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 22px;
}

.creators-auth-brand img {
    width: 34px;
    height: 34px;
}

.creators-auth-brand .creators-brand-name,
.creators-auth-brand .creators-brand-tag {
    font-size: 1.35rem;
}

.creators-auth-card h2 {
    margin-bottom: 18px;
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
    .creators-header {
        padding: 14px 20px;
    }

    .creators-content {
        padding: 24px 20px;
    }

    .creators-nav a {
        padding: 7px 12px;
        font-size: 0.9rem;
    }
}
