/* Studio Console — Bootstrap + Pocket admin theme bridge (load after pocket-admin-layout.css). */
:root {
    --bs-primary: #e8213a;
    --bs-primary-rgb: 232, 33, 58;
    --bs-link-color: #e8213a;
    --bs-link-hover-color: #c41830;
}

/* Cards & surfaces — CRUD pages */
html[data-theme='dark'] .admin-card,
html[data-theme='dark'] .admin-panel-card {
    background: var(--pa-card);
    border: 0.5px solid var(--pa-bdr);
    border-radius: 13px;
    color: var(--pa-txt);
    box-shadow: none;
}

html[data-theme='light'] .admin-card,
html[data-theme='light'] .admin-panel-card {
    background: var(--pa-card);
    border: 0.5px solid var(--pa-bdr);
    border-radius: 13px;
    color: var(--pa-txt);
    box-shadow: none;
}

html[data-theme='dark'] .admin-panel-card--accent {
    background: var(--pa-card2);
    border-color: var(--pa-bdr);
}

html[data-theme='light'] .admin-panel-card--accent {
    background: linear-gradient(180deg, #faf8ff 0%, #fff 42%);
    border-color: var(--pa-bdr);
}

html[data-theme='dark'] .admin-card .text-secondary,
html[data-theme='dark'] .admin-card .form-label,
html[data-theme='dark'] .admin-panel-card .text-secondary {
    color: var(--pa-muted) !important;
}

html[data-theme='dark'] .table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--pa-txt);
    border-color: var(--pa-bdr);
}

html[data-theme='dark'] .table thead th {
    color: var(--pa-muted);
    border-color: var(--pa-bdr);
}

html[data-theme='dark'] .table td {
    border-color: var(--pa-bdr);
}

/* Legacy dashboard helpers — still used on some pages */
.admin-gradient {
    background: linear-gradient(145deg, #ff145a 0%, #e6004c 100%);
}

.admin-page-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.35rem, 3vw, 1.65rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--pa-txt);
    margin: 0 0 0.35rem;
}

.admin-page-lead {
    font-size: 0.9rem;
    color: var(--pa-muted);
    margin: 0;
    max-width: 36rem;
    line-height: 1.5;
}

.admin-section-title {
    font-family: 'Sora', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--pa-txt);
}

.admin-stat-card {
    position: relative;
    background: var(--pa-card);
    border: 0.5px solid var(--pa-bdr);
    border-radius: 13px;
    padding: 1.1rem 1.15rem;
    transition: background 0.2s;
}

.admin-stat-card__label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--pa-muted);
}

.admin-stat-card__value {
    font-family: 'Sora', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--pa-txt);
    margin-top: 0.35rem;
}

.admin-list-feed__item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.65rem 0;
    border-bottom: 0.5px solid var(--pa-bdr);
}

.admin-list-feed__item:last-child {
    border-bottom: none;
}

.admin-list-feed__title {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--pa-txt);
}

.admin-list-feed__meta {
    font-size: 0.8rem;
    color: var(--pa-muted);
}

.admin-list-feed__time {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--pa-sub);
    white-space: nowrap;
}

.admin-tip-list {
    color: var(--pa-muted);
    line-height: 1.55;
}

.admin-tip-list strong {
    color: var(--pa-acc-txt);
    font-weight: 600;
}

.admin-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    padding: 0.2rem 0.55rem;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: var(--pa-acc-bg);
    color: var(--pa-acc-txt);
    border: 0.5px solid var(--pa-bdr);
}

html[data-theme='dark'] .alert-admin-success {
    background: rgba(29, 158, 117, 0.15);
    color: #6ee7b7;
    border: 1px solid rgba(29, 158, 117, 0.35);
}

html[data-theme='light'] .alert-admin-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

html[data-theme='dark'] .alert-admin-danger {
    background: rgba(239, 68, 68, 0.12);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.35);
}

html[data-theme='light'] .alert-admin-danger {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.table-admin thead th {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--pa-muted);
    background: transparent;
    border-bottom: 0.5px solid var(--pa-bdr) !important;
}

.table-admin tbody td {
    border-color: var(--pa-bdr) !important;
    color: var(--pa-txt);
}

html[data-theme='dark'] .table-admin tbody tr:hover td {
    background: var(--pa-card2);
}

/* --------------------------------------------------------------------------
   Auth split login — matches resources/views/auth/login.html (responsive)
   -------------------------------------------------------------------------- */
.auth-split-body {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    background: #070707;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: clamp(0.75rem, 3vw, 1.5rem);
    box-sizing: border-box;
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.auth-split-bg-glow {
    position: fixed;
    width: min(700px, 140vw);
    height: min(700px, 140vw);
    background: radial-gradient(circle, #ff145a 0%, transparent 70%);
    opacity: 0.22;
    top: -200px;
    right: -150px;
    pointer-events: none;
    z-index: 0;
    animation: auth-split-pulse 5s infinite alternate;
}

@keyframes auth-split-pulse {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.2);
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-split-bg-glow {
        animation: none;
    }

    .auth-split-hero-title,
    .auth-split-hero-lead {
        animation: none !important;
    }

    .auth-split-btn-submit:hover {
        transform: none;
    }
}

.auth-split-container {
    position: relative;
    z-index: 1;
    width: min(1100px, 100%);
    min-height: min(650px, auto);
    background: #111114;
    border-radius: clamp(20px, 4vw, 32px);
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    box-shadow:
        0 0 50px rgba(255, 20, 90, 0.18),
        0 20px 60px rgba(0, 0, 0, 0.7);
}

.auth-split-left {
    flex: 1;
    min-width: 0;
    background: linear-gradient(135deg, #ff145a, #e6004c);
    position: relative;
    padding: clamp(2rem, 6vw, 4.375rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    overflow: hidden;
}

.auth-split-left::before,
.auth-split-left::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.auth-split-left::before {
    width: min(300px, 70vw);
    height: min(300px, 70vw);
    top: -80px;
    left: -80px;
}

.auth-split-left::after {
    width: min(220px, 55vw);
    height: min(220px, 55vw);
    bottom: -70px;
    right: -40px;
}

.auth-split-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: clamp(1.25rem, 3vw, 2.2rem);
    position: relative;
    z-index: 1;
}

.auth-split-logo-icon {
    width: clamp(48px, 10vw, 55px);
    height: clamp(48px, 10vw, 55px);
    border-radius: 18px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff145a;
    font-size: clamp(1.25rem, 3vw, 1.625rem);
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.auth-split-logo h2 {
    font-size: clamp(1.25rem, 3vw, 1.875rem);
    font-weight: 700;
    margin: 0;
}

.auth-split-hero-title {
    font-size: clamp(2rem, 6vw, 3.875rem);
    line-height: 1.1;
    margin: 0 0 clamp(0.75rem, 2vw, 1.25rem);
    font-weight: 700;
    position: relative;
    z-index: 1;
    animation: auth-split-slide-up 1s ease;
}

.auth-split-hero-lead {
    font-size: clamp(0.95rem, 2vw, 1.125rem);
    opacity: 0.95;
    line-height: 1.8;
    max-width: 450px;
    margin: 0;
    position: relative;
    z-index: 1;
    animation: auth-split-fade 1.4s ease;
}

@keyframes auth-split-slide-up {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes auth-split-fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.auth-split-right {
    width: min(430px, 100%);
    flex-shrink: 0;
    background: #17171d;
    padding: clamp(2rem, 5vw, 4.375rem) clamp(1.5rem, 4vw, 3.125rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.auth-split-panel-title {
    color: #fff;
    font-size: clamp(1.65rem, 4vw, 2.375rem);
    margin: 0 0 0.35rem;
    font-weight: 700;
}

.auth-split-panel-sub {
    display: block;
    color: #9ca3af;
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
    font-size: clamp(0.875rem, 2vw, 1rem);
    line-height: 1.5;
}

.auth-split-alert {
    border-radius: 16px;
    padding: 0.85rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.auth-split-alert--success {
    background: rgba(16, 185, 129, 0.15);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.auth-split-alert--error {
    background: rgba(239, 68, 68, 0.12);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.35);
}

.auth-split-input-box {
    margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
}

.auth-split-input-box label {
    display: block;
    color: #cbd5e1;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
}

.auth-split-input-box input {
    width: 100%;
    padding: 17px 18px;
    border: 1px solid transparent;
    outline: none;
    border-radius: 16px;
    background: #23232b;
    color: #fff;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    box-sizing: border-box;
}

.auth-split-input-box input::placeholder {
    color: #6b7280;
}

.auth-split-input-box input:focus {
    border-color: #ff145a;
    box-shadow: 0 0 0 4px rgba(255, 20, 90, 0.15);
}

.auth-split-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: clamp(1.25rem, 3vw, 1.875rem);
    color: #d1d5db;
    font-size: 14px;
}

.auth-split-remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.auth-split-remember input[type='checkbox'] {
    width: 1rem;
    height: 1rem;
    accent-color: #ff145a;
    cursor: pointer;
}

.auth-split-options a {
    color: #ff4f7d;
    text-decoration: none;
    font-weight: 500;
}

.auth-split-options a:hover {
    text-decoration: underline;
}

.auth-split-btn-submit {
    width: 100%;
    padding: 17px;
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg, #ff145a, #e6004c);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 10px 25px rgba(255, 20, 90, 0.35);
}

.auth-split-btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 20, 90, 0.5);
}

.auth-split-footer {
    margin-top: clamp(1.5rem, 3vw, 2.2rem);
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
}

.auth-split-footer a {
    color: #ff4f7d;
    text-decoration: none;
    font-weight: 600;
}

.auth-split-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 980px) {
    .auth-split-container {
        flex-direction: column;
        max-width: 520px;
        margin: 0 auto;
    }

    .auth-split-left {
        padding: clamp(1.75rem, 5vw, 3rem);
    }

    .auth-split-right {
        width: 100%;
        padding: clamp(1.75rem, 5vw, 2.75rem) clamp(1.25rem, 4vw, 2rem);
    }
}

@media (max-width: 480px) {
    .auth-split-body {
        padding: 0.5rem;
        align-items: flex-start;
    }

    .auth-split-container {
        border-radius: 20px;
    }

    .auth-split-hero-title {
        font-size: 1.85rem;
    }

    .auth-split-panel-title {
        font-size: 1.5rem;
    }
}

.guest-shell {
    min-height: 100vh;
    background-color: #f4f4f5;
}

/* --------------------------------------------------------------------------
   Auth pages — Pocket FM–inspired (red hero, white sheet, bold type)
   -------------------------------------------------------------------------- */
.auth-shell {
    min-height: 100vh;
    margin: 0;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background: #faf8f6;
    color: #1a1a1a;
    -webkit-font-smoothing: antialiased;
}

.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

@media (min-width: 992px) {
    .auth-page {
        flex-direction: row;
        align-items: stretch;
    }
}

.auth-hero {
    position: relative;
    flex-shrink: 0;
    padding: clamp(2rem, 8vw, 3.5rem) 1.5rem clamp(3rem, 12vw, 5rem);
    background: linear-gradient(145deg, #ff2d3d 0%, #e50914 42%, #b20710 88%);
    color: #fff;
    text-align: center;
    overflow: hidden;
}

@media (min-width: 992px) {
    .auth-hero {
        width: 46%;
        max-width: 520px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: left;
        padding: 3rem 2.5rem 3rem 4rem;
    }

    .auth-hero-content {
        max-width: 340px;
    }
}

.auth-hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image:
        radial-gradient(circle at 20% 30%, #fff 0%, transparent 45%),
        radial-gradient(circle at 80% 70%, #fff 0%, transparent 40%),
        radial-gradient(circle at 50% 100%, #fff 0%, transparent 35%);
    pointer-events: none;
}

.auth-hero-content {
    position: relative;
    z-index: 1;
}

.auth-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    color: #fff;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.auth-hero-eyebrow {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 0.35rem;
}

.auth-hero-title {
    font-size: clamp(1.75rem, 5vw, 2.25rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 0.5rem;
}

.auth-hero-lead {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.92;
    margin: 0;
    line-height: 1.45;
}

.auth-sheet {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1rem 2rem;
    margin-top: -2.25rem;
}

@media (min-width: 992px) {
    .auth-sheet {
        margin-top: 0;
        padding: 2.5rem 2rem;
        justify-content: center;
        background: #faf8f6;
    }
}

.auth-card {
    width: 100%;
    max-width: 26rem;
    background: #fff;
    border-radius: 1.5rem;
    padding: clamp(1.75rem, 5vw, 2.25rem);
    box-shadow:
        0 4px 6px -1px rgba(15, 23, 42, 0.06),
        0 24px 48px -12px rgba(180, 7, 16, 0.12);
    border: 1px solid rgba(228, 228, 231, 0.9);
}

@media (min-width: 992px) {
    .auth-card {
        border-radius: 1.75rem;
        box-shadow:
            0 4px 6px -1px rgba(15, 23, 42, 0.05),
            0 32px 64px -16px rgba(15, 23, 42, 0.12);
    }
}

.auth-sheet-heading {
    font-size: 1.375rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #18181b;
    margin: 0 0 0.35rem;
}

.auth-sheet-sub {
    font-size: 0.875rem;
    color: #71717a;
    margin: 0 0 1.5rem;
    line-height: 1.5;
}

.auth-alert {
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.auth-alert-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.auth-alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.auth-form-group {
    margin-bottom: 1.125rem;
}

.auth-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #52525b;
    margin-bottom: 0.4rem;
}

.auth-input {
    display: block;
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #18181b;
    background: #fafafa;
    border: 1.5px solid #e4e4e7;
    border-radius: 0.875rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.auth-input::placeholder {
    color: #a1a1aa;
    font-weight: 400;
}

.auth-input:hover {
    border-color: #d4d4d8;
    background: #fff;
}

.auth-input:focus {
    outline: none;
    border-color: #e50914;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(229, 9, 20, 0.12);
}

.auth-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    color: #3f3f46;
}

.auth-check input {
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 0.35rem;
    border: 1.5px solid #d4d4d8;
    accent-color: #e50914;
}

.auth-btn-primary {
    display: block;
    width: 100%;
    padding: 0.95rem 1.25rem;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff !important;
    text-align: center;
    text-decoration: none;
    background: linear-gradient(180deg, #ff1a2e 0%, #e50914 55%, #c50812 100%);
    border: none;
    border-radius: 9999px;
    box-shadow:
        0 2px 4px rgba(180, 7, 16, 0.25),
        0 8px 20px -4px rgba(229, 9, 20, 0.45);
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.auth-btn-primary:hover {
    color: #fff !important;
    filter: brightness(1.05);
    box-shadow:
        0 4px 8px rgba(180, 7, 16, 0.3),
        0 12px 28px -6px rgba(229, 9, 20, 0.5);
}

.auth-btn-primary:active {
    transform: scale(0.98);
}

.auth-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    margin-top: 1.5rem;
    text-align: center;
}

.auth-link {
    font-size: 0.875rem;
    font-weight: 700;
    color: #e50914 !important;
    text-decoration: none !important;
}

.auth-link:hover {
    color: #b20710 !important;
    text-decoration: underline !important;
}

.auth-link-muted {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #71717a !important;
    text-decoration: none !important;
}

.auth-link-muted:hover {
    color: #18181b !important;
}

.auth-footer-note {
    margin-top: 1.75rem;
    font-size: 0.75rem;
    color: #a1a1aa;
    text-align: center;
}

@media (min-width: 992px) {
    .auth-footer-note {
        margin-top: 2rem;
    }
}

/* Delete user confirmation modal (users list) */
body.adt-modal-open {
    overflow: hidden;
}

.adt-del-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.adt-del-modal--open {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

.adt-del-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 6, 18, 0.62);
    backdrop-filter: blur(6px);
}

.adt-del-modal__panel {
    position: relative;
    width: 100%;
    max-width: 26rem;
    background: var(--pa-card);
    border: 0.5px solid var(--pa-bdr);
    border-radius: 16px;
    padding: 1.5rem 1.35rem 1.35rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    text-align: center;
}

html[data-theme='light'] .adt-del-modal__panel {
    box-shadow: 0 20px 50px rgba(26, 24, 48, 0.18);
}

.adt-del-modal__icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 1rem;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ff6b7a;
    background: rgba(232, 33, 58, 0.14);
    border: 0.5px solid rgba(232, 33, 58, 0.25);
}

.adt-del-modal__title {
    font-family: 'Sora', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--pa-txt);
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.adt-del-modal__lead {
    font-size: 0.8125rem;
    color: var(--pa-muted);
    line-height: 1.5;
    margin: 0 0 0.65rem;
}

.adt-del-modal__email {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--pa-muted);
}

.adt-del-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.adt-del-modal__btn {
    border-radius: 10px;
    padding: 0.5rem 1.1rem;
    font-weight: 600;
    font-size: 0.875rem;
    min-width: 6.5rem;
}

.adt-del-modal__btn--ghost {
    border: 0.5px solid var(--pa-bdr);
    background: var(--pa-card2);
    color: var(--pa-txt);
}

.adt-del-modal__btn--ghost:hover {
    background: var(--pa-card3);
    color: var(--pa-txt);
}

.adt-del-modal__btn--danger {
    border: none;
    color: #fff !important;
    background: linear-gradient(180deg, #ff5c6c 0%, #e8213a 100%);
    box-shadow: 0 6px 18px rgba(232, 33, 58, 0.35);
}

.adt-del-modal__btn--danger:hover {
    filter: brightness(1.05);
    color: #fff !important;
}

/* ── Admin “profile settings” style forms (create user, etc.) ── */
.pa-form-shell {
    max-width: 44rem;
    margin: 0 auto;
}

.pa-form-card {
    background: var(--pa-card);
    border: 0.5px solid var(--pa-bdr);
    border-radius: 14px;
    padding: 1.35rem 1.35rem 1.25rem;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}

@media (min-width: 576px) {
    .pa-form-card {
        padding: 1.65rem 1.85rem 1.5rem;
    }
}

html[data-theme='light'] .pa-form-card {
    box-shadow: 0 8px 28px rgba(26, 24, 48, 0.06);
}

.pa-form-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.35rem;
    padding-bottom: 1.1rem;
    border-bottom: 0.5px solid var(--pa-bdr);
}

.pa-form-kicker {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--pa-muted);
    margin-bottom: 0.35rem;
}

.pa-form-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.15rem, 2.5vw, 1.35rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--pa-txt);
    margin: 0;
    line-height: 1.2;
}

.pa-form-badge {
    flex-shrink: 0;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #4f8cff 0%, #206bc4 100%);
    color: #fff;
    box-shadow: 0 3px 10px rgba(32, 107, 196, 0.35);
}

.pa-form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--pa-txt);
    margin-bottom: 0.4rem;
}

.pa-req {
    color: var(--pa-red);
    font-weight: 700;
}

.pa-form-hint {
    font-size: 0.75rem;
    color: var(--pa-muted);
    margin-top: 0.35rem;
    line-height: 1.45;
}

.pa-form-control {
    border-radius: 10px;
    border: 0.5px solid var(--pa-bdr);
    background-color: var(--pa-card2);
    color: var(--pa-txt);
    font-size: 0.875rem;
    padding: 0.55rem 0.75rem;
    min-height: 44px;
}

/* Use background-color (not background shorthand) so the chevron is not tiled */
.pa-form-card select.form-select {
    padding-right: 2.25rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--pa-card2);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%238b87b0' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
}

html[data-theme='light'] .pa-form-card select.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%236b6890' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.pa-form-control:focus {
    border-color: rgba(55, 138, 221, 0.55);
    box-shadow: 0 0 0 3px rgba(55, 138, 221, 0.15);
    background-color: var(--pa-card);
    color: var(--pa-txt);
}

.pa-form-card select.form-select:focus {
    border-color: rgba(55, 138, 221, 0.55);
    box-shadow: 0 0 0 3px rgba(55, 138, 221, 0.15);
    background-color: var(--pa-card);
    color: var(--pa-txt);
}

.pa-form-control::placeholder {
    color: var(--pa-sub);
}

.pa-input-icon-wrap {
    position: relative;
}

.pa-input-icon {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    color: var(--pa-muted);
    font-size: 1.1rem;
    line-height: 1;
    pointer-events: none;
}

.pa-form-control--icon {
    padding-left: 2.55rem;
}

.pa-input-group-merge .pa-input-group-text {
    border-radius: 10px 0 0 10px;
    border: 0.5px solid var(--pa-bdr);
    border-right: none;
    background: var(--pa-card3);
    color: var(--pa-muted);
    font-size: 0.8125rem;
    font-weight: 600;
    padding-left: 0.85rem;
    padding-right: 0.5rem;
}

.pa-input-group-merge .form-control {
    border-radius: 0 10px 10px 0;
    border-left: none;
}

.pa-input-group-merge .form-control:focus {
    border-left: 0.5px solid rgba(55, 138, 221, 0.55);
}

.pa-form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
    margin-top: 1.65rem;
    padding-top: 1.15rem;
    border-top: 0.5px solid var(--pa-bdr);
}

.pa-form-btn-secondary {
    border-radius: 10px;
    padding: 0.55rem 1.15rem;
    font-weight: 600;
    font-size: 0.875rem;
    border: 0.5px solid var(--pa-bdr);
    background: transparent;
    color: var(--pa-muted);
}

.pa-form-btn-secondary:hover {
    border-color: var(--pa-sub);
    color: var(--pa-txt);
    background: var(--pa-card2);
}

.pa-form-btn-primary {
    border-radius: 10px;
    padding: 0.55rem 1.35rem;
    font-weight: 700;
    font-size: 0.875rem;
    border: none;
    color: #fff !important;
    background: linear-gradient(180deg, #4f8cff 0%, #378add 100%);
    box-shadow: 0 4px 14px rgba(55, 138, 221, 0.35);
}

.pa-form-btn-primary:hover {
    filter: brightness(1.06);
    color: #fff !important;
}

.pa-form-card .is-invalid {
    border-color: rgba(232, 33, 58, 0.55) !important;
}
