/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Color Palette: Warm Rose Gold & Premium Champagne */
    --primary: hsl(340, 45%, 63%);       /* Dusty Rose Gold */
    --primary-hover: hsl(340, 45%, 53%);
    --primary-light: hsl(340, 45%, 93%);
    --primary-glow: rgba(220, 100, 140, 0.15);
    
    --accent: hsl(28, 48%, 68%);         /* Warm Peachy Gold */
    --accent-light: hsl(28, 48%, 95%);
    
    --bg-gradient: linear-gradient(135deg, hsl(340, 30%, 97%) 0%, hsl(28, 30%, 96%) 100%);
    --bg-dark: hsl(340, 10%, 15%);
    --surface-light: rgba(255, 255, 255, 0.75);
    --surface-border: rgba(255, 255, 255, 0.45);
    
    --text-main: hsl(340, 20%, 20%);
    --text-muted: hsl(340, 10%, 50%);
    --text-white: #ffffff;
    
    --success: #4caf50;
    --danger: #f44336;
    
    /* Typography */
    --font-ui: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    
    /* Layout Details */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    --shadow-soft: 0 8px 30px rgba(180, 120, 135, 0.08);
    --shadow-medium: 0 12px 40px rgba(180, 120, 135, 0.12);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-ui);
    color: var(--text-main);
    background-color: #121214; /* Dark desktop background to make the phone mockup pop */
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ==========================================================================
   ANDROID PHONE MOCKUP (DESKTOP MODE)
   ========================================================================== */
.phone-mockup {
    position: relative;
    width: 410px;
    height: 840px;
    background-color: #000000;
    border-radius: 48px;
    padding: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8),
                0 0 0 4px #2b2b30;
    border: 1px solid #3c3c43;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

/* Simulated physical buttons and indicators on phone bezel */
.phone-speaker {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #333333;
    border-radius: 2px;
    z-index: 1000;
}

.phone-camera {
    position: absolute;
    top: 36px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    background-color: #1a1a1a;
    border: 2px solid #282828;
    border-radius: 50%;
    z-index: 1000;
}

.phone-power-btn {
    position: absolute;
    right: -3px;
    top: 180px;
    width: 3px;
    height: 60px;
    background-color: #2b2b30;
    border-radius: 0 3px 3px 0;
}

.phone-volume-btn {
    position: absolute;
    left: -3px;
    top: 140px;
    width: 3px;
    height: 80px;
    background-color: #2b2b30;
    border-radius: 3px 0 0 3px;
}

/* ==========================================================================
   APP CONTAINER SHELL
   ========================================================================== */
.app-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--bg-gradient);
    border-radius: 38px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* Soft marble-like decorative shapes in background */
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(220, 100, 140, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(200, 130, 180, 0.05) 0%, transparent 45%),
        var(--bg-gradient);
}

/* Simulated Android Top Status Bar */
.android-status-bar {
    height: 42px;
    padding: 16px 24px 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    z-index: 99;
    user-select: none;
    letter-spacing: 0.5px;
}

.status-icons {
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-icon {
    opacity: 0.8;
}

/* Simulated Android Bottom Navigation Keys */
.android-navigation-bar {
    height: 48px;
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 100;
    padding-bottom: 4px;
    border-bottom-left-radius: 38px;
    border-bottom-right-radius: 38px;
}

.nav-bar-btn {
    width: 48px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    opacity: 0.7;
    cursor: pointer;
    transition: opacity var(--transition-fast);
}

.nav-bar-btn:active {
    opacity: 1;
}

.circle-btn {
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.square-btn {
    width: 12px;
    height: 12px;
    border: 2px solid currentColor;
    border-radius: 3px;
}

/* ==========================================================================
   SPLASH SCREEN
   ========================================================================== */
.splash-screen {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, hsl(340, 35%, 85%) 0%, hsl(28, 30%, 80%) 100%);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
}

.splash-screen.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: splashEnter 0.8s ease-out;
}

.splash-logo-container {
    color: var(--text-main);
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 10px rgba(180, 100, 120, 0.2));
}

.splash-logo-svg circle {
    stroke-dasharray: 283;
    animation: drawCircle 2.5s ease-out infinite alternate;
}

.splash-title {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--text-main);
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.splash-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 500;
    margin-bottom: 40px;
}

.splash-loader {
    width: 140px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
}

.splash-loader-bar {
    width: 40%;
    height: 100%;
    background-color: var(--primary);
    border-radius: 2px;
    animation: loadingBar 1.8s infinite ease-in-out;
}

/* ==========================================================================
   APP HEADER
   ========================================================================== */
.app-header {
    height: 60px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    z-index: 90;
    transition: background-color var(--transition-smooth);
}

.header-logo {
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 2px 4px rgba(220, 100, 140, 0.15));
}

.header-details {
    flex: 1;
    margin-left: 12px;
    display: flex;
    flex-direction: column;
}

.header-title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--text-main);
}

.header-status-badge {
    align-self: flex-start;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 1px;
}

.header-status-badge.open {
    background-color: rgba(76, 175, 80, 0.12);
    color: var(--success);
    border: 0.5px solid rgba(76, 175, 80, 0.3);
}

.header-status-badge.closed {
    background-color: rgba(244, 67, 54, 0.12);
    color: var(--danger);
    border: 0.5px solid rgba(244, 67, 54, 0.3);
}

.header-admin-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.45);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.header-admin-btn:active {
    transform: scale(0.95);
    background-color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   APP SCREENS (SCROLLABLE BODY CONTENT)
   ========================================================================== */
.app-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    padding-bottom: 24px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Hide scrollbars but keep functionality */
.app-body::-webkit-scrollbar {
    width: 4px;
}
.app-body::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.08);
    border-radius: 10px;
}

.app-screen {
    display: none;
    padding: 16px 20px;
    animation: screenFadeIn 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-screen.active {
    display: block;
}

.screen-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.btn-back {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.btn-back:active {
    background: rgba(255, 255, 255, 0.8);
}

.screen-title {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 600;
    color: var(--text-main);
}

/* ==========================================================================
   UI COMPONENTS & CARDS (GLASSMORPHISM)
   ========================================================================== */
.info-card {
    background: var(--surface-light);
    backdrop-filter: blur(16px);
    border: 1px solid var(--surface-border);
    border-radius: var(--border-radius-md);
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-soft);
}

.card-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-main);
    border-left: 3px solid var(--primary);
    padding-left: 8px;
}

/* Button UI */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--border-radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    outline: none;
    text-align: center;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, hsl(340, 45%, 55%) 100%);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(220, 100, 140, 0.35);
}

.btn-primary:active {
    transform: scale(0.97);
    box-shadow: 0 2px 8px rgba(220, 100, 140, 0.2);
}

.btn-primary:disabled {
    background: #cbd5e1 !important;
    color: #64748b !important;
    box-shadow: none !important;
    cursor: not-allowed;
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--primary);
    color: var(--primary);
}

.btn-outline:active {
    background: rgba(220, 100, 140, 0.05);
}

.btn-danger {
    background-color: var(--danger);
    color: var(--text-white);
}

.btn-danger:active {
    background-color: #d32f2f;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 13.5px;
    margin-bottom: 6px;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.85);
    color: var(--text-main);
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

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

.form-help {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: -3px;
    margin-bottom: 8px;
}

/* ==========================================================================
   CLIENT SCREEN: HOME VIEW
   ========================================================================== */
.hero-banner {
    position: relative;
    height: 240px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--shadow-medium);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 0.5s ease-in-out;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    color: var(--text-white);
    z-index: 2;
}

.hero-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 6px;
    display: inline-block;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.25;
}

.hero-desc {
    font-size: 13px;
    opacity: 0.85;
    margin-bottom: 16px;
}

.hero-content .btn {
    padding: 10px 20px;
    font-size: 13.5px;
    border-radius: var(--border-radius-sm);
}

/* Info Cards & Hours */
.info-item {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-text {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
}

.hours-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    font-weight: 500;
    padding-bottom: 6px;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.05);
}

.hours-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hours-day {
    font-weight: 600;
}

.hours-time {
    color: var(--text-main);
}

.hours-row.closed .hours-time {
    color: var(--danger);
    font-weight: 600;
}

.hours-row.today {
    color: var(--primary);
    font-weight: 700;
}

/* ==========================================================================
   CLIENT SCREEN: STEPPED BOOKING ENGINE
   ========================================================================== */
.booking-stepper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 0 10px;
    user-select: none;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.step span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    border: 1.5px solid #cbd5e1;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    transition: all var(--transition-fast);
}

.step label {
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.step-line {
    flex: 1;
    height: 2px;
    background-color: #cbd5e1;
    margin-top: -16px;
    z-index: 1;
}

.step.active span {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--text-white);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.step.active label {
    color: var(--primary);
    font-weight: 700;
}

.step.completed span {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--text-white);
}

.step.completed label {
    color: var(--accent);
}

.step-line.completed {
    background-color: var(--accent);
}

.booking-step-content {
    display: none;
    animation: stepEnter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.booking-step-content.active {
    display: block;
}

.step-section-title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-main);
}

.step-section-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 18px;
}

/* Service Grid & Cards */
.services-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-card {
    background: var(--surface-light);
    backdrop-filter: blur(16px);
    border: 1.5px solid var(--surface-border);
    border-radius: var(--border-radius-md);
    padding: 16px;
    display: flex;
    gap: 14px;
    align-items: center;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-fast);
}

.service-card:active {
    transform: scale(0.98);
}

.service-card.selected {
    border-color: var(--primary);
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 3px var(--primary-glow), var(--shadow-medium);
}

.service-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-sm);
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
}

.service-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
    line-height: 1.35;
}

.service-meta-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.meta-badge {
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.meta-badge.duration {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--text-main);
}

.meta-badge.price {
    background-color: var(--primary-light);
    color: var(--primary);
}

.service-select-indicator {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.service-card.selected .service-select-indicator {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--text-white);
}

.service-card.selected .service-select-indicator::after {
    content: "";
    width: 6px;
    height: 6px;
    background-color: var(--text-white);
    border-radius: 50%;
}

/* Custom Calendar View */
.calendar-container {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--surface-border);
    border-radius: var(--border-radius-md);
    padding: 16px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 16px;
}

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

.calendar-month-title {
    font-weight: 700;
    font-size: 15.5px;
    text-transform: capitalize;
    color: var(--text-main);
}

.calendar-nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.calendar-nav-btn:active {
    background: rgba(0, 0, 0, 0.08);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 8px;
}

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

.calendar-day {
    position: relative;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13.5px;
    font-weight: 600;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.calendar-day.empty {
    cursor: default;
    pointer-events: none;
}

.calendar-day.disabled {
    color: #cbd5e1;
    cursor: not-allowed;
    pointer-events: none;
}

.calendar-day.disabled::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 1.5px;
    background-color: #cbd5e1;
    transform: rotate(-45deg);
}

.calendar-day.today {
    color: var(--primary);
    border: 1px dashed var(--primary);
}

.calendar-day.available {
    color: var(--text-main);
}

.calendar-day.selected {
    background-color: var(--primary) !important;
    color: var(--text-white) !important;
    box-shadow: 0 4px 10px rgba(220, 100, 140, 0.35);
    font-weight: 700;
}

.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.legend-dot.selected {
    background-color: var(--primary);
}

.legend-dot.available {
    background-color: transparent;
    border: 1px solid var(--text-main);
}

.legend-dot.closed {
    background-color: transparent;
    border: 1px solid #cbd5e1;
}

.legend-dot.closed::after {
    content: "";
    display: block;
    width: 6px;
    height: 1px;
    background-color: #cbd5e1;
    transform: rotate(-45deg) translate(2px, -2px);
}

/* Time Slot Selection */
.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}

.time-slot {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--surface-border);
    border-radius: var(--border-radius-sm);
    padding: 12px 6px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-fast);
}

.time-slot:active {
    transform: scale(0.96);
}

.time-slot.selected {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--text-white);
    box-shadow: 0 4px 10px rgba(220, 100, 140, 0.25);
}

.time-slot.occupied {
    background: rgba(241, 245, 249, 0.6);
    border-color: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
    pointer-events: none;
    position: relative;
    overflow: hidden;
}

.time-slot.occupied::before {
    content: "Occupato";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-10deg);
    font-size: 9px;
    text-transform: uppercase;
    font-weight: 800;
    color: rgba(148, 163, 184, 0.4);
    white-space: nowrap;
}

.time-slots-grid-empty {
    grid-column: span 3;
    text-align: center;
    padding: 30px;
    background: var(--surface-light);
    border-radius: var(--border-radius-md);
    color: var(--danger);
    font-weight: 600;
    font-size: 13.5px;
}

/* Booking Details Summary box */
.summary-box {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--surface-border);
    border-radius: var(--border-radius-md);
    padding: 16px;
    margin-bottom: 20px;
    margin-top: 10px;
}

.summary-box-title {
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    margin-bottom: 8px;
}

.summary-row:last-child {
    margin-bottom: 0;
}

.summary-row span {
    color: var(--text-muted);
}

.summary-row strong {
    color: var(--text-main);
    text-align: right;
    max-width: 60%;
}

.summary-price {
    color: var(--primary) !important;
    font-size: 16px;
    font-weight: 700;
}

.step-actions {
    margin-top: 24px;
}

/* Success View */
.success-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 10px;
}

.success-icon-wrapper {
    margin-bottom: 20px;
}

.success-checkmark {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: var(--success);
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px var(--success);
    animation: fillCheck 0.4s ease-in-out 0.4s forwards, scaleCheck 0.3s ease-in-out 0.9s both;
}

.success-checkmark-circle {
    stroke-width: 2;
    stroke-offset: 0;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-miterlimit: 10;
    stroke: var(--success);
    fill: none;
    animation: strokeCircle 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.success-checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke-linecap: round;
    animation: strokeCheck 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

.success-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

.success-desc {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.4;
}

.success-card {
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--surface-border);
    border-radius: var(--border-radius-md);
    padding: 16px;
    box-shadow: var(--shadow-medium);
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.success-card-line {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
}

.success-card-line span {
    color: var(--text-muted);
}

.success-card-line strong {
    color: var(--text-main);
}

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

/* ==========================================================================
   CLIENT SCREEN: MY BOOKINGS LIST
   ========================================================================== */
.lookup-card {
    background: var(--surface-light);
    backdrop-filter: blur(16px);
    border: 1px solid var(--surface-border);
    border-radius: var(--border-radius-md);
    padding: 18px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-soft);
}

.lookup-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.4;
}

.lookup-input-group {
    display: flex;
    gap: 10px;
}

.lookup-input-group .form-control {
    flex: 1;
}

.lookup-input-group .btn {
    padding: 12px 20px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bookings-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.booking-item-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--surface-border);
    border-radius: var(--border-radius-md);
    padding: 16px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.booking-item-card.pending {
    border-left: 4px solid var(--accent);
}

.booking-item-card.confirmed {
    border-left: 4px solid var(--success);
}

.booking-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.booking-card-service {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--text-main);
}

.booking-status-pill {
    font-size: 9.5px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.booking-status-pill.pending {
    background-color: var(--accent-light);
    color: var(--accent);
}

.booking-status-pill.confirmed {
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--success);
}

.booking-card-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.booking-card-body-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.booking-card-body-row svg {
    color: var(--primary);
    opacity: 0.8;
}

.booking-card-actions {
    display: flex;
    justify-content: flex-end;
}

.btn-cancel-booking {
    background: transparent;
    border: none;
    color: var(--danger);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color var(--transition-fast);
}

.btn-cancel-booking:active {
    background-color: rgba(244, 67, 54, 0.05);
}

/* Empty States */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.empty-state svg {
    margin-bottom: 12px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 13px;
    line-height: 1.4;
}

/* ==========================================================================
   ADMIN SCREEN: PIN AUTHENTICATION
   ========================================================================== */
.admin-auth-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 10px;
}

.auth-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: var(--shadow-soft);
}

.auth-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-main);
}

.auth-desc {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 32px;
    line-height: 1.4;
    max-width: 280px;
}

/* PIN Indicator dots */
.pin-display {
    display: flex;
    gap: 18px;
    margin-bottom: 40px;
}

.pin-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    background-color: transparent;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.pin-dot.filled {
    background-color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 8px var(--primary);
    transform: scale(1.15);
}

.pin-dot.shake {
    animation: shakeDot 0.4s;
    border-color: var(--danger);
    background-color: var(--danger);
}

/* PIN Keyboard Pad */
.pin-pad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 270px;
}

.pin-btn {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background-color: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(10px);
    font-size: 24px;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-fast);
}

.pin-btn:active {
    transform: scale(0.92);
    background-color: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
}

.pin-action-btn {
    background-color: transparent;
    border-color: transparent;
    box-shadow: none;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-muted);
}

.pin-action-btn:active {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--text-main);
    transform: scale(0.95);
}

/* ==========================================================================
   ADMIN SCREEN: DASHBOARD & SUB-TABS
   ========================================================================== */
.admin-header {
    margin-bottom: 12px;
}

.admin-badge {
    background-color: var(--text-main);
    color: var(--text-white);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 1.5px;
}

.admin-tab-content {
    display: none;
    animation: tabEnter 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.admin-section-header {
    margin-bottom: 16px;
}

/* Category Filter Chips */
.admin-filters {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.filter-chip {
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-chip.active {
    background-color: var(--text-main);
    color: var(--text-white);
    border-color: var(--text-main);
}

/* Admin Appointments Cards */
.admin-bookings-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-booking-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--surface-border);
    border-radius: var(--border-radius-md);
    padding: 16px;
    box-shadow: var(--shadow-soft);
    position: relative;
}

.admin-booking-card.status-pending {
    border-left: 4px solid var(--accent);
}

.admin-booking-card.status-confirmed {
    border-left: 4px solid var(--success);
}

.admin-booking-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.admin-booking-service {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
}

.admin-booking-date {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--primary);
}

.admin-booking-cust {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 4px;
}

.admin-booking-meta {
    font-size: 12.5px;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 12px;
}

.admin-booking-meta div {
    display: flex;
    align-items: center;
    gap: 6px;
}

.admin-booking-notes {
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 12px;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.admin-booking-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.admin-booking-actions .btn {
    padding: 8px 14px;
    font-size: 12px;
    border-radius: var(--border-radius-sm);
}

/* Settings Form & Presets */
.admin-form {
    display: flex;
    flex-direction: column;
}

.logo-presets {
    display: flex;
    gap: 12px;
    margin-bottom: 4px;
}

.logo-preset {
    flex: 1;
    border: 1.5px solid var(--surface-border);
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: var(--border-radius-md);
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.logo-preset.active {
    border-color: var(--primary);
    background-color: var(--primary-light);
    color: var(--primary);
}

.preset-logo-svg.gold {
    color: hsl(340, 45%, 63%);
}
.preset-logo-svg.minimal {
    color: #334155;
}
.preset-logo-svg.lotus {
    color: #047857;
}

/* Background Image Presets in Settings */
.bg-presets {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.bg-preset {
    flex: 1;
    height: 70px;
    border-radius: var(--border-radius-sm);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-fast);
}

.bg-preset span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: var(--text-white);
    font-size: 9.5px;
    font-weight: 700;
    padding: 3px;
    text-align: center;
}

.bg-preset.active {
    border-color: var(--primary);
    transform: scale(1.03);
    box-shadow: var(--shadow-medium);
}

.custom-bg-input {
    margin-top: 10px;
}

/* Admin Opening Hours Rows */
.hours-settings-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.hours-settings-row {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--surface-border);
    border-radius: var(--border-radius-md);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--shadow-soft);
}

.hours-settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hours-settings-day {
    font-weight: 700;
    font-size: 14.5px;
    color: var(--text-main);
}

/* Beautiful Switch Toggle */
.switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #cbd5e1;
    transition: .3s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

input:checked + .slider {
    background-color: var(--primary);
}

input:checked + .slider:before {
    transform: translateX(22px);
}

.hours-settings-time-inputs {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: opacity var(--transition-fast);
}

.hours-settings-row.disabled .hours-settings-time-inputs {
    opacity: 0.35;
    pointer-events: none;
}

.hours-settings-time-inputs span {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
}

.hours-settings-time-inputs .form-control {
    padding: 8px 12px;
    font-size: 13px;
    text-align: center;
}

/* Statistics dashboard items */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--surface-border);
    border-radius: var(--border-radius-md);
    padding: 16px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
}

.stat-card:first-child {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, var(--primary-light) 100%);
    border-color: rgba(220, 100, 140, 0.25);
}

.stat-label {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 2px;
}

.stat-card:first-child .stat-value {
    color: var(--primary);
    font-size: 30px;
}

.stat-sub {
    font-size: 11px;
    color: var(--text-muted);
}

/* Custom Visual Bar Chart inside Admin Dashboard */
.charts-card {
    padding-bottom: 12px;
}

.stats-chart-container {
    margin-top: 14px;
}

.custom-bar-chart {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chart-bar-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.chart-bar-label-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 600;
}

.chart-bar-label {
    color: var(--text-main);
}

.chart-bar-value {
    color: var(--primary);
    font-weight: 700;
}

.chart-bar-track {
    height: 8px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.chart-bar-fill {
    height: 100%;
    background-color: var(--primary);
    border-radius: 4px;
    width: 0;
    transition: width 0.8s cubic-bezier(0.1, 0.8, 0.3, 1);
}

/* ==========================================================================
   NAVIGATION GLOBAL LAYOUTS
   ========================================================================== */
.bottom-nav {
    height: 64px;
    background-color: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(25px);
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 95;
    transition: transform 0.3s ease;
}

.bottom-nav.admin-nav {
    background-color: rgba(30, 30, 35, 0.8);
    border-top-color: rgba(255, 255, 255, 0.1);
}

/* Hide bottom navs when not applicable */
.bottom-nav {
    display: none;
}

.app-container:not(.admin-mode) #bottom-nav {
    display: flex;
}

.app-container.admin-mode #admin-bottom-nav {
    display: flex;
}

.nav-item {
    flex: 1;
    height: 100%;
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.nav-item span {
    font-size: 10px;
    font-weight: 700;
}

.nav-item:active {
    transform: scale(0.95);
}

.app-container:not(.admin-mode) .nav-item.active {
    color: var(--primary);
}

.app-container.admin-mode .nav-item.active {
    color: var(--text-white);
}

.admin-nav .nav-item {
    color: rgba(255, 255, 255, 0.5);
}

.admin-nav .nav-item.active {
    color: var(--accent);
}

.exit-admin-btn {
    color: var(--danger) !important;
}

/* ==========================================================================
   TOAST NOTIFICATION NOTIFY SYSTEM
   ========================================================================== */
.toast-container {
    position: absolute;
    top: 54px;
    left: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.toast {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-left: 4px solid var(--primary);
    border-radius: var(--border-radius-sm);
    padding: 12px 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    color: var(--text-main);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: toastSlideIn 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
    pointer-events: auto;
}

.toast.toast-error {
    border-left-color: var(--danger);
}

.toast.toast-success {
    border-left-color: var(--success);
}

.toast-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-weight: 700;
    cursor: pointer;
    font-size: 14px;
    padding-left: 10px;
}

/* ==========================================================================
   MODAL DIALOG DIALOGUE OVERLAY
   ========================================================================== */
.modal-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: var(--text-white);
    border-radius: var(--border-radius-md);
    width: 100%;
    max-width: 320px;
    padding: 24px;
    box-shadow: var(--shadow-heavy);
    transform: scale(0.9);
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.modal-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-main);
}

.modal-message {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.45;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.modal-actions .btn {
    padding: 10px 16px;
    font-size: 13px;
    border-radius: var(--border-radius-sm);
}

/* ==========================================================================
   KEYFRAME ANIMATIONS
   ========================================================================== */
@keyframes splashEnter {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes drawCircle {
    from { stroke-dashoffset: 283; }
    to { stroke-dashoffset: 0; }
}

@keyframes loadingBar {
    0% { left: -40%; width: 40%; }
    50% { left: 40%; width: 60%; }
    100% { left: 100%; width: 40%; }
}

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

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

@keyframes tabEnter {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes toastSlideIn {
    from { opacity: 0; transform: translateY(-30px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes shakeDot {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

/* Success Checkmark Keyframes */
@keyframes strokeCircle {
    100% { stroke-dashoffset: 0; }
}
@keyframes strokeCheck {
    100% { stroke-dashoffset: 0; }
}
@keyframes fillCheck {
    100% { box-shadow: inset 0px 0px 0px 30px rgba(76, 175, 80, 0.15); }
}
@keyframes scaleCheck {
    0%, 100% { transform: none; }
    50% { transform: scale3d(1.1, 1.1, 1); }
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE-FIRST COLLAPSE BEZEL)
   ========================================================================== */
@media (max-width: 500px) {
    body {
        background-color: transparent;
        align-items: stretch;
    }
    
    .phone-mockup {
        width: 100vw;
        height: 100vh;
        border-radius: 0;
        padding: 0;
        border: none;
        box-shadow: none;
    }
    
    .app-container {
        border-radius: 0;
    }
    
    .android-navigation-bar {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        height: 52px;
        padding-bottom: env(safe-area-inset-bottom, 8px);
    }
    
    .android-status-bar {
        padding-top: env(safe-area-inset-top, 16px);
        height: calc(42px + env(safe-area-inset-top, 0px));
    }
    
    .app-body {
        padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    }
}

/* ==========================================================================
   SIMULATED ANDROID PUSH NOTIFICATIONS
   ========================================================================== */
.simulated-notification {
    position: absolute;
    top: 48px;
    left: 16px;
    right: 16px;
    background: rgba(30, 24, 28, 0.94);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 12px 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transform: translateY(-160%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.4s ease;
}

.simulated-notification.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    cursor: pointer;
}

@keyframes notif-pulse {
    0%   { box-shadow: 0 12px 32px rgba(0,0,0,0.5), 0 0 0 0 rgba(193,129,95,0.6); }
    70%  { box-shadow: 0 12px 32px rgba(0,0,0,0.5), 0 0 0 10px rgba(193,129,95,0); }
    100% { box-shadow: 0 12px 32px rgba(0,0,0,0.5), 0 0 0 0 rgba(193,129,95,0); }
}

.simulated-notification.pulse {
    animation: notif-pulse 1s ease-out 2;
}


.sim-noti-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
}

.sim-noti-app-icon {
    width: 18px;
    height: 18px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.sim-noti-app-name {
    flex: 1;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 1px;
    color: var(--accent);
}

.sim-noti-time {
    font-size: 10px;
    opacity: 0.8;
}

.sim-noti-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sim-noti-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
}

.sim-noti-body {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.3;
}

/* Force PIN change screen additions */
#screen-admin-force-pin .form-control {
    text-align: center;
    letter-spacing: 6px;
    font-size: 20px;
    font-weight: bold;
    color: var(--text-main);
    background-color: rgba(255, 255, 255, 0.95);
    border: 1.5px solid var(--primary-light);
}

#screen-admin-force-pin .form-control:focus {
    border-color: var(--primary);
}

/* Pricing Grid Inputs */
.price-input-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.05);
}

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

.price-input-label {
    font-weight: 600;
    font-size: 13.5px;
    color: var(--text-main);
}

.price-input-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100px;
}

.price-currency {
    font-weight: 700;
    color: var(--primary);
}

.price-input-control {
    text-align: right;
    padding: 8px 10px;
}

/* ==========================================================================
   CLIENT AUTH: LOGIN / REGISTER CARDS
   ========================================================================== */
.auth-client-card {
    background: var(--surface);
    border-radius: 20px;
    padding: 28px 20px 20px;
    margin: 16px 0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.auth-client-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.auth-client-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-main);
    margin: 0;
    text-align: center;
}

.auth-client-desc {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    margin: 0 0 8px;
}

.auth-client-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.auth-client-switch {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 10px;
    text-align: center;
}

.auth-client-switch a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

/* Logout button in my-bookings header */
.btn-client-logout {
    display: flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: 1.5px solid var(--border);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-client-logout:hover {
    border-color: var(--error);
    color: var(--error);
}

/* Admin notify button */
.btn-notify {
    background: transparent;
    border: 1.5px solid var(--primary-light);
    color: var(--primary);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.btn-notify:hover {
    background: var(--primary-light);
}

/* Custom Logo Upload */
.logo-upload-area {
    border: 2px dashed var(--primary-light);
    border-radius: var(--border-radius-md);
    padding: 16px;
    text-align: center;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.2s ease;
}

.logo-upload-area:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--primary);
}

#logo-upload-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-main);
    font-size: 13px;
    font-weight: 600;
}

.logo-upload-hint {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 400;
}
