/* ============================================================
   DorothyJeanius Admin Panel - Styles
   Light theme, functional layout, DJT brand accents
   ============================================================ */

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

:root {
    --navy: #0d0d30;
    --navy-mid: #141445;
    --gold: #d4a843;
    --gold-light: #f0d88a;
    --gold-pale: #fdf5e0;
    --white: #ffffff;
    --cream: #faf8f4;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --danger: #dc2626;
    --danger-light: #fef2f2;
    --success: #16a34a;
    --success-light: #f0fdf4;
    --radius: 10px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.15);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--gray-50);
    color: var(--gray-700);
    min-height: 100vh;
    line-height: 1.5;
}

h1, h2, h3, h4 {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1.5px;
}

/* ========== LOGIN SCREEN ========== */
.login-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: var(--navy);
    padding: 24px;
}

.login-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 48px 40px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.login-card .logo-mark {
    width: 72px;
    height: 72px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: var(--navy);
    letter-spacing: 2px;
}

.login-card h1 {
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 8px;
}

.login-card .subtitle {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 32px;
}

.login-card .form-group {
    text-align: left;
    margin-bottom: 20px;
}

.login-card label {
    display: block;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--gray-600);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-card input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.2s;
}

.login-card input[type="password"]:focus {
    outline: none;
    border-color: var(--gold);
}

.login-card .login-error {
    color: var(--danger);
    font-size: 0.85rem;
    margin-bottom: 12px;
    display: none;
}

.login-card .btn-login {
    width: 100%;
    padding: 16px;
    background: var(--gold);
    color: var(--navy);
    border: none;
    border-radius: 8px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.2s;
}

.login-card .btn-login:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 168, 67, 0.3);
}

/* ========== HEADER ========== */
.admin-header {
    background: var(--navy);
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.admin-header .brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.admin-header .logo-mark {
    width: 40px;
    height: 40px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    color: var(--navy);
    letter-spacing: 1px;
    flex-shrink: 0;
}

.admin-header h1 {
    color: var(--gold);
    font-size: 1.5rem;
    letter-spacing: 3px;
}

.admin-header .header-subtitle {
    color: rgba(255,255,255,0.5);
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.admin-header .header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-view-site {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.7);
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-view-site:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-logout {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #fca5a5;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-logout:hover {
    background: rgba(220, 38, 38, 0.3);
    color: #fff;
}

/* ========== STATS BAR ========== */
.stats-bar {
    display: flex;
    gap: 20px;
    padding: 24px 32px;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.stat-card {
    flex: 1;
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    text-align: center;
}

.stat-card .stat-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-card .stat-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.stat-card.stat-gold {
    background: var(--gold-pale);
    border-color: var(--gold);
}

.stat-card.stat-gold .stat-number {
    color: var(--gold);
}

/* ========== TABS ========== */
.tabs-bar {
    display: flex;
    gap: 0;
    padding: 0 32px;
    background: var(--white);
    border-bottom: 2px solid var(--gray-200);
}

.tab-btn {
    padding: 16px 28px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: var(--gray-400);
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: -2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn:hover {
    color: var(--gray-600);
}

.tab-btn.active {
    color: var(--navy);
    border-bottom-color: var(--gold);
}

.tab-btn .badge {
    background: var(--gray-200);
    color: var(--gray-600);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    letter-spacing: 0;
}

.tab-btn.active .badge {
    background: var(--gold);
    color: var(--navy);
}

/* ========== CONTENT AREA ========== */
.tab-content {
    display: none;
    padding: 28px 32px;
}

.tab-content.active {
    display: block;
}

/* ========== TOOLBAR ========== */
.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
    flex-wrap: wrap;
}

.toolbar .search-box {
    position: relative;
    flex: 1;
    max-width: 360px;
}

.toolbar .search-box input {
    width: 100%;
    padding: 12px 16px 12px 42px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    transition: border-color 0.2s;
}

.toolbar .search-box input:focus {
    outline: none;
    border-color: var(--gold);
}

.toolbar .search-box i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--gold);
    color: var(--navy);
    border: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 168, 67, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--white);
    color: var(--gray-600);
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    border-color: var(--gray-300);
    background: var(--gray-50);
}

.btn-danger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--danger-light);
    color: var(--danger);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-danger:hover {
    background: #fee2e2;
    border-color: var(--danger);
}

/* ========== EVENT CARDS ========== */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}

.event-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
}

.event-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--gray-300);
}

.event-card .card-image {
    width: 100%;
    height: 180px;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.event-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-card .card-image .placeholder {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: var(--gold);
    letter-spacing: 4px;
    opacity: 0.4;
}

.event-card .card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.badge-upcoming {
    background: var(--gold);
    color: var(--navy);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-past {
    background: var(--gray-400);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-featured {
    background: var(--navy);
    color: var(--gold);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-type {
    background: rgba(255,255,255,0.9);
    color: var(--navy);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.event-card .card-body {
    padding: 20px;
}

.event-card .card-body h3 {
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.2;
}

.event-card .card-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.event-card .card-meta span {
    font-size: 0.8rem;
    color: var(--gray-500);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.event-card .card-meta span i {
    color: var(--gold);
    margin-top: 2px;
    flex-shrink: 0;
}

.event-card .card-desc {
    font-size: 0.82rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-card .card-actions {
    display: flex;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--gray-100);
}

/* ========== PRESS TABLE ========== */
.press-table-wrapper {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

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

.press-table thead th {
    text-align: left;
    padding: 14px 16px;
    background: var(--gray-50);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-500);
    border-bottom: 2px solid var(--gray-200);
    white-space: nowrap;
}

.press-table tbody tr {
    transition: background 0.15s;
}

.press-table tbody tr:hover {
    background: var(--gold-pale);
}

.press-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.85rem;
    vertical-align: middle;
}

.press-table .pub-name {
    font-weight: 700;
    color: var(--navy);
    white-space: nowrap;
}

.press-table .headline-cell {
    max-width: 360px;
}

.press-table .headline-cell a {
    color: var(--gray-700);
    text-decoration: none;
    transition: color 0.2s;
}

.press-table .headline-cell a:hover {
    color: var(--gold);
}

.press-table .tier-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.tier-1 {
    background: var(--gold-pale);
    color: #8b6914;
}

.tier-2 {
    background: #ede9fe;
    color: #5b21b6;
}

.tier-3 {
    background: var(--gray-100);
    color: var(--gray-500);
}

.press-table .actions-cell {
    white-space: nowrap;
}

.press-table .actions-cell button {
    margin-right: 4px;
}

/* ========== MODAL ========== */
.modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 500;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 20px;
    overflow-y: auto;
}

.modal-backdrop.active {
    display: flex;
}

.modal {
    background: var(--white);
    border-radius: 12px;
    width: 100%;
    max-width: 600px;
    box-shadow: var(--shadow-lg);
    animation: modalIn 0.25s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(-20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    border-bottom: 1px solid var(--gray-200);
}

.modal-header h2 {
    font-size: 1.5rem;
    color: var(--navy);
}

.modal-close {
    width: 36px;
    height: 36px;
    background: var(--gray-100);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 1.1rem;
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--gray-200);
    color: var(--gray-700);
}

.modal-body {
    padding: 28px;
    max-height: calc(100vh - 220px);
    overflow-y: auto;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 28px;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
    border-radius: 0 0 12px 12px;
}

/* ========== FORM ELEMENTS ========== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--gray-600);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group label .required {
    color: var(--danger);
    margin-left: 2px;
}

.form-group input[type="text"],
.form-group input[type="url"],
.form-group input[type="email"],
.form-group input[type="date"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: var(--gray-700);
    transition: border-color 0.2s;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
    line-height: 1.6;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%236b7280'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group .help-text {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-top: 4px;
}

.form-group .checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
}

.form-group .checkbox-wrapper input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--gold);
    cursor: pointer;
}

.form-group .checkbox-wrapper label {
    margin: 0;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.9rem;
    color: var(--gray-700);
    cursor: pointer;
}

/* ========== IMAGE UPLOAD / DROP ZONE ========== */
.image-upload-zone {
    border: 2px dashed var(--gray-300);
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
    background: var(--gray-50);
}

.image-upload-zone:hover,
.image-upload-zone.drag-over {
    border-color: var(--gold);
    background: var(--gold-pale);
}

.image-upload-zone i {
    font-size: 2rem;
    color: var(--gray-300);
    margin-bottom: 8px;
    display: block;
}

.image-upload-zone.drag-over i {
    color: var(--gold);
}

.image-upload-zone .upload-text {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.image-upload-zone .upload-hint {
    font-size: 0.72rem;
    color: var(--gray-400);
}

.image-upload-zone .upload-text strong {
    color: var(--gold);
}

.image-preview {
    margin-top: 12px;
    display: none;
}

.image-preview.has-image {
    display: block;
}

.image-preview .preview-wrapper {
    position: relative;
    display: inline-block;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--gray-200);
}

.image-preview img {
    max-width: 100%;
    max-height: 200px;
    display: block;
}

.image-preview .remove-image {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    background: rgba(220, 38, 38, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.image-url-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 0.78rem;
    color: var(--gray-500);
}

.image-url-toggle a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

.image-url-toggle a:hover {
    text-decoration: underline;
}

.image-url-input {
    display: none;
    margin-top: 8px;
}

.image-url-input.visible {
    display: block;
}

/* ========== TOAST NOTIFICATIONS ========== */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    animation: toastIn 0.3s ease;
    pointer-events: auto;
    max-width: 380px;
}

.toast.toast-success {
    background: var(--success);
    color: white;
}

.toast.toast-error {
    background: var(--danger);
    color: white;
}

.toast.toast-info {
    background: var(--navy);
    color: white;
}

.toast.toast-out {
    animation: toastOut 0.3s ease forwards;
}

@keyframes toastIn {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes toastOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(40px); }
}

/* ========== CONFIRM DIALOG ========== */
.confirm-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 600;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.confirm-backdrop.active {
    display: flex;
}

.confirm-dialog {
    background: var(--white);
    border-radius: 12px;
    padding: 32px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-lg);
    animation: modalIn 0.2s ease;
}

.confirm-dialog .confirm-icon {
    width: 56px;
    height: 56px;
    background: var(--danger-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.confirm-dialog .confirm-icon i {
    font-size: 1.5rem;
    color: var(--danger);
}

.confirm-dialog h3 {
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: 8px;
}

.confirm-dialog p {
    color: var(--gray-500);
    font-size: 0.85rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.confirm-dialog .confirm-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* ========== EMPTY STATE ========== */
.empty-state {
    text-align: center;
    padding: 60px 24px;
    color: var(--gray-400);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.5rem;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 0.85rem;
    margin-bottom: 20px;
}

/* ========== RADIO GROUP (Location Type) ========== */
.radio-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    flex: 1;
    min-width: 120px;
}

.radio-label:hover {
    border-color: var(--gold);
    background: var(--gold-pale);
}

.radio-label input[type="radio"] {
    accent-color: var(--gold);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.radio-label input[type="radio"]:checked + .radio-text {
    color: var(--navy);
    font-weight: 600;
}

.radio-label:has(input:checked) {
    border-color: var(--gold);
    background: var(--gold-pale);
}

.radio-text {
    font-size: 0.85rem;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 6px;
}

.radio-text i {
    font-size: 0.8rem;
    color: var(--gold);
}

/* ========== RSVP COUNT BADGE ========== */
.rsvp-count-badge {
    background: var(--gold);
    color: var(--navy);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    margin-left: 4px;
    min-width: 20px;
    text-align: center;
    display: inline-block;
}

.btn-rsvp-view {
    white-space: nowrap;
}

/* ========== RSVP STATS ========== */
.rsvp-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.rsvp-stat {
    flex: 1;
    text-align: center;
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
}

.rsvp-stat-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--navy);
    line-height: 1;
    display: block;
    margin-bottom: 4px;
}

.rsvp-stat-label {
    font-size: 0.7rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* RSVP table scroll wrapper */
.rsvp-table-scroll {
    overflow-x: auto;
    margin: 0 -8px;
    padding: 0 8px;
}

.rsvp-table {
    min-width: 500px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .admin-header {
        padding: 12px 16px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .admin-header h1 {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }

    .admin-header .header-subtitle {
        display: none;
    }

    .stats-bar {
        padding: 16px;
        gap: 10px;
        flex-wrap: wrap;
    }

    .stat-card {
        min-width: calc(50% - 10px);
        padding: 14px;
    }

    .stat-card .stat-number {
        font-size: 1.8rem;
    }

    .tabs-bar {
        padding: 0 16px;
        overflow-x: auto;
    }

    .tab-btn {
        padding: 14px 18px;
        font-size: 1.05rem;
    }

    .tab-content {
        padding: 20px 16px;
    }

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

    .toolbar .search-box {
        max-width: 100%;
    }

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

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

    .modal {
        max-width: 100%;
        border-radius: 12px 12px 0 0;
    }

    .modal-body {
        max-height: calc(100vh - 200px);
    }

    .press-table {
        font-size: 0.8rem;
    }

    .press-table thead th,
    .press-table tbody td {
        padding: 10px 10px;
    }

    .press-table .headline-cell {
        max-width: 200px;
    }

    /* Stack table for mobile */
    .press-table thead { display: none; }
    .press-table tbody tr {
        display: block;
        padding: 16px;
        border-bottom: 1px solid var(--gray-200);
        position: relative;
    }
    .press-table tbody td {
        display: block;
        padding: 3px 0;
        border: none;
    }
    .press-table tbody td:first-child {
        font-weight: 700;
    }
    .press-table .actions-cell {
        margin-top: 10px;
        display: flex;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 32px 24px;
    }

    .stat-card {
        min-width: 100%;
    }

    .stats-bar {
        flex-direction: column;
    }

    .admin-header .header-actions {
        width: 100%;
        justify-content: flex-end;
    }
}
