:root {
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --primary-soft: #ccfbf1;
    --accent: #0369a1;
    --bg: #f0f4f3;
    --bg-panel: #ffffff;
    --sidebar: #0f1c1a;
    --sidebar-hover: rgba(255, 255, 255, 0.06);
    --sidebar-active: rgba(13, 148, 136, 0.18);
    --text: #134e4a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --danger: #dc2626;
    --danger-soft: #fef2f2;
    --success: #059669;
    --warning: #d97706;
    --shadow: 0 1px 2px rgba(15, 28, 26, 0.04), 0 8px 24px rgba(15, 28, 26, 0.06);
    --radius: 14px;
    --font: 'Plus Jakarta Sans', system-ui, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    min-height: 100vh;
}

/* ========== Login ========== */
.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 1.5rem;
    background:
        radial-gradient(ellipse 80% 60% at 10% 10%, rgba(13, 148, 136, 0.18), transparent 50%),
        radial-gradient(ellipse 60% 50% at 90% 80%, rgba(3, 105, 161, 0.12), transparent 45%),
        linear-gradient(160deg, #ecfdf8 0%, #f0f4f3 45%, #e8f0ef 100%);
}

.login-card {
    background: var(--bg-panel);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 420px;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.login-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.login-brand .logo-mark {
    display: block;
    width: 76px;
    height: 76px;
    margin: 0 auto 1rem;
    border-radius: 18px;
    object-fit: contain;
    background: white;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.12);
}

.login-brand h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.03em;
}

.login-brand p {
    margin-top: 0.35rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.login-card .form-group {
    margin-bottom: 1.15rem;
}

.login-card .form-label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text);
}

.login-card .form-input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #f8fafc;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.login-card .form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.login-card .btn-primary {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.85rem;
}

.error-message {
    color: var(--danger);
    background: var(--danger-soft);
    border: 1px solid #fecaca;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 0.875rem;
    display: none;
}

/* ========== Layout ========== */
.layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: var(--sidebar);
    color: #e2e8f0;
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 40;
}

.brand {
    padding: 1.5rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand .logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    object-fit: contain;
    background: white;
    flex-shrink: 0;
}

.brand h2 {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: white;
}

.brand span {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    color: #94a3b8;
    margin-top: 0.1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.nav-menu {
    flex: 1;
    padding: 1rem 0.75rem;
    overflow-y: auto;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0.9rem;
    margin-bottom: 0.25rem;
    color: #94a3b8;
    text-decoration: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
}

.nav-item svg {
    width: 18px;
    height: 18px;
    opacity: 0.7;
    flex-shrink: 0;
}

.nav-item:hover {
    background: var(--sidebar-hover);
    color: #f1f5f9;
}

.nav-item:hover svg {
    opacity: 1;
}

.nav-item.active {
    background: var(--sidebar-active);
    color: #5eead4;
}

.nav-item.active svg {
    opacity: 1;
    color: #5eead4;
}

.logout-container {
    padding: 1rem 0.75rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.logout-btn {
    width: 100%;
    padding: 0.65rem 0.9rem;
    background: transparent;
    border: 1px solid rgba(248, 113, 113, 0.35);
    color: #fca5a5;
    cursor: pointer;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.15s, border-color 0.15s;
}

.logout-btn:hover {
    background: rgba(220, 38, 38, 0.12);
    border-color: rgba(248, 113, 113, 0.55);
}

/* ========== Main ========== */
.main-content {
    flex: 1;
    margin-left: 260px;
    padding: 1.75rem 2rem 2.5rem;
    min-width: 0;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.75rem;
    gap: 1rem;
}

.top-bar h1 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text);
}

.top-bar-start {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    flex: 1;
}

.top-bar-start h1 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.menu-toggle {
    display: none;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--border);
    background: var(--bg-panel);
    border-radius: 10px;
    color: var(--text);
    cursor: pointer;
    place-items: center;
}

.menu-toggle svg {
    width: 20px;
    height: 20px;
}

.sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 28, 26, 0.45);
    z-index: 35;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: var(--bg-panel);
    padding: 0.4rem 0.85rem 0.4rem 0.4rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    font: inherit;
    color: inherit;
    flex-shrink: 0;
}

.user-info:hover {
    border-color: #cbd5e1;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    display: grid;
    place-items: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.user-info span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    padding-right: 0.25rem;
}

.content-area {
    animation: fadeIn 0.25s ease-out;
}

/* ========== Stats ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.15rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: var(--bg-panel);
    padding: 1.35rem 1.4rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--stat-accent, var(--primary));
}

.stat-card:nth-child(1) { --stat-accent: #0d9488; }
.stat-card:nth-child(2) { --stat-accent: #0369a1; }
.stat-card:nth-child(3) { --stat-accent: #d97706; }
.stat-card:nth-child(4) { --stat-accent: #7c3aed; }

.stat-card h3 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text);
}

/* ========== Charts ========== */
.charts-container {
    background: var(--bg-panel);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.charts-container h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text);
}

.chart-wrapper {
    position: relative;
    height: 340px;
}

/* ========== Actions / Filters ========== */
.action-bar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.action-bar .btn-primary {
    width: auto;
    padding: 0.65rem 1.15rem;
    font-size: 0.875rem;
}

.filters-container {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    background: var(--bg-panel);
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    align-items: center;
    box-shadow: var(--shadow);
}

.filters-container .form-input {
    max-width: 180px;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.875rem;
    background: #f8fafc;
}

.filters-container .form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}

.filters-container .btn-primary,
.filters-container .btn-secondary {
    width: auto;
    padding: 0.55rem 1rem;
    font-size: 0.875rem;
}

.btn-secondary {
    background: white;
    color: var(--text);
    border: 1px solid var(--border);
    padding: 0.65rem 1.15rem;
    border-radius: 10px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* ========== Table ========== */
.table-container {
    background: var(--bg-panel);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.table-scroll {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 0.9rem 1.1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

th {
    background: #f8fafc;
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

tbody tr {
    transition: background 0.12s;
}

tbody tr:hover {
    background: #f8fffe;
}

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

.empty-state,
.loading-state,
.error-text {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 3rem 1.5rem;
    text-align: center;
    color: var(--text-muted);
    box-shadow: var(--shadow);
}

.error-text {
    color: var(--danger);
    background: var(--danger-soft);
    border-color: #fecaca;
}

/* ========== Buttons ========== */
.btn-primary {
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
    width: 100%;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

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

.btn-link {
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.25rem 0.4rem;
    border-radius: 6px;
    transition: background 0.12s;
}

.btn-link.edit {
    color: var(--accent);
}

.btn-link.edit:hover {
    background: #e0f2fe;
}

.btn-link.delete {
    color: var(--danger);
}

.btn-link.delete:hover {
    background: var(--danger-soft);
}

.row-actions {
    display: flex;
    gap: 0.25rem;
    white-space: nowrap;
}

/* ========== Status badges ========== */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: capitalize;
}

.status-badge.pending {
    background: #fffbeb;
    color: #b45309;
}

.status-badge.confirmed {
    background: #ecfdf5;
    color: #047857;
}

.status-badge.completed {
    background: #eff6ff;
    color: #1d4ed8;
}

.status-badge.cancelled,
.status-badge.rejected {
    background: #fef2f2;
    color: #b91c1c;
}

.status-badge.approved {
    background: #ecfdf5;
    color: #047857;
}

/* ========== Review / FAQ cards ========== */
.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.1rem;
}

.chip {
    background: var(--bg-panel);
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.12s, color 0.12s, border-color 0.12s;
}

.chip:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
}

.chip.active {
    background: var(--primary-soft);
    border-color: var(--primary);
    color: var(--primary-dark);
}

.card-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.review-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.25rem 1.35rem;
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-card-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}

.review-card-sub {
    margin-top: 0.2rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.review-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: flex-end;
}

.kind-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: #f1f5f9;
    color: #475569;
}

.detail-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem 1.25rem;
    margin: 0;
}

.detail-row dt {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
}

.detail-row dd {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text);
    word-break: break-word;
}

.card-actions {
    display: flex;
    gap: 0.35rem;
    margin-top: 1.1rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--border);
}

.faq-card {
    display: grid;
    gap: 1rem;
}

.faq-lang h3 {
    font-size: 0.98rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--text);
}

.faq-lang p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    white-space: pre-wrap;
}

@media (min-width: 800px) {
    .faq-card {
        grid-template-columns: 1fr 1fr;
    }

    .faq-card .card-actions {
        grid-column: 1 / -1;
    }
}

/* ========== Modal ========== */
.modal {
    position: fixed;
    z-index: 1000;
    inset: 0;
    overflow: auto;
    background: rgba(15, 28, 26, 0.45);
    backdrop-filter: blur(6px);
    display: none;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    padding: 1.75rem 1.75rem 1.5rem;
    border-radius: 18px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 50px rgba(15, 28, 26, 0.2);
    animation: slideUp 0.25s ease-out forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-content h2 {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
    padding-right: 2rem;
}

.close {
    color: #94a3b8;
    font-size: 1.5rem;
    font-weight: 400;
    cursor: pointer;
    position: absolute;
    right: 1.15rem;
    top: 1rem;
    line-height: 1;
    transition: color 0.15s;
    border: none;
    background: none;
}

.close:hover {
    color: var(--text);
}

.form-group {
    margin-bottom: 1.1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    color: var(--text);
    font-size: 0.85rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
    background: #f8fafc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}

.form-group textarea {
    min-height: 90px;
    resize: vertical;
}

#currentIconPreview img {
    height: 48px;
    margin-top: 0.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

/* ========== Responsive ========== */
@media (max-width: 900px) {
    .sidebar {
        width: 72px;
    }

    .brand h2,
    .brand span,
    .nav-item span,
    .logout-btn {
        display: none;
    }

    .brand {
        justify-content: center;
        padding: 1.25rem 0.5rem;
    }

    .nav-item {
        justify-content: center;
        padding: 0.85rem;
    }

    .logout-container {
        display: flex;
        justify-content: center;
    }

    .logout-btn {
        display: block;
        width: 44px;
        height: 44px;
        padding: 0;
        border-radius: 10px;
        font-size: 0;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23fca5a5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpolyline points='16 17 21 12 16 7'/%3E%3Cline x1='21' y1='12' x2='9' y2='12'/%3E%3C/svg%3E") center/18px no-repeat;
    }

    .main-content {
        margin-left: 72px;
        padding: 1.25rem;
    }

    .top-bar h1 {
        font-size: 1.25rem;
    }
}

@media (max-width: 640px) {
    .menu-toggle {
        display: grid;
    }

    .sidebar {
        width: 260px;
        transform: translateX(-100%);
        transition: transform 0.2s ease;
    }

    body.sidebar-open .sidebar {
        transform: translateX(0);
    }

    body.sidebar-open .sidebar-backdrop {
        display: block;
    }

    body.sidebar-open {
        overflow: hidden;
    }

    .brand {
        justify-content: flex-start;
        padding: 1.5rem 1.25rem;
    }

    .brand h2,
    .brand span,
    .nav-item span {
        display: revert;
    }

    .nav-item {
        justify-content: flex-start;
        padding: 0.7rem 0.9rem;
    }

    .logout-container {
        display: block;
    }

    .logout-btn {
        display: block;
        width: 100%;
        height: auto;
        padding: 0.65rem 0.9rem;
        font-size: 0.875rem;
        background: transparent;
        background-image: none;
    }

    .main-content {
        margin-left: 0;
        padding: 1rem;
    }

    .user-info span {
        display: none;
    }

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

    .filters-container .form-input,
    .filters-container .btn-primary,
    .filters-container .btn-secondary,
    .action-bar .btn-primary {
        max-width: none;
        width: 100%;
    }

    .chart-wrapper {
        height: 220px;
    }

    .modal {
        padding: 0.75rem;
        align-items: flex-end;
    }

    .modal-content {
        padding: 1.25rem 1.15rem;
        max-height: 92vh;
        border-radius: 16px 16px 12px 12px;
    }

    th,
    td {
        padding: 0.7rem 0.8rem;
        font-size: 0.85rem;
    }

    .settings-card {
        max-width: none;
        padding: 1.25rem;
    }

    .settings-card .btn-primary {
        width: 100%;
    }

    .top-bar h1 {
        font-size: 1.1rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
    }
}

.settings-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    max-width: 440px;
}

.settings-card h2 {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.settings-hint {
    margin: -0.35rem 0 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.settings-profile {
    margin: 0 0 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}

.settings-profile dt {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.settings-profile dd {
    margin: 0.15rem 0 0.85rem;
    font-weight: 600;
    word-break: break-word;
}

.settings-profile dd:last-child {
    margin-bottom: 0;
}

.settings-card .btn-primary {
    width: auto;
}

.form-banner {
    display: none;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.form-banner.show {
    display: block;
}

.form-banner.error {
    color: var(--danger);
    background: var(--danger-soft);
    border: 1px solid #fecaca;
}

.form-banner.success {
    color: var(--success);
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}

/* ========== Form hints & inline status control ========== */
.optional-hint,
.required-hint {
    font-weight: 500;
    font-size: 0.72rem;
    letter-spacing: 0;
    text-transform: none;
}

.optional-hint {
    color: var(--text-muted);
}

.required-hint {
    color: var(--warning);
}

.status-select {
    padding: 0.35rem 0.5rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.8rem;
    background: #f8fafc;
    cursor: pointer;
    max-width: 160px;
}

.status-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}
