@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --hue-primary: 256; /* Indigo */
    --hue-accent: 340;   /* Rose */
    
    --primary: hsl(var(--hue-primary), 85%, 64%);
    --primary-light: hsl(var(--hue-primary), 85%, 75%);
    --primary-dark: hsl(var(--hue-primary), 80%, 45%);
    --primary-glow: hsla(var(--hue-primary), 85%, 64%, 0.25);
    
    --accent: hsl(var(--hue-accent), 85%, 60%);
    --accent-glow: hsla(var(--hue-accent), 85%, 60%, 0.2);
    
    /* Semantic Colors */
    --bg-base: #0b0f19;
    --bg-card: rgba(17, 24, 39, 0.7);
    --bg-input: rgba(31, 41, 55, 0.5);
    
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    
    --success: #10b981;
    --success-glow: rgba(16, 185, 129, 0.15);
    --warning: #f59e0b;
    --warning-glow: rgba(245, 158, 11, 0.15);
    --danger: #ef4444;
    --danger-glow: rgba(239, 68, 68, 0.15);
    --info: #3b82f6;
    --info-glow: rgba(59, 130, 246, 0.15);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    /* Box Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 20px var(--primary-glow);
    
    /* Font Families */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Transitions */
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Warm & Inviting Light Client Theme */
body.client-theme {
    --bg-base: #fdfaf7; /* Soft warm ivory cream */
    --bg-card: rgba(255, 255, 255, 0.75); /* Soft white glass */
    --bg-input: #f4eee7; /* Light warm almond input */
    
    --text-primary: #1d1105; /* Near-black rich espresso */
    --text-secondary: #3d2f21; /* Dark espresso brown for labels/subtitles */
    --text-muted: #5e4f40; /* Clearly visible dark gray-tan for placeholders/muted text */
    
    --border: rgba(96, 81, 65, 0.25);
    --border-hover: rgba(96, 81, 65, 0.4);
    
    /* Warm Terracotta and Peach Orange tones */
    --hue-primary: 20; /* Terracotta Clay */
    --hue-accent: 38;  /* Warm Gold Honey */
    
    --primary: hsl(var(--hue-primary), 75%, 50%); /* Terracotta Clay */
    --primary-light: hsl(var(--hue-primary), 75%, 62%);
    --primary-dark: hsl(var(--hue-primary), 80%, 40%);
    --primary-glow: hsla(var(--hue-primary), 75%, 50%, 0.15);
    
    --accent: hsl(var(--hue-accent), 85%, 52%); /* Honey Gold Amber */
    --accent-glow: hsla(var(--hue-accent), 85%, 52%, 0.12);
    
    --shadow-sm: 0 2px 12px rgba(51, 37, 23, 0.04);
    --shadow-md: 0 8px 30px rgba(51, 37, 23, 0.08);
    --shadow-lg: 0 16px 48px rgba(51, 37, 23, 0.12);
    --shadow-glow: 0 0 20px hsla(var(--hue-primary), 75%, 50%, 0.15);
}

/* Override background colors and text for elements in client theme */
body.client-theme h1, 
body.client-theme h2, 
body.client-theme h3, 
body.client-theme h4, 
body.client-theme h5, 
body.client-theme h6 {
    color: #332517;
}

body.client-theme .dashboard-title-area h1 {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: initial;
    color: #332517;
}

body.client-theme .landing-hero-title {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: initial;
    color: #332517;
}

body.client-theme .landing-hero-title span {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.client-theme::before {
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
}

body.client-theme::after {
    background: radial-gradient(circle, rgba(239, 68, 68, 0.05) 0%, transparent 70%);
}

body.client-theme .simulator-bar {
    background: rgba(253, 250, 247, 0.85);
    border-bottom: 1px solid rgba(96, 81, 65, 0.1);
}

body.client-theme .tabs-navigation {
    background: rgba(96, 81, 65, 0.06);
    border: 1px solid rgba(96, 81, 65, 0.1);
}

body.client-theme .tab-btn:hover {
    color: var(--primary);
    background: rgba(96, 81, 65, 0.04);
}

body.client-theme .tab-btn.active {
    background: var(--primary);
    color: #fff;
}

body.client-theme .item-card {
    background: rgba(96, 81, 65, 0.02);
    border: 1px solid rgba(96, 81, 65, 0.1);
}

body.client-theme .item-card:hover {
    background: rgba(96, 81, 65, 0.04);
    border-color: rgba(96, 81, 65, 0.18);
}

body.client-theme .item-details h4 {
    color: #332517;
}

body.client-theme .rate-tag {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.client-theme .rate-input {
    background: #fff;
    border: 1px solid rgba(96, 81, 65, 0.2);
    color: #332517;
}

body.client-theme .stat-card {
    background: rgba(96, 81, 65, 0.02);
    border: 1px solid rgba(96, 81, 65, 0.1);
}

body.client-theme .stat-val {
    color: #332517;
}

body.client-theme .btn {
    background: rgba(96, 81, 65, 0.06);
    color: #332517;
    border-color: rgba(96, 81, 65, 0.15);
}

body.client-theme .btn:hover:not(:disabled) {
    background: rgba(96, 81, 65, 0.12);
    border-color: rgba(96, 81, 65, 0.25);
}

body.client-theme .btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: transparent;
}

body.client-theme .btn-primary:hover:not(:disabled) {
    background: var(--primary-light);
}

body.client-theme .btn-accent {
    background: var(--accent);
    color: #fff;
    border-color: transparent;
}

body.client-theme .btn-accent:hover:not(:disabled) {
    background: hsl(var(--hue-accent), 85%, 58%);
}

body.client-theme .badge-unverified {
    background: rgba(96, 81, 65, 0.08);
    color: #605141;
    border: 1px solid rgba(96, 81, 65, 0.15);
}

body.client-theme footer {
    background: #eedfd0 !important;
    border-top: 1px solid rgba(96, 81, 65, 0.1) !important;
    color: #605141 !important;
}

body.client-theme footer h4 {
    color: #332517 !important;
}

body.client-theme footer a {
    color: #605141;
}

body.client-theme footer a:hover {
    color: var(--primary);
}

body.client-theme footer p {
    color: #605141;
}

footer {
    margin-top: auto;
}

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

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
}

/* Background Ambient Glows */
body::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(80px);
}

body::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.12) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(100px);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #fff;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-light);
}

/* Role Simulator Bar */
.simulator-bar {
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.simulator-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
}

.simulator-logo {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    min-width: 44px;
    height: 32px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 0.75rem;
    box-shadow: var(--shadow-glow);
    padding: 0 6px;
    letter-spacing: 0.05em;
}

.simulator-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.simulator-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.select-user {
    background: var(--bg-input);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
    transition: var(--transition);
}

.select-user:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.badge-role {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-role.nanny {
    background-color: var(--accent-glow);
    color: var(--accent);
    border: 1px solid rgba(236, 72, 153, 0.3);
}

.badge-role.parent {
    background-color: var(--primary-glow);
    color: var(--primary-light);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

/* App Wrapper & Layout */
.app-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 32px 24px 80px 24px;
}

.dashboard-header {
    margin-bottom: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.dashboard-title-area h1 {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 60%, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dashboard-title-area p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 4px;
}

/* Navigation Tabs */
.tabs-navigation {
    display: flex;
    background: rgba(31, 41, 55, 0.4);
    border: 1px solid var(--border);
    padding: 6px;
    border-radius: var(--radius-md);
    gap: 4px;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-glow);
}

/* Main Dashboard Pane grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

@media (max-width: 968px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* Glass Card */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.glass-card:hover {
    border-color: var(--border-hover);
}

.glass-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 14px;
}

.glass-card h2 {
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Form Styles */
.form-group {
    margin-bottom: 18px;
}

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

.form-control {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-control::placeholder {
    color: var(--text-muted);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid var(--border);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--border-hover);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background: var(--primary);
    border-color: transparent;
}

.btn-primary:hover:not(:disabled) {
    background: var(--primary-light);
    box-shadow: var(--shadow-glow);
}

.btn-accent {
    background: var(--accent);
    border-color: transparent;
}

.btn-accent:hover:not(:disabled) {
    background: hsl(var(--hue-accent), 85%, 68%);
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-success {
    background: var(--success-glow);
    color: #6ee7b7;
    border-color: rgba(16, 185, 129, 0.3);
}

.btn-success:hover:not(:disabled) {
    background: var(--success);
    color: #fff;
}

.btn-danger {
    background: var(--danger-glow);
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.3);
}

.btn-danger:hover:not(:disabled) {
    background: var(--danger);
    color: #fff;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
    border-radius: 6px;
}

/* Lists and Cards */
.list-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.item-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.item-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border-hover);
}

.item-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    box-shadow: var(--shadow-sm);
}

/* Dynamic colors for avatars */
.avatar.color-1 { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.avatar.color-2 { background: linear-gradient(135deg, #10b981, #047857); }
.avatar.color-3 { background: linear-gradient(135deg, #8b5cf6, #5b21b6); }
.avatar.color-4 { background: linear-gradient(135deg, #ec4899, #be185d); }
.avatar.color-5 { background: linear-gradient(135deg, #f59e0b, #b45309); }

.item-details h4 {
    font-size: 1.05rem;
    margin-bottom: 2px;
}

.item-details p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.item-meta {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

/* Custom Badges */
.badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-success {
    background: var(--success-glow);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-pending {
    background: var(--warning-glow);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-danger {
    background: var(--danger-glow);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.badge-unverified {
    background: rgba(107, 114, 128, 0.15);
    color: #d1d5db;
    border: 1px solid rgba(107, 114, 128, 0.2);
}

.badge-secondary {
    background: rgba(107, 114, 128, 0.1);
    color: #9ca3af;
    border: 1px solid rgba(156, 163, 175, 0.2);
}

/* Client Details Panel */
.client-rate-editor {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.rate-input {
    width: 70px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    color: #fff;
    padding: 4px 8px;
    border-radius: 6px;
    text-align: center;
    font-size: 0.85rem;
}

/* Grid & Calendar Layout */
.blocked-dates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.blocked-card {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: var(--radius-sm);
    padding: 10px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.blocked-card:hover {
    background: rgba(239, 68, 68, 0.1);
}

.blocked-card h5 {
    color: #fca5a5;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.blocked-card p {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.btn-remove-blocked {
    position: absolute;
    top: 4px;
    right: 4px;
    background: transparent;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 2px;
    line-height: 1;
}

.btn-remove-blocked:hover {
    color: #fca5a5;
}

/* Nanny Availability Calendar Control */
.calendar-widget {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.calendar-header h4 {
    font-size: 1.05rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    text-align: center;
}

.day-header {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    padding-bottom: 6px;
}

.day-cell {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    border: 1px solid transparent;
    transition: var(--transition);
}

.day-cell:hover:not(.empty) {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border);
}

.day-cell.empty {
    cursor: default;
}

.day-cell.today {
    border-color: var(--primary);
    color: #fff;
}

.day-cell.blocked {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.3);
}

.day-cell.partial {
    background: rgba(239, 68, 68, 0.05) !important;
    border-color: rgba(239, 68, 68, 0.4);
    border-style: dashed;
}

.day-cell.booked {
    background: var(--primary-glow) !important;
    color: var(--primary-light);
    border-color: rgba(139, 92, 246, 0.3);
}

.cell-dot {
    width: 5px;
    height: 5px;
    background: currentColor;
    border-radius: 50%;
    position: absolute;
    bottom: 4px;
}

/* Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    background: #111827;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 440px;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.25rem;
}

/* Rate Tag */
.rate-tag {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rate-subtext {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: -2px;
}

/* Stats/KPI section */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border);
    padding: 16px;
    border-radius: var(--radius-md);
    text-align: center;
}

.stat-val {
    font-size: 1.7rem;
    font-weight: 700;
    color: #fff;
    margin-top: 4px;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Custom Booking Detail */
.booking-details-box {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
}

.booking-details-box strong {
    color: #fff;
}

.booking-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

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

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

.view-pane {
    display: none;
    animation: fadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.view-pane.active {
    display: block;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

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

.empty-state p {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Landing Page Layouts */
.landing-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: calc(100vh - 180px);
    gap: 48px;
    padding: 60px 0;
    max-width: 1300px;
    margin: 0 auto;
}

@media (max-width: 968px) {
    .landing-hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 0;
        gap: 32px;
    }
}

.landing-hero-content {
    flex: 1.1;
}

.landing-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff 40%, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.landing-hero-title span {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
    .landing-hero-title {
        font-size: 2.5rem;
    }
}

.landing-hero-text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 580px;
}

@media (max-width: 968px) {
    .landing-hero-text {
        margin: 0 auto;
    }
}

.landing-hero-media {
    flex: 0.9;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-image-frame {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    animation: floatAnimation 6s ease-in-out infinite;
}

.hero-image-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius-lg) - 8px);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.hero-image-img:hover {
    transform: scale(1.02);
}

@keyframes floatAnimation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Landing Section General */
.landing-section {
    padding: 80px 24px;
}

.section-container {
    max-width: 1300px;
    margin: 0 auto;
}

.section-header-center {
    text-align: center;
    margin-bottom: 50px;
}

.section-header-center h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.section-header-center p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Features grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.feature-card {
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.feature-icon {
    font-size: 2.2rem;
    width: 54px;
    height: 54px;
    border-radius: var(--radius-sm);
    background: var(--primary-glow);
    border: 1px solid rgba(139, 92, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
}

.feature-card h3 {
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Bio Section */
.bio-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 968px) {
    .bio-container {
        grid-template-columns: 1fr;
    }
}

.bio-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bio-subtitle {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.bio-content h2 {
    font-size: 2.4rem;
}

.bio-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.bio-highlights {
    list-style: none;
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bio-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.highlight-bullet {
    color: var(--success);
    font-weight: bold;
}

.bio-specs {
    padding: 32px 28px;
}

.bio-spec-row {
    display: flex;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

.spec-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.spec-val {
    color: #fff;
    font-weight: 700;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.testimonial-card {
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
}

.testimonial-quote {
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.6;
    font-style: italic;
}

.testimonial-quote:not(:last-of-type) {
    margin-bottom: 12px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author h4 {
    font-size: 0.95rem;
}

.testimonial-author p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Dynamic rows for dynamic lists */
.dynamic-row {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    width: 100%;
}

.btn-outline-danger {
    background: transparent;
    border: 1px solid #ef4444;
    color: #ef4444;
    transition: var(--transition);
}
.btn-outline-danger:hover {
    background: #ef4444;
    color: #fff;
}
.btn-outline-primary {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    transition: var(--transition);
}
.btn-outline-primary:hover {
    background: var(--primary);
    color: #fff;
}
.btn-outline-primary.active {
    background: var(--primary) !important;
    color: #fff !important;
}

/* ============================================== */
/* MOBILE RESPONSIVE POLISHING PREFERENCES (MILESTONE #10) */
/* ============================================== */

@media (max-width: 768px) {
    /* Main Landing Navbar adjustments */
    #public-navbar nav a:not(#nav-instagram-link):not(.btn) {
        display: none;
    }
    
    /* Layout Cards and booking details stack vertically */
    .item-card {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .item-info {
        width: 100%;
    }
    
    .item-meta {
        align-items: flex-start;
        text-align: left;
        border-top: 1px solid var(--border);
        padding-top: 12px;
        margin-top: 4px;
        width: 100%;
    }
    
    .item-meta div {
        text-align: left;
    }
    
    /* Hide tabs navigation in favor of mobile hamburger menu */
    .tabs-navigation {
        display: none !important;
    }
    
    /* Show mobile menu container */
    .mobile-menu-container {
        display: block;
    }
}

/* Mobile Hamburger Menu Navigation */
.mobile-menu-container {
    display: none;
    position: relative;
    width: 100%;
    margin-top: 16px;
    z-index: 10;
}

.mobile-menu-bar {
    width: 100%;
    background: rgba(31, 41, 55, 0.65);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    font-family: var(--font-body);
    transition: var(--transition);
}

.mobile-menu-bar:hover {
    border-color: var(--border-hover);
    background: rgba(31, 41, 55, 0.8);
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 20px;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 1px;
    transition: var(--transition);
}

.mobile-menu-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 8px;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-dropdown.open {
    display: flex;
    animation: slideDown 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-dropdown .tab-btn {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    justify-content: flex-start;
}

.mobile-menu-dropdown .tab-btn.active {
    background: var(--primary-glow);
    color: var(--primary-light);
    border-left: 3px solid var(--primary);
    padding-left: 13px;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    /* Collapse form columns */
    .form-row,
    .form-row[style*="display:flex"],
    .form-row[style*="display: flex"] {
        grid-template-columns: 1fr !important;
        flex-direction: column !important;
        gap: 12px !important;
    }
    
    /* Shrink inline portal tags */
    .simulator-title span span {
        display: none !important;
    }
    
    /* Hide active portal text to fit switcher */
    .simulator-label {
        display: none !important;
    }
    
    /* Shorten Public Home button inline */
    #link-to-landing {
        font-size: 0 !important;
    }
    #link-to-landing::after {
        content: "\2190  Home";
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    /* General spacing improvements */
    .app-container {
        padding: 16px 12px;
    }
    
    .landing-section {
        padding: 40px 16px;
    }
    
    .section-header-center {
        margin-bottom: 24px;
    }
    
    .section-header-center h2 {
        font-size: 1.8rem;
    }
    
    .landing-hero-title {
        font-size: 2.2rem;
    }
    
    /* Interactive Availability Calendar spacing */
    .calendar-widget {
        padding: 10px;
    }
    
    .calendar-grid {
        gap: 4px;
    }
    
    .day-cell {
        font-size: 0.8rem;
    }
    
    /* Onboarding list elements */
    .dynamic-row {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
        border-bottom: 1px dashed var(--border);
        padding-bottom: 12px;
        margin-bottom: 12px;
    }
}
