﻿/**
 * RECEPTION DASHBOARD — PREMIUM REDESIGN
 * Dark-header, refined stats, compact scanner, premium activity feed
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --brand: #BFDC92;
    --brand-dark: #9BBF6A;
    --brand-darker: #7DA348;
    --brand-light: #D8ECBC;
    --brand-50: #f3f9ea;
    --success: #10b981;
    --success-light: #d1fae5;
    --danger: #ef4444;
    --danger-light: #fee2e2;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --text-dark: #0f172a;
    --text-med: #475569;
    --text-light: #94a3b8;
    --bg-page: #f1f5f9;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --header-dark: #1e293b;
    --header-darker: #0f172a;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
}

/* MEMBER VERIFICATION PAGE - PREMIUM DESIGN */
.member-verification-page {
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px;
    background: linear-gradient(135deg, #f8fffe 0%, #fdfff7 100%);
    min-height: 100vh;
}

.verification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.verification-header h2 {
    margin: 0;
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 15px;
}

.verification-header h2::before {
    content: '';
    width: 6px;
    height: 40px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    border-radius: 3px;
}

/* PROFILE GRID - HERO SECTION */
.profile-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.profile-photo-section {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.profile-photo-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(191,220,146,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.member-photo-large {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid var(--brand);
    box-shadow: 0 20px 60px rgba(191,220,146,0.4),
                0 0 0 20px rgba(191,220,146,0.1);
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.verification-status {
    position: relative;
    z-index: 1;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-active {
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(16,185,129,0.4);
}

.status-inactive {
    background: linear-gradient(135deg, var(--danger) 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(239,68,68,0.4);
}

/* PROFILE INFO - PREMIUM CARDS */
.profile-info-section {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.profile-info-section h3 {
    margin: 0 0 30px 0;
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    border-bottom: 3px solid var(--brand);
    padding-bottom: 15px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    background: linear-gradient(135deg, var(--bg-page) 0%, #ffffff 100%);
    border-radius: 14px;
    border-left: 4px solid var(--brand);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.info-item label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.info-item span {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

.alert {
    padding: 18px 24px;
    border-radius: 12px;
    margin-top: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border-left: 4px solid var(--warning);
}

.alert-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border-left: 4px solid #10b981;
}

.alert-danger {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border-left: 4px solid var(--danger);
}

/* SERVICES SECTION */
.services-section {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.services-section h3 {
    margin: 0 0 25px 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.services-section h3::before {
    content: '✓';
    width: 36px;
    height: 36px;
    background: var(--brand);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.services-list {
    display: grid;
    gap: 15px;
}

.service-item {
    padding: 20px 25px;
    background: linear-gradient(135deg, var(--bg-page) 0%, #ffffff 100%);
    border-radius: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid var(--brand);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.service-item-disabled {
    opacity: 0.6;
    border-left-color: var(--danger);
    background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
}

.service-item-disabled:hover {
    transform: none;
}

.service-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.service-name {
    font-weight: 700;
    font-size: 16px;
    color: var(--text-dark);
}

.service-usage {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-med);
    background: white;
    padding: 6px 16px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
}

.usage-exceeded {
    color: var(--danger);
    background: #fee2e2;
}

.usage-warning {
    color: var(--warning);
    background: #fef3c7;
}

.usage-unlimited {
    color: var(--success);
    background: #d1fae5;
}

.usage-status {
    font-weight: 700;
}

.service-status-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.service-status-badge.status-success {
    background: #d1fae5;
    color: var(--success);
}

.service-status-badge.status-error {
    background: #fee2e2;
    color: var(--danger);
}

.service-status-badge svg {
    width: 16px;
    height: 16px;
}

/* CHECK-IN FORM - PREMIUM */
.checkin-form-section {
    background: linear-gradient(135deg, #ffffff 0%, #f0fffb 100%);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(191,220,146,0.15);
    margin-bottom: 30px;
    border: 2px solid var(--brand);
}

.checkin-form-section h3 {
    margin: 0 0 30px 0;
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.checkin-form-section h3::before {
    content: '⚡';
    font-size: 32px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sports-select,
.sports-textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.sports-select:focus,
.sports-textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(191,220,146,0.2);
}

.sports-button-large {
    width: 100%;
    padding: 20px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.sports-button-success {
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(16,185,129,0.4);
}

.sports-button-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(16,185,129,0.5);
}

/* RECENT CHECK-INS TABLE */
.recent-checkins-section {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.recent-checkins-section h3 {
    margin: 0 0 25px 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
}

.sports-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px;
}

.sports-table thead th {
    text-align: left;
    padding: 16px 20px;
    background: var(--bg-page);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-med);
    border-radius: 10px;
}

.sports-table tbody tr {
    background: white;
    transition: all 0.3s ease;
}

.sports-table tbody tr:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.sports-table tbody td {
    padding: 20px;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
}

.sports-table tbody td:first-child {
    border-left: 1px solid #f1f5f9;
    border-radius: 10px 0 0 10px;
}

.sports-table tbody td:last-child {
    border-right: 1px solid #f1f5f9;
    border-radius: 0 10px 10px 0;
}

@media (max-width: 1200px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================
   RECEPTION DASHBOARD — PREMIUM LAYOUT
   ============================================ */

.reception-masterpiece {
    min-height: 100vh;
    background: var(--bg-page);
    padding: 0;
    margin: 0 -20px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ============================================
   DARK PREMIUM HEADER
   ============================================ */

.reception-header {
    background: linear-gradient(135deg, var(--header-darker) 0%, var(--header-dark) 50%, #334155 100%);
    color: white;
    padding: 20px 40px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--brand);
}

.reception-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.facility-logo {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--header-darker);
    box-shadow: 0 4px 12px rgba(191, 220, 146, 0.3);
}

.reception-header h1 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.reception-header p {
    margin: 2px 0 0 0;
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
}

.reception-header p strong {
    color: var(--brand-light);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.current-time {
    font-size: 13px;
    font-weight: 600;
    font-family: 'Inter', monospace;
    background: rgba(255, 255, 255, 0.08);
    padding: 10px 16px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    letter-spacing: 0.3px;
}

.receptionist-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    color: #6ee7b7;
}

.receptionist-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

/* ============================================
   STATS BAR — REFINED CARDS
   ============================================ */

.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 28px 40px;
    max-width: 1600px;
    margin: 0 auto;
}

.stat-item {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.stat-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 16px 16px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.stat-item:hover::after {
    opacity: 1;
}

.stat-item.stat-primary::after { background: linear-gradient(90deg, var(--brand), var(--brand-dark)); }
.stat-item.stat-success::after { background: linear-gradient(90deg, #10b981, #059669); }
.stat-item.stat-info::after { background: linear-gradient(90deg, #3b82f6, #2563eb); }
.stat-item.stat-warning::after { background: linear-gradient(90deg, #f59e0b, #d97706); }

.stat-item.stat-primary .stat-icon {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    box-shadow: 0 4px 14px rgba(191, 220, 146, 0.35);
}

.stat-item.stat-success .stat-icon {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.stat-item.stat-info .stat-icon {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
}

.stat-item.stat-warning .stat-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
    color: var(--text-dark);
    letter-spacing: -1px;
}

.stat-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */

.reception-main-content {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 24px;
    padding: 0 40px 40px 40px;
    max-width: 1600px;
    margin: 0 auto;
}

.panel-card {
    background: var(--bg-card);
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: box-shadow 0.3s ease;
}

.panel-card:hover {
    box-shadow: var(--shadow-lg);
}

.card-header {
    padding: 20px 28px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #fafbfc 0%, #f8fafc 100%);
}

.card-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.3px;
}

.card-header h2 svg,
.card-header h2 [data-icon] {
    color: var(--brand-dark);
}

/* ============================================
   SCANNER PANEL — COMPACT & PREMIUM
   ============================================ */

.scanner-area {
    padding: 28px;
    background: linear-gradient(180deg, #fafbfc 0%, #f1f5f9 100%);
}

.scanner-visual {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 260px;
    margin: 0 auto;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.04),
                0 4px 20px rgba(191, 220, 146, 0.12);
    overflow: hidden;
    border: 2px solid var(--brand-light);
}

.scanner-animation {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand), transparent);
    animation: scanAnimation 2.5s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(191, 220, 146, 0.6);
}

@keyframes scanAnimation {
    0%, 100% {
        top: 15%;
        opacity: 0;
    }
    50% {
        top: 85%;
        opacity: 1;
    }
}

.corner-tl, .corner-tr, .corner-bl, .corner-br {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 3px solid var(--brand);
    opacity: 0.6;
}

.corner-tl {
    top: 25px;
    left: 25px;
    border-right: none;
    border-bottom: none;
    border-radius: 8px 0 0 0;
}

.corner-tr {
    top: 25px;
    right: 25px;
    border-left: none;
    border-bottom: none;
    border-radius: 0 8px 0 0;
}

.corner-bl {
    bottom: 25px;
    left: 25px;
    border-right: none;
    border-top: none;
    border-radius: 0 0 0 8px;
}

.corner-br {
    bottom: 25px;
    right: 25px;
    border-left: none;
    border-top: none;
    border-radius: 0 0 8px 0;
}

.scanner-icon {
    color: var(--brand-light);
    margin-bottom: 16px;
    opacity: 0.35;
}

.scanner-text h3 {
    margin: 0 0 4px 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
}

.scanner-text p {
    margin: 0;
    font-size: 14px;
    color: var(--text-light);
}

.scanner-status {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
}

.scanner-status.status-ready {
    background: var(--brand-50);
    color: var(--brand-darker);
    border: 1px solid var(--brand-light);
}

.scanner-status.status-processing {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fbbf24;
}

.scanner-status.status-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #f87171;
}

/* ============================================
   BARCODE INPUT — CLEAN DESIGN
   ============================================ */

.scanner-input-group {
    padding: 24px 28px;
    display: flex;
    gap: 12px;
    align-items: stretch;
    border-top: 1px solid var(--border-color);
}

.input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    color: #6b7280;
    pointer-events: none;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.barcode-input {
    width: 100%;
    padding: 14px 50px 14px 16px;
    font-size: 15px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.25s ease;
    font-weight: 500;
    background: white;
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
}

.barcode-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.barcode-input:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(191, 220, 146, 0.15);
    background: #fefffe;
}

.clear-button {
    position: absolute;
    right: 10px;
    width: 30px;
    height: 30px;
    border: none;
    background: var(--bg-page);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #6b7280;
}

.clear-button:hover {
    background: #e2e8f0;
    color: var(--text-dark);
}

.search-button {
    padding: 0 28px;
    font-size: 14px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: var(--header-darker);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(191, 220, 146, 0.3);
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

.search-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(191, 220, 146, 0.4);
    background: linear-gradient(135deg, var(--brand-dark), var(--brand-darker));
}

.search-button:active {
    transform: translateY(0);
}

/* ============================================
   QUICK ACTIONS — GRID
   ============================================ */

.quick-actions {
    padding: 0 28px 28px 28px;
}

.quick-actions h3 {
    margin: 0 0 14px 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.action-btn {
    padding: 14px 12px;
    background: var(--bg-page);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-med);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.25s ease;
    font-family: 'Inter', sans-serif;
}

.action-btn:hover {
    background: var(--brand-50);
    border-color: var(--brand);
    color: var(--brand-darker);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(191, 220, 146, 0.2);
}

.action-btn:active {
    transform: translateY(0);
}

/* ============================================
   INSTRUCTIONS CARD
   ============================================ */

.instructions-card {
    background: linear-gradient(135deg, #f8fafc 0%, var(--brand-50) 100%);
    border-radius: 14px;
    padding: 20px 24px;
    margin-top: 20px;
    border: 1px solid var(--brand-light);
}

.instructions-card h3 {
    margin: 0 0 14px 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-darker);
    display: flex;
    align-items: center;
    gap: 8px;
}

.instruction-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.instruction-list li {
    display: flex;
    align-items: start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-med);
}

.instruction-list li svg,
.instruction-list li [data-icon] {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--brand-dark);
}

/* ============================================
   ACTIVITY FEED — PREMIUM
   ============================================ */

.activity-feed {
    padding: 0;
    max-height: 600px;
    overflow-y: auto;
}

.activity-feed::-webkit-scrollbar {
    width: 6px;
}

.activity-feed::-webkit-scrollbar-track {
    background: transparent;
}

.activity-feed::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.activity-feed::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.activity-item {
    padding: 16px 24px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.2s ease;
}

.activity-item:hover {
    background: #f8fafc;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-avatar {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand-50), var(--brand-light));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--border-color);
}

.activity-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-details {
    flex: 1;
    min-width: 0;
}

.activity-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.activity-meta {
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 4px;
}

.activity-status {
    flex-shrink: 0;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.status-success {
    background: var(--success-light);
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.empty-state {
    padding: 60px 28px;
    text-align: center;
    color: #94a3b8;
}

.empty-state svg,
.empty-state [data-icon] {
    opacity: 0.2;
    margin-bottom: 12px;
}

.empty-state p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

/* ============================================
   UTILITY BUTTONS
   ============================================ */

.icon-button {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--bg-page);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

.icon-button:hover {
    background: var(--brand-50);
    color: var(--brand-darker);
    border-color: var(--brand);
    transform: rotate(180deg);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1400px) {
    .reception-main-content {
        grid-template-columns: 1fr;
    }
    
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .reception-header {
        padding: 16px 20px;
    }
    
    .reception-header-content {
        flex-direction: column;
        gap: 12px;
    }
    
    .header-left {
        flex-direction: column;
        text-align: center;
    }
    
    .stats-bar {
        grid-template-columns: 1fr 1fr;
        padding: 16px 20px;
        gap: 12px;
    }
    
    .reception-main-content {
        padding: 0 20px 20px 20px;
    }
    
    .scanner-visual {
        height: 200px;
    }
    
    .scanner-input-group {
        flex-direction: column;
    }
    
    .action-buttons {
        grid-template-columns: 1fr 1fr;
    }

    .search-button {
        padding: 14px 24px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .stats-bar {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-item {
    animation: fadeInUp 0.4s ease both;
}

.stat-item:nth-child(1) { animation-delay: 0.05s; }
.stat-item:nth-child(2) { animation-delay: 0.1s; }
.stat-item:nth-child(3) { animation-delay: 0.15s; }
.stat-item:nth-child(4) { animation-delay: 0.2s; }

.panel-card {
    animation: fadeInUp 0.5s ease both;
    animation-delay: 0.25s;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.status-processing svg {
    animation: pulse 1.5s ease-in-out infinite;
}

/* ============================================
   DROP-IN MODAL — PREMIUM PROFESSIONAL DESIGN
   ============================================ */

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

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

.sports-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: backdropFadeIn 0.25s ease;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 20px;
    box-sizing: border-box;
}

/* Premium Modal Shell */
.sports-modal .modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    border-radius: 24px;
    position: relative;
    box-shadow:
        0 32px 64px rgba(15, 23, 42, 0.18),
        0 0 0 1px rgba(226, 232, 240, 0.8);
    animation: modalSlideIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    padding: 0;
}

/* Gradient Header Strip */
.sports-modal .modal-content::before {
    content: '';
    display: block;
    height: 5px;
    background: linear-gradient(90deg, #BFDC92 0%, #9BBF6A 50%, #7c3aed 100%);
    border-radius: 24px 24px 0 0;
}

/* Modal Header */
.sports-modal h2 {
    margin: 0;
    padding: 28px 36px 0 36px;
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sports-modal h2::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #9BBF6A;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Close Button */
.sports-modal .close-modal {
    position: absolute;
    right: 24px;
    top: 22px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    color: #64748b;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.2s ease;
    z-index: 10;
}

.sports-modal .close-modal:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #dc2626;
    transform: scale(1.08);
}

/* Form Body */
.sports-modal form {
    padding: 24px 36px 32px 36px;
}

/* Form Rows */
.sports-modal .form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 0;
}

.sports-modal .form-group {
    flex: 1;
    margin-bottom: 18px;
    position: relative;
}

.sports-modal .form-group label {
    display: block;
    margin-bottom: 7px;
    font-weight: 700;
    color: #475569;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.sports-modal .form-group input[type=text],
.sports-modal .form-group input[type=email],
.sports-modal .form-group input[type=tel] {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    color: #0f172a;
    background: #f8fafc;
    box-sizing: border-box;
    transition: all 0.25s ease;
    font-family: 'Inter', sans-serif;
}

.sports-modal .form-group input:focus {
    outline: none;
    border-color: #9BBF6A;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(155, 191, 106, 0.15);
}

.sports-modal .form-group input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

/* Waiver Section */
.waiver-section {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 18px;
}

.waiver-text {
    max-height: 160px;
    overflow-y: auto;
    padding: 16px 18px;
    background: transparent;
    border: none;
    border-radius: 0;
    margin-bottom: 0;
    font-size: 12.5px;
    color: #475569;
    line-height: 1.7;
}

.waiver-text::-webkit-scrollbar { width: 5px; }
.waiver-text::-webkit-scrollbar-track { background: #f1f5f9; }
.waiver-text::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.waiver-text strong {
    display: block;
    font-size: 11.5px;
    font-weight: 800;
    color: #0f172a;
    margin-top: 14px;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.waiver-text strong:first-child { margin-top: 0; }

/* Waiver Checkbox */
.waiver-section .sports-checkbox {
    padding: 14px 18px;
    border-top: 1.5px solid #e2e8f0;
    background: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sports-modal .sports-checkbox {
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sports-modal .sports-checkbox input[type=checkbox] {
    width: 18px !important;
    height: 18px;
    accent-color: #9BBF6A;
    cursor: pointer;
    flex-shrink: 0;
}

.sports-modal .sports-checkbox label {
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    line-height: 1.4;
}

/* Payment Section */
.payment-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 14px;
    padding: 0;
    border: none;
    margin-top: 18px;
    overflow: hidden;
}

.payment-section h3 {
    margin: 0;
    padding: 16px 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #94a3b8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.payment-section h3 span {
    font-size: 22px;
    font-weight: 900;
    color: #BFDC92;
    letter-spacing: -1px;
    text-transform: none;
}

#authnet-fields {
    padding: 20px;
}

#authnet-fields .form-group label {
    color: #94a3b8;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 700;
}

#authnet-fields .form-group input[type=text] {
    background: rgba(255,255,255,0.06);
    border: 1.5px solid rgba(255,255,255,0.1);
    color: #f1f5f9;
    border-radius: 12px;
    padding: 13px 16px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.25s ease;
}

#authnet-fields .form-group input:focus {
    outline: none;
    border-color: #BFDC92;
    background: rgba(255,255,255,0.1);
    box-shadow: 0 0 0 3px rgba(191, 220, 146, 0.15);
}

#authnet-fields .form-group input::placeholder {
    color: rgba(255,255,255,0.25);
}

#stripe-element-container {
    padding: 20px;
}

#card-errors {
    color: #f87171 !important;
    font-size: 13px;
    margin-top: 8px;
    padding: 10px 14px;
    background: rgba(239,68,68,0.1);
    border-radius: 8px;
}

/* Submit Button */
.sports-modal .submit-btn {
    background: linear-gradient(135deg, #BFDC92 0%, #9BBF6A 100%);
    color: #0f172a;
    padding: 16px 24px;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 800;
    width: 100%;
    margin-top: 20px;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(155, 191, 106, 0.35);
    font-family: 'Inter', sans-serif;
}

.sports-modal .submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(155, 191, 106, 0.5);
    background: linear-gradient(135deg, #9BBF6A 0%, #7DA348 100%);
}

.sports-modal .submit-btn:active { transform: translateY(0); }

.sports-modal .submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Member selection list */
.member-list {
    max-height: 400px;
    overflow-y: auto;
    padding: 8px 24px 24px;
}

.member-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 8px;
    background: #f8fafc;
}

.member-item:hover {
    border-color: #9BBF6A;
    background: #f3f9ea;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(155,191,106,0.15);
}

/* Responsive modal */
@media (max-width: 640px) {
    .sports-modal { padding: 20px 12px; }
    .sports-modal .modal-content { border-radius: 18px; }
    .sports-modal h2 { font-size: 20px; padding: 22px 20px 0 20px; }
    .sports-modal form { padding: 20px 20px 28px 20px; }
    .sports-modal .form-row { flex-direction: column; gap: 0; }
}