:root {
    --primary: #2dd4bf;
    --primary-dark: #0d9488;
    --primary-deep: #0f766e;
    --accent: #c9a962;
    --accent-light: #e8d5a3;
    --accent-glow: rgba(201, 169, 98, 0.35);
    --success: #34d399;
    --danger: #f87171;
    --warning: #fbbf24;
    --text: #0f172a;
    --text-soft: #475569;
    --text-muted: #64748b;
    --white: #ffffff;
    --cream: #faf8f5;
    --glass: rgba(255, 255, 255, 0.88);
    --glass-strong: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.55);
    --glass-dark: rgba(15, 23, 42, 0.45);
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(13, 148, 136, 0.06);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(13, 148, 136, 0.1);
    --shadow-gold: 0 8px 32px rgba(201, 169, 98, 0.2);
    --radius: 20px;
    --radius-sm: 12px;
    --radius-xs: 8px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    color: var(--text);
    min-height: 100vh;
    direction: rtl;
    line-height: 1.75;
    background: #0a1628;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ambient background */
.bg-gradient {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(45, 212, 191, 0.18), transparent),
        linear-gradient(165deg, #0a1628 0%, #0f2847 35%, #0c4a6e 65%, #134e4a 100%);
    z-index: -5;
}

.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: -4;
    pointer-events: none;
}

.bg-glow-1 {
    width: 480px;
    height: 480px;
    background: rgba(45, 212, 191, 0.15);
    top: -120px;
    left: -100px;
    animation: float 18s ease-in-out infinite;
}

.bg-glow-2 {
    width: 360px;
    height: 360px;
    background: rgba(201, 169, 98, 0.12);
    bottom: 10%;
    right: -80px;
    animation: float 22s ease-in-out infinite reverse;
}

.bg-pattern {
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(201, 169, 98, 0.04) 0%, transparent 40%);
    z-index: -3;
}

.bg-grain {
    position: fixed;
    inset: 0;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    z-index: -2;
    pointer-events: none;
}

/* Navbar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 2rem;
    margin: 1rem 1.5rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    background: var(--glass-dark);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    position: sticky;
    top: 1rem;
    z-index: 100;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    color: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-gold);
}

.brand-mark svg {
    width: 22px;
    height: 22px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.nav-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.nav-subtitle {
    font-size: 0.7rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.08em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.35rem;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.65);
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.875rem;
    transition: var(--transition-fast);
    letter-spacing: 0.01em;
}

.nav-links a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.nav-links a.active {
    color: #1a1a2e;
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    box-shadow: var(--shadow-gold);
    font-weight: 600;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-right: 0.5rem;
    padding-right: 0.85rem;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-user-name {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 500;
    max-width: 9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-logout-form {
    display: inline;
}

.btn-nav-logout {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-nav-logout:hover {
    background: rgba(248, 113, 113, 0.2);
    border-color: rgba(248, 113, 113, 0.45);
    color: #fecaca;
}

.navbar-auth {
    justify-content: center;
}

.auth-page {
    display: flex;
    justify-content: center;
    padding-top: 2rem;
    animation: fadeInUp 0.7s ease backwards;
}

.auth-card {
    width: 100%;
    max-width: 420px;
}

.auth-lead {
    color: var(--text-soft);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 5rem;
}

/* Page header */
.page-header {
    margin-bottom: 2.25rem;
    animation: fadeInUp 0.7s ease backwards;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.page-header h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.03em;
    margin-bottom: 0.35rem;
    line-height: 1.2;
}

.page-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    font-weight: 400;
}

/* Cards */
.card {
    background: var(--glass);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    animation: fadeInUp 0.6s ease backwards;
    transition: var(--transition);
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 98, 0.4), transparent);
    opacity: 0.8;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: rgba(201, 169, 98, 0.25);
}

.card-narrow {
    max-width: 500px;
    margin: 0 auto;
}

.card-header {
    padding: 1.35rem 1.75rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent);
}

.card-header h2 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
}

.card-body {
    padding: 1.75rem;
}

.card-body-flush {
    padding: 0;
}

.card-footer {
    padding: 1rem 1.75rem;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    color: var(--text-muted);
    font-size: 0.875rem;
    background: var(--cream);
}

.card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Stats grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 1.5rem 1.35rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    animation: fadeInUp 0.6s ease backwards;
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent), var(--primary));
    border-radius: 0 4px 4px 0;
    opacity: 0.85;
}

.stat-card:nth-child(1) { animation-delay: 0.05s; }
.stat-card:nth-child(2) { animation-delay: 0.1s; }
.stat-card:nth-child(3) { animation-delay: 0.15s; }
.stat-card:nth-child(4) { animation-delay: 0.2s; }

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    font-size: 1.5rem;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.12), rgba(201, 169, 98, 0.15));
    border: 1px solid rgba(201, 169, 98, 0.2);
    border-radius: 16px;
    flex-shrink: 0;
}

.stat-value {
    display: block;
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 0.15rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.35rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-soft);
    font-size: 0.875rem;
    letter-spacing: 0.01em;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: 1.5px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--cream);
    transition: var(--transition-fast);
}

.form-input {
    direction: ltr;
    text-align: right;
}

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

.form-input-lg {
    font-size: 1.35rem;
    padding: 1.1rem 1.25rem;
    text-align: center;
    letter-spacing: 0.12em;
    font-weight: 600;
}

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

.form-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-deep);
}

.form-hint {
    font-size: 0.825rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.field-errors {
    list-style: none;
    margin-top: 0.5rem;
    color: var(--danger);
    font-size: 0.825rem;
}

.form-group-checkbox {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.form-group-checkbox label {
    margin-bottom: 0;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.6rem;
    border: none;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.925rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-deep), #115e59);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.35);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.12) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(13, 148, 136, 0.45);
}

.btn-primary:hover::after {
    transform: translateX(100%);
}

.btn-secondary {
    background: var(--white);
    color: var(--text-soft);
    border: 1.5px solid rgba(15, 23, 42, 0.1);
}

.btn-secondary:hover {
    background: var(--cream);
    border-color: rgba(201, 169, 98, 0.35);
    transform: translateY(-1px);
}

.btn-block { width: 100%; }

.btn-lg {
    padding: 1rem 1.5rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.45rem 0.9rem;
    font-size: 0.8rem;
    border-radius: var(--radius-xs);
}

/* Alerts */
.messages { margin-bottom: 1.5rem; }

.alert {
    padding: 1rem 1.35rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    animation: slideIn 0.5s ease;
    backdrop-filter: blur(8px);
}

.alert-success {
    background: rgba(52, 211, 153, 0.15);
    color: #065f46;
    border: 1px solid rgba(52, 211, 153, 0.3);
}

.alert-error,
.alert-danger {
    background: rgba(248, 113, 113, 0.12);
    color: #991b1b;
    border: 1px solid rgba(248, 113, 113, 0.25);
}

.alert-warning {
    background: rgba(251, 191, 36, 0.12);
    color: #92400e;
    border: 1px solid rgba(251, 191, 36, 0.25);
}

.alert-info {
    background: rgba(45, 212, 191, 0.12);
    color: var(--primary-deep);
    border: 1px solid rgba(45, 212, 191, 0.25);
}

/* Check-in result */
.result-box {
    margin-top: 1.5rem;
    padding: 1.35rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 1.15rem;
    animation: slideIn 0.5s ease;
}

.result-success {
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.1), rgba(52, 211, 153, 0.05));
    border: 1px solid rgba(52, 211, 153, 0.25);
}

.result-error {
    background: linear-gradient(135deg, rgba(248, 113, 113, 0.1), rgba(248, 113, 113, 0.05));
    border: 1px solid rgba(248, 113, 113, 0.25);
}

.result-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: var(--shadow);
}

.result-success .result-icon {
    background: linear-gradient(135deg, var(--success), #059669);
    color: white;
}

.result-error .result-icon {
    background: linear-gradient(135deg, var(--danger), #dc2626);
    color: white;
}

.result-message { font-weight: 700; margin-bottom: 0.25rem; }
.result-name { font-size: 1.05rem; font-weight: 600; }

.result-meta {
    display: block;
    font-size: 0.825rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.result-sessions {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.result-sessions a {
    color: var(--primary-deep);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(13, 148, 136, 0.3);
}

.result-sessions a:hover { color: var(--accent); border-color: var(--accent); }

/* Lists */
.checkin-list { list-style: none; }

.checkin-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    transition: var(--transition-fast);
}

.checkin-item:last-child { border-bottom: none; }

.checkin-item:hover {
    background: rgba(201, 169, 98, 0.04);
    margin: 0 -1.75rem;
    padding-right: 1.75rem;
    padding-left: 1.75rem;
}

.checkin-avatar,
.member-avatar {
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-deep), #115e59);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

.checkin-avatar { width: 42px; height: 42px; font-size: 0.9rem; }
.member-avatar { width: 38px; height: 38px; font-size: 0.85rem; }

.checkin-details { flex: 1; }

.checkin-name {
    display: block;
    font-weight: 600;
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

.checkin-name:hover { color: var(--primary-deep); }

.checkin-meta {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.1rem;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.badge-success { background: rgba(52, 211, 153, 0.15); color: #065f46; }
.badge-danger { background: rgba(248, 113, 113, 0.15); color: #991b1b; }
.badge-warning { background: rgba(251, 191, 36, 0.15); color: #92400e; }
.badge-info { background: rgba(45, 212, 191, 0.15); color: var(--primary-deep); }
.badge-type-personnel { background: rgba(99, 102, 241, 0.12); color: #3730a3; }
.badge-type-vip { background: linear-gradient(135deg, rgba(201, 169, 98, 0.2), rgba(201, 169, 98, 0.1)); color: #92700c; border: 1px solid rgba(201, 169, 98, 0.3); }
.badge-type-corporate { background: rgba(20, 184, 166, 0.12); color: #115e59; }
.badge-type-regular { background: rgba(100, 116, 139, 0.1); color: #475569; }
.badge-gold { background: linear-gradient(135deg, rgba(201, 169, 98, 0.2), rgba(201, 169, 98, 0.1)); color: #92700c; border: 1px solid rgba(201, 169, 98, 0.3); }
.badge-teal { background: rgba(45, 212, 191, 0.15); color: var(--primary-deep); }

/* Quick actions */
.quick-actions { display: flex; flex-direction: column; gap: 0.65rem; }

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.35rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.action-primary {
    background: linear-gradient(135deg, var(--primary-deep), #115e59);
    color: white;
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.3);
}

.action-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.4);
}

.action-secondary {
    background: var(--cream);
    color: var(--text-soft);
    border: 1.5px solid rgba(15, 23, 42, 0.06);
}

.action-secondary:hover {
    background: var(--white);
    border-color: rgba(201, 169, 98, 0.3);
    transform: translateX(-3px);
}

.action-icon { font-size: 1.15rem; opacity: 0.9; }

/* Table */
.table-wrapper {
    overflow-x: auto;
    border-radius: 0 0 var(--radius) var(--radius);
}

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

.data-table th,
.data-table td {
    padding: 1.1rem 1.35rem;
    text-align: right;
}

.data-table th {
    background: var(--cream);
    font-weight: 700;
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.data-table td {
    border-bottom: 1px solid rgba(15, 23, 42, 0.04);
    transition: var(--transition-fast);
    font-size: 0.9rem;
}

.data-table tbody tr {
    transition: var(--transition-fast);
}

.data-table tbody tr:hover td {
    background: rgba(201, 169, 98, 0.04);
}

.member-cell {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.mono {
    font-family: 'Courier New', monospace;
    direction: ltr;
    text-align: right;
    font-size: 0.875rem;
    color: var(--text-soft);
}

.session-bar {
    position: relative;
    background: rgba(15, 23, 42, 0.05);
    border-radius: 999px;
    height: 30px;
    min-width: 110px;
    overflow: hidden;
}

.session-bar-fill {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-light), var(--primary));
    border-radius: 999px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.session-count {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text);
}

.session-bar-lg { min-width: 200px; }

.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    padding: 2rem 1.5rem 2.5rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    letter-spacing: 0.04em;
}

.footer-brand {
    font-weight: 700;
    color: var(--accent-light);
    letter-spacing: 0.1em;
}

.footer-divider {
    width: 24px;
    height: 1px;
    background: rgba(201, 169, 98, 0.4);
}

/* Filters */
.filter-card { margin-bottom: 1.5rem; }

.filter-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.filter-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

/* Stats list */
.stats-list { list-style: none; }

.stats-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    font-size: 0.9rem;
}

.stats-list-item:last-child { border-bottom: none; }

/* Detail page */
.detail-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.detail-row {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 1rem;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.04);
}

.detail-row:last-child { border-bottom: none; }

.detail-row dt {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.825rem;
}

.detail-row dd { margin: 0; font-size: 0.925rem; }

.page-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.75rem;
    flex-wrap: wrap;
}

.members-count {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(201, 169, 98, 0.25);
    border-radius: 999px;
    color: var(--accent-light);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    backdrop-filter: blur(8px);
}

/* Profile */
.profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease backwards;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    color: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    box-shadow: var(--shadow-gold);
    flex-shrink: 0;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.65rem;
}

.history-count {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.card-grid-form { align-items: start; }
.card-grid + .card-grid { margin-top: 0; }

/* Packages */
.package-list { list-style: none; }

.package-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    transition: var(--transition-fast);
}

.package-item:hover { padding-right: 0.5rem; }

.package-item:last-child { border-bottom: none; }

.package-info strong {
    display: block;
    font-size: 0.925rem;
    margin-bottom: 0.15rem;
}

.package-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.package-price {
    font-weight: 700;
    color: var(--primary-deep);
    font-size: 0.9rem;
}

.staff-list { list-style: none; }

.staff-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.staff-item:last-child { border-bottom: none; }

.staff-info strong {
    display: block;
    font-size: 0.925rem;
    margin-bottom: 0.15rem;
}

.staff-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.package-card {
    text-align: center;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(201, 169, 98, 0.15);
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), var(--shadow-gold);
}

.package-card-header {
    background: linear-gradient(135deg, #0f766e, #115e59);
    color: white;
    padding: 2rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.package-card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(201, 169, 98, 0.2), transparent 70%);
}

.package-sessions {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    position: relative;
}

.package-sessions-label {
    font-size: 0.85rem;
    opacity: 0.75;
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
    display: block;
}

.package-card h2 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.package-validity-tag {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: linear-gradient(135deg, rgba(201, 169, 98, 0.15), rgba(201, 169, 98, 0.08));
    border: 1px solid rgba(201, 169, 98, 0.25);
    border-radius: 999px;
    color: #92700c;
    font-weight: 700;
    font-size: 0.78rem;
    margin-bottom: 0.75rem;
    letter-spacing: 0.04em;
}

.package-validity {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.package-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.85rem;
    line-height: 1.6;
}

.package-price-lg {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
}

.package-price-lg span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}

/* Responsive */
@media (max-width: 900px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .card-grid { grid-template-columns: 1fr; }
    .filter-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        border-radius: var(--radius);
        margin: 0.75rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-user {
        margin-right: 0;
        padding-right: 0;
        border-right: none;
        width: 100%;
        justify-content: center;
    }

    .stats-grid { grid-template-columns: 1fr; }
    .page-header h1 { font-size: 1.65rem; }
    .container { padding: 1.75rem 1rem 3.5rem; }
    .filter-grid { grid-template-columns: 1fr; }
    .detail-row { grid-template-columns: 1fr; gap: 0.25rem; }
}
