/* ============================================================
   Member Dashboard Styles — NoviTrip
   Clean, modern, responsive member area with left sidebar.
   ============================================================ */

/* ===== HEADER OVERRIDES ===== */
/* Fix: override green hover + underline from style.css */
.site-header .utility-nav a:hover,
.site-header .utility-nav a:hover i {
    color: #4f46e5;
    text-decoration: none;
}

/* My Account icon-button in navbar (after currency) */
.nav-account-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f0f5;
    color: #555 !important;
    text-decoration: none !important;
    margin-left: 14px;
    font-size: 16px;
    transition: all 0.25s;
    vertical-align: middle;
}

.nav-account-btn:hover {
    background: #eef2ff;
    color: #4f46e5 !important;
    box-shadow: 0 2px 8px rgba(99,102,241,0.15);
}

.nav-account-btn.active-account {
    background: #4f46e5;
    color: #fff !important;
}

/* ===== AUTH GATE ===== */
.auth-loading-gate {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 50%, #dbeafe 100%);
}

.auth-loading-card {
    width: 100%;
    max-width: 360px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 22px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: 0 16px 40px rgba(79, 70, 229, 0.08);
}

.auth-loading-logo {
    height: 40px;
    margin-bottom: 18px;
}

.auth-loading-spinner {
    width: 42px;
    height: 42px;
    margin: 0 auto 14px;
    border-radius: 50%;
    border: 4px solid #dbeafe;
    border-top-color: #4f46e5;
    animation: dashSpin 0.9s linear infinite;
}

.auth-loading-card p {
    margin: 0;
    color: #475569;
    font-weight: 600;
}

@keyframes dashSpin {
    to { transform: rotate(360deg); }
}

.auth-gate {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 50%, #dbeafe 100%);
}

.auth-gate.is-initially-hidden {
    display: none;
}

.auth-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(79, 70, 229, 0.1);
    max-width: 440px;
    width: 100%;
    overflow: hidden;
    animation: fadeSlideUp 0.5s ease;
}

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-card-header {
    text-align: center;
    padding: 36px 32px 20px;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: #fff;
}

.auth-logo {
    height: 36px;
    margin-bottom: 16px;
    filter: brightness(10);
}

.auth-card-header h1 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 6px;
}

.auth-card-header p {
    font-size: 14px;
    opacity: 0.85;
    margin: 0;
}

.auth-methods {
    padding: 28px 32px 32px;
}

.auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.25s;
}

.auth-btn-google {
    background: #fff;
    border: 1.5px solid #dadce0;
    color: #3c4043;
}

.auth-btn-google:hover {
    background: #f7f8f8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.auth-btn-primary {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #fff;
}

.auth-btn-primary:hover {
    background: linear-gradient(135deg, #4338ca, #4f46e5);
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.3);
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    gap: 12px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.auth-divider span {
    font-size: 13px;
    color: #9ca3af;
    white-space: nowrap;
}

.auth-email-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.auth-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
}

.auth-field input {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.auth-field input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.auth-message {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    text-align: center;
}

.auth-message-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.auth-message-success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.auth-toggle {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: #6b7280;
}

.auth-toggle a {
    color: #4f46e5;
    font-weight: 600;
    text-decoration: none;
}

.auth-toggle a:hover {
    text-decoration: underline;
}

/* ===== MEMBER MAIN ===== */
.member-main {
    min-height: calc(100vh - 56px);
    background: #f5f6fa;
    padding-top: 80px; /* push below fixed site-header */
}

/* ===== DASHBOARD SECTION ===== */
.dashboard-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px 60px;
}

/* ===== WELCOME BANNER ===== */
.dash-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 60%, #818cf8 100%);
    color: #fff;
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.25);
}

.dash-welcome-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.dash-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.3);
}

.dash-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.dash-welcome-text h1 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 4px;
}

.dash-welcome-text p {
    font-size: 14px;
    opacity: 0.85;
    margin: 0;
}

.dash-welcome-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dash-profile-progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.progress-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 3px solid rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.progress-label {
    font-size: 11px;
    opacity: 0.8;
}

.dash-logout-btn {
    background: rgba(255,255,255,0.15);
    border: 1.5px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
}

.dash-logout-btn:hover {
    background: rgba(255,255,255,0.25);
}

/* ===== STATS CARDS ===== */
.dash-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.dash-stat-card {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    cursor: pointer;
    transition: all 0.25s;
    border: 1.5px solid transparent;
}

.dash-stat-card:hover {
    border-color: #6366f1;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.12);
    transform: translateY(-2px);
}

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.dash-stat-card:nth-child(1) .stat-icon { background: #eef2ff; color: #4f46e5; }
.dash-stat-card:nth-child(2) .stat-icon { background: #fef3c7; color: #d97706; }
.dash-stat-card:nth-child(3) .stat-icon { background: #d1fae5; color: #059669; }
.dash-stat-card:nth-child(4) .stat-icon { background: #fce7f3; color: #db2777; }

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-count {
    font-size: 22px;
    font-weight: 700;
    color: #1e1b4b;
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: #6b7280;
    margin-top: 4px;
}

/* ===== SIDEBAR + CONTENT LAYOUT ===== */
.dash-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

/* Left Sidebar */
.dash-sidebar {
    width: 220px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 8px;
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    min-height: 320px;
}

.dash-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.dash-sidebar-bottom {
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid #f3f4f6;
}

.dash-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    width: 100%;
    text-align: left;
}

.dash-tab:hover {
    background: #f5f3ff;
    color: #4f46e5;
}

.dash-tab.active {
    background: #eef2ff;
    color: #4f46e5;
    font-weight: 600;
}

.dash-tab i {
    font-size: 15px;
    width: 20px;
    text-align: center;
}

.dash-tab-logout {
    color: #9ca3af;
}

.dash-tab-logout:hover {
    background: #fef2f2;
    color: #ef4444;
}

/* Mobile sidebar toggle */
.dash-sidebar-toggle {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: #4f46e5;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 16px rgba(79,70,229,0.3);
    transition: all 0.25s;
}

.dash-sidebar-toggle:hover {
    transform: scale(1.05);
}

/* Right content area */
.dash-content {
    flex: 1;
    min-width: 0;
}

/* Tab content */
.dash-tab-content {
    display: none;
}

.dash-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===== BOOKING FILTERS ===== */
.booking-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.booking-filter {
    padding: 8px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    color: #6b7280;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.booking-filter:hover {
    border-color: #6366f1;
    color: #4f46e5;
}

.booking-filter.active {
    background: #eef2ff;
    border-color: #6366f1;
    color: #4f46e5;
}

/* ===== LOADING & EMPTY STATES ===== */
.dash-loading, .dash-empty {
    text-align: center;
    padding: 60px 20px;
    color: #9ca3af;
}

.dash-loading i, .dash-empty i {
    font-size: 48px;
    margin-bottom: 16px;
    color: #c7d2fe;
}

.dash-empty h3 {
    font-size: 18px;
    font-weight: 700;
    color: #374151;
    margin: 0 0 8px;
}

.dash-empty p {
    font-size: 14px;
    margin: 0 0 20px;
}

.dash-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #fff;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.25s;
}

.dash-cta-btn:hover {
    background: linear-gradient(135deg, #4338ca, #4f46e5);
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.3);
    color: #fff;
    transform: translateY(-1px);
}

/* ===== BOOKING CARD ===== */
.booking-card {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.25s;
    border: 1.5px solid transparent;
}

.booking-card:hover {
    border-color: #e5e7eb;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.booking-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.booking-card-icon.transport { background: #eef2ff; color: #4f46e5; }
.booking-card-icon.hotel { background: #fef3c7; color: #d97706; }
.booking-card-icon.tour { background: #d1fae5; color: #059669; }
.booking-card-icon.car_rental { background: #fce7f3; color: #db2777; }

.booking-card-info {
    flex: 1;
    min-width: 0;
}

.booking-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e1b4b;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.booking-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #6b7280;
}

.booking-card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.booking-card-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.booking-price {
    font-size: 18px;
    font-weight: 700;
    color: #1e1b4b;
}

.booking-status {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
}

.booking-status.confirmed { background: #d1fae5; color: #059669; }
.booking-status.pending, .booking-status.pending_confirmation { background: #fef3c7; color: #d97706; }
.booking-status.partial_cancellation { background: #ffedd5; color: #c2410c; }
.booking-status.cancelled { background: #fef2f2; color: #dc2626; }

.booking-card-actions {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.booking-action-btn {
    padding: 6px 12px;
    border: 1.5px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.booking-action-btn:hover {
    border-color: #6366f1;
    color: #4f46e5;
}

.booking-action-btn.cancel-btn:hover {
    border-color: #ef4444;
    color: #ef4444;
}

.booking-action-btn.change-btn:hover {
    border-color: #4f46e5;
    color: #4f46e5;
    background: #eef2ff;
}

/* ===== SAVED VIDEOS GRID ===== */
.saved-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.saved-video-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.25s;
    cursor: pointer;
    position: relative;
}

.saved-video-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.saved-video-thumb {
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    background: #f0f0f5;
    display: block;
}

.saved-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(79, 70, 229, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.saved-video-card:hover .saved-video-play {
    opacity: 1;
}

.saved-video-info {
    padding: 12px;
}

.saved-video-title {
    font-size: 14px;
    font-weight: 600;
    color: #1e1b4b;
    margin: 0 0 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.saved-video-location {
    font-size: 12px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}

.saved-video-actions {
    display: flex;
    gap: 6px;
}

.saved-video-btn {
    flex: 1;
    padding: 6px 8px;
    border: 1.5px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    color: #6b7280;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.saved-video-btn:hover {
    border-color: #6366f1;
    color: #4f46e5;
}

.saved-video-btn.remove-btn:hover {
    border-color: #ef4444;
    color: #ef4444;
}

/* ===== PROFILE FORM ===== */
.profile-section {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.profile-section h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1e1b4b;
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f3f4f6;
}

.profile-section h3 i {
    color: #6366f1;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.profile-field {
    display: flex;
    flex-direction: column;
}

.profile-field-full {
    grid-column: 1 / -1;
}

.profile-field label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
}

.profile-field label small {
    font-weight: 400;
    color: #9ca3af;
}

.profile-field input,
.profile-field select {
    padding: 10px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    color: #1e1b4b;
    transition: border-color 0.2s;
    background: #fff;
}

.profile-field input:focus,
.profile-field select:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.profile-field input:disabled {
    background: #f9fafb;
    color: #9ca3af;
}

.field-hint {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
}

.toggle-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    padding: 8px 0;
}

.toggle-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #4f46e5;
    cursor: pointer;
}

.profile-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}

.dash-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
}

.dash-btn-primary:hover {
    background: linear-gradient(135deg, #4338ca, #4f46e5);
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.3);
}

.dash-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #4f46e5;
    padding: 10px 20px;
    border: 1.5px solid #6366f1;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
}

.dash-btn-secondary:hover {
    background: #eef2ff;
}

.dash-btn-danger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #ef4444;
    padding: 10px 20px;
    border: 1.5px solid #fecaca;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
}

.dash-btn-danger:hover {
    background: #fef2f2;
    border-color: #ef4444;
}

.profile-save-status {
    font-size: 13px;
    font-weight: 600;
    color: #16a34a;
}

/* ===== SECURITY SECTION ===== */
.security-section {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.security-section h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1e1b4b;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.security-section h3 i {
    color: #6366f1;
}

.security-desc {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 16px;
}

.security-danger {
    border: 1.5px solid #fecaca;
}

.security-danger h3 i {
    color: #ef4444;
}

/* Linked accounts */
.linked-accounts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.linked-account {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: #f9fafb;
    border-radius: 10px;
}

.linked-account-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #1e1b4b;
}

.linked-status {
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.linked-connected {
    color: #059669;
}

.linked-connect-btn {
    padding: 6px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    color: #6b7280;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.linked-connect-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.password-form {
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.notification-toggles {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* ===== BOOKING MODAL ===== */
.booking-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.booking-modal {
    background: #fff;
    border-radius: 16px;
    max-width: 560px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: fadeSlideUp 0.3s ease;
}

.booking-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 2;
}

.booking-modal-close:hover {
    background: #e5e7eb;
    color: #1e1b4b;
}

.booking-modal-body {
    padding: 28px;
}

.dash-modal-message-center {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
}

.dash-modal-message-center.hidden {
    display: none;
}

.dash-page-message-center {
    margin-bottom: 22px;
}

.dash-modal-message {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-radius: 14px;
    padding: 16px 18px;
    border: 1px solid transparent;
}

.dash-modal-message.is-info {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.dash-modal-message.is-success {
    background: #ecfdf5;
    border-color: #bbf7d0;
    color: #047857;
}

.dash-modal-message.is-warning {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #c2410c;
}

.dash-modal-message.is-error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}

.dash-modal-message-icon {
    margin-top: 2px;
    font-size: 18px;
}

.dash-modal-message-body {
    flex: 1;
    min-width: 0;
}

.dash-modal-message-title {
    display: block;
    margin-bottom: 4px;
    color: inherit;
    font-size: 14px;
}

.dash-modal-message-text {
    margin: 0;
    color: inherit;
    line-height: 1.6;
    white-space: pre-line;
}

.dash-modal-message-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.dash-modal-message-action {
    border: none;
    border-radius: 999px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.dash-modal-message-action:hover,
.dash-modal-message-close:hover {
    transform: translateY(-1px);
}

.dash-modal-message-action.is-secondary {
    background: rgba(148, 163, 184, 0.16);
    color: #334155;
}

.dash-modal-message-action.is-danger {
    background: #dc2626;
    color: #fff;
    box-shadow: 0 8px 18px rgba(220, 38, 38, 0.18);
}

.dash-modal-message-action.is-primary {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.18);
}

.dash-modal-message-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.delete-modal {
    max-width: 400px;
}

.delete-modal-content {
    padding: 32px;
    text-align: center;
}

.delete-modal-content h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1e1b4b;
    margin: 0 0 10px;
}

.delete-modal-content p {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 24px;
    line-height: 1.6;
}

.delete-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* ===== MODAL DETAIL SECTIONS ===== */
.modal-detail-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f3f4f6;
}

.modal-service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.modal-detail-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e1b4b;
    margin: 0 0 4px;
}

.modal-detail-ref {
    font-size: 13px;
    color: #6b7280;
}

.modal-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.modal-detail-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.modal-detail-item .label {
    font-size: 12px;
    color: #9ca3af;
    text-transform: uppercase;
    font-weight: 600;
}

.modal-detail-item .value {
    font-size: 15px;
    color: #1e1b4b;
    font-weight: 600;
}

.modal-ticket-section {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 16px;
    margin-top: 16px;
}

.modal-ticket-section h4 {
    font-size: 14px;
    font-weight: 700;
    color: #059669;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ticket-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #059669;
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
}

.ticket-download-btn:hover {
    background: #047857;
    color: #fff;
}

.modal-cancel-section {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
}

.modal-cancel-note {
    margin: 0 0 12px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.5;
}

.dash-transfer-change-loading {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 4px;
    color: #4b5563;
}

.dash-transfer-change-loading i {
    color: #4f46e5;
    font-size: 22px;
}

.dash-transfer-change-loading h3 {
    margin: 0 0 4px;
    font-size: 17px;
    color: #1e1b4b;
}

.dash-transfer-change-loading p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

.dash-transfer-change-shell {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.dash-transfer-change-header {
    margin-bottom: 0;
}

.dash-transfer-change-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.dash-transfer-change-summary-item {
    background: linear-gradient(180deg, #f8faff, #eef2ff);
    border: 1px solid #dbeafe;
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dash-transfer-change-summary-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6366f1;
}

.dash-transfer-change-summary-item strong {
    font-size: 14px;
    line-height: 1.5;
    color: #1e1b4b;
}

.dash-transfer-change-status {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 14px;
}

.dash-transfer-change-status.hidden {
    display: none;
}

.dash-transfer-change-status i {
    margin-top: 2px;
}

.dash-transfer-change-status strong {
    display: block;
    margin-bottom: 4px;
    color: inherit;
}

.dash-transfer-change-status p {
    margin: 0;
    line-height: 1.5;
}

.dash-transfer-change-status.is-loading {
    background: #eef2ff;
    color: #4338ca;
}

.dash-transfer-change-status.is-success {
    background: #ecfdf5;
    color: #047857;
}

.dash-transfer-change-status.is-error {
    background: #fef2f2;
    color: #b91c1c;
}

.dash-transfer-change-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.dash-transfer-change-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.dash-transfer-change-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dash-transfer-change-field span {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.dash-transfer-change-field input,
.dash-transfer-change-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    font: inherit;
    color: #111827;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.dash-transfer-change-field input:focus,
.dash-transfer-change-field textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.dash-transfer-change-field-full {
    grid-column: 1 / -1;
}

.dash-transfer-change-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.dash-transfer-change-results {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dash-transfer-change-empty {
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 18px;
    color: #64748b;
    background: #f8fafc;
    line-height: 1.6;
}

.dash-transfer-change-option {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.dash-transfer-change-option-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.dash-transfer-change-option-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e1b4b;
}

.dash-transfer-change-option-subtitle {
    font-size: 13px;
    color: #6b7280;
    margin-top: 4px;
}

.dash-transfer-change-option-price {
    font-size: 16px;
    font-weight: 700;
    color: #4338ca;
    white-space: nowrap;
}

.dash-transfer-change-option-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.dash-transfer-change-option-meta > div {
    padding: 10px 12px;
    border-radius: 10px;
    background: #f8fafc;
}

.dash-transfer-change-option-meta-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6366f1;
    margin-bottom: 4px;
}

.dash-transfer-change-option-meta-value {
    font-size: 13px;
    line-height: 1.5;
    color: #334155;
}

.dash-transfer-change-option-actions {
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 640px) {
    .dash-transfer-change-summary,
    .dash-transfer-change-grid,
    .dash-transfer-change-option-meta {
        grid-template-columns: 1fr;
    }

    .dash-transfer-change-actions {
        flex-direction: column-reverse;
    }

    .dash-transfer-change-actions .dash-btn-primary,
    .dash-transfer-change-actions .dash-btn-secondary,
    .dash-transfer-change-option-actions .dash-btn-primary {
        width: 100%;
        justify-content: center;
    }
}

/* ===== SAVED VIDEO PLAYER OVERLAY ===== */
.saved-video-player-overlay {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.saved-player-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.2s;
}

.saved-player-close:hover {
    background: rgba(255,255,255,0.3);
}

.saved-player-container {
    width: 100%;
    max-width: 500px;
    height: 100%;
    max-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.saved-player-container video,
.saved-player-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
}

/* Reel interface positioned over the video — same as front page */
.saved-reel-interface {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    pointer-events: none;
    z-index: 10002;
    max-width: 500px;
    margin: 0 auto;
    transform: none;
}

.saved-reel-interface .reel-actions-side {
    position: absolute;
    right: 12px;
    bottom: 160px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    pointer-events: auto;
    align-items: center;
}

.saved-reel-interface .reel-metadata {
    pointer-events: auto;
}
/* ===== HELP & SUPPORT ===== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.faq-item summary {
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #1e1b4b;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.faq-item summary::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
    color: #6b7280;
    transition: transform 0.2s;
}

.faq-item[open] summary::before {
    transform: rotate(90deg);
}

.faq-item summary:hover {
    background: #f9fafb;
}

.faq-item p {
    padding: 0 16px 14px;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.support-options {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.support-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #f9fafb;
    border-radius: 12px;
    text-decoration: none;
    color: #1e1b4b;
    flex: 1;
    min-width: 200px;
    transition: all 0.25s;
    border: 1.5px solid transparent;
}

.support-option:hover {
    border-color: #6366f1;
    background: #eef2ff;
}

.support-option i {
    font-size: 20px;
    color: #4f46e5;
}

.support-option strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.support-option span {
    font-size: 13px;
    color: #6b7280;
}

/* Login activity */
.login-activity {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f9fafb;
    border-radius: 10px;
}

.activity-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #eef2ff;
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.activity-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.activity-device {
    font-size: 14px;
    font-weight: 600;
    color: #1e1b4b;
}

.activity-date {
    font-size: 12px;
    color: #9ca3af;
}

.activity-status {
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.activity-status.active {
    color: #059669;
}

.activity-status.active i {
    font-size: 6px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .dash-layout {
        flex-direction: column;
    }

    .dash-sidebar {
        position: fixed;
        top: 0;
        left: -280px;
        width: 260px;
        height: 100vh;
        border-radius: 0;
        z-index: 9998;
        transition: left 0.3s ease;
        box-shadow: 4px 0 24px rgba(0,0,0,0.15);
        padding: 20px 8px;
        padding-top: 90px;
    }

    .dash-sidebar.sidebar-open {
        left: 0;
    }

    .dash-sidebar-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .dash-sidebar-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 9997;
    }

    .dash-sidebar-backdrop.active {
        display: block;
    }

    .dash-content {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .dashboard-section {
        padding: 16px 12px 48px;
    }

    .dash-welcome {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 20px;
    }

    .dash-welcome-left {
        flex-direction: column;
    }

    .dash-welcome-right {
        width: 100%;
        justify-content: center;
    }

    .dash-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .dash-stat-card {
        padding: 14px;
    }

    .stat-count {
        font-size: 18px;
    }

    .booking-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .booking-card-right {
        align-items: flex-start;
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
    }

    .profile-grid {
        grid-template-columns: 1fr;
    }

    .saved-videos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .modal-detail-grid {
        grid-template-columns: 1fr;
    }

    .booking-filters {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }

    .support-options {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .member-main {
        padding-top: 70px;
    }

    .dash-stats {
        grid-template-columns: 1fr 1fr;
    }

    .saved-videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .auth-methods {
        padding: 20px;
    }

    .auth-card-header {
        padding: 28px 20px 16px;
    }

    .saved-player-actions {
        right: 12px;
    }

    .saved-player-info {
        left: 12px;
        right: 60px;
    }
}
