/* Userconsole PWA - Modern App Styling */

/* CSS Variables */
:root {
    --primary-color: #FFD700;
    --primary-dark: #E6C200;
    --secondary-color: #333333;
    --accent-color: #FFA500;
    --background-color: #F8F9FA;
    --card-background: #FFFFFF;
    --text-primary: #1A1A1A;
    --text-secondary: #666666;
    --text-muted: #999999;
    --border-color: #E1E5E9;
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--background-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.app-container {
    max-width: 100vw;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Add padding only when bottom nav is visible */
.app-container.has-bottom-nav {
    padding-bottom: 70px; /* Space for bottom navigation */
}

/* Enhanced Desktop Layout Optimization */
@media (min-width: 1024px) {
    .app-container {
        max-width: none;
        margin: 0;
        padding: 0;
    }
    
    .app-container.has-bottom-nav {
        padding: 0 0 70px 0;
    }
    
    /* Create proper desktop layout container */
    .screen {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 2rem;
    }
}

@media (min-width: 1200px) {
    .screen {
        max-width: 1600px;
       padding: 0 1px;
    }
}

@media (min-width: 1400px) {
    .screen {
        max-width: 1800px;
       
    }
}

/* Screen Management */
.screen {
    display: none;
    min-height: 100vh;
    width: 100%;
    position: relative;
    animation: slideIn 0.3s ease-out;
}

.screen.active {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Login Screen */
.login-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.logo-section {
    text-align: center;
    margin-bottom: 3rem;
}

.app-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.app-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.logo-section h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo-section p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.login-form {
    background: var(--card-background);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 400px;
}

/* Desktop Login Layout */
@media (min-width: 769px) {
    .login-form {
        max-width: 500px;
        padding: 3rem;
    }
}

.google-login-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--card-background);
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 1.5rem;
}

.google-login-btn:hover {
    border-color: var(--primary-color);
    background: #FFFEF7;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
    color: var(--text-muted);
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
    z-index: 1;
}

.divider span {
    background: var(--card-background);
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-group input {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    background: var(--card-background);
    transition: var(--transition);
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.input-group i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.login-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--secondary-color);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 1.5rem;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.login-footer {
    text-align: center;
}

.login-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.login-footer p {
    margin-top: 1rem;
    color: var(--text-secondary);
}

/* Top Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--card-background);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.user-greeting {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    position: relative;
    padding-left: 60px; /* Space for the logo */
    min-height: 50px; /* Ensure enough height for the logo */
    justify-content: center;
}

/* Brand logo in header - positioned absolutely */
.brand-logo-small {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.header-logo {
    width: 48px;  /* Increased size */
    height: 48px; /* Increased size to span both text lines */
    border-radius: 8px;
    transition: var(--transition);
    object-fit: contain;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.2);
}

.header-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.brand-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.greeting-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

.location {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

/* Ensure proper spacing and alignment */
.user-greeting .greeting-text,
.user-greeting .location {
    margin: 0;
    padding: 0;
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.notification-btn, .profile-btn {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition);
}

.notification-btn:hover, .profile-btn:hover {
    background: var(--background-color);
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #FF3B30;
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.profile-btn img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

/* Quick Actions */
.quick-actions {
    padding: 1.5rem;
}

/* Desktop Quick Actions Layout */
@media (min-width: 769px) {
    .quick-actions {
        padding: 2rem 3rem;
    }
}

.quick-actions h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    position: relative;
}

/* Add subtle branding accent to section headings */
.quick-actions h2::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2rem;
    opacity: 0.6;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.action-card {
    background: var(--card-background);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transition: left 0.5s ease;
}

.action-card:hover::before {
    left: 100%;
}

.action-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.action-card.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-color: transparent;
    color: var(--secondary-color);
}

.action-card.primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.action-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 1.5rem;
}

.action-card:not(.primary) .action-icon {
    background: var(--background-color);
    color: var(--primary-color);
}

.action-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.action-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.action-card.primary .action-content p {
    color: rgba(51, 51, 51, 0.8);
}

/* Current Bookings */
.current-bookings, .recent-activity {
    padding: 0 1.5rem 1.5rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Enhanced branding effects for section headings */
.section-header h2::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2rem;
    opacity: 0.6;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.see-all-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.see-all-btn:hover {
    color: var(--primary-dark);
}

.booking-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Screen Headers */
.screen-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: var(--card-background);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.back-btn, .settings-btn {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition);
    color: var(--text-primary);
}

.back-btn:hover, .settings-btn:hover {
    background: var(--background-color);
}

.screen-header h1 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Booking Screen */
.booking-content {
    padding: 0;
    padding-bottom: 120px;
    background: var(--background-color);
    min-height: calc(100vh - 140px);
}

/* Header brand styling */
.header-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-logo-small {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.header-brand h1 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

/* Modern Step Indicator */
.step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1.5rem;
    background: var(--card-background);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    margin-bottom: 0;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    position: relative;
    opacity: 0.6;
    transition: var(--transition);
}

.step.active {
    opacity: 1;
}

.step.completed {
    opacity: 1;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 14px;
    left: calc(50% + 20px);
    width: calc(100% - 40px);
    height: 2px;
    background: var(--border-color);
    z-index: 1;
}

.step.completed:not(:last-child)::after {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
    z-index: 2;
    position: relative;
}

.step.active .step-number {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    transform: scale(1.1);
}

.step.completed .step-number {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--secondary-color);
}

.step.completed .step-number::before {
    content: '✓';
    font-size: 0.8rem;
    font-weight: 900;
}

.step-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
}

.step.active .step-label {
    color: var(--text-primary);
    font-weight: 700;
}

/* Confirmation header styling */
.confirmation-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.05));
    border-radius: var(--border-radius-lg);
    border: 2px solid rgba(255, 215, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.confirmation-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

.confirmation-logo {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.4);
    transition: var(--transition);
}

.confirmation-logo:hover {
    transform: scale(1.05) rotate(2deg);
}

.confirmation-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.confirmation-subtitle {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 25px;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

/* Enhanced Booking Steps */
.booking-step {
    display: none;
    animation: slideInRight 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 2rem 1.5rem;
    background: var(--background-color);
    min-height: 60vh;
}

.booking-step.active {
    display: block;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.booking-step h2 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-align: center;
    position: relative;
}

.booking-step h2::after {
    content: '';
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    display: block;
    margin: 0.75rem auto;
    border-radius: 2px;
}

/* Enhanced Service Selection */
.service-options {
    display: grid;
    gap: 1.25rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--card-background);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(255, 215, 0, 0.2);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(255, 165, 0, 0.04));
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.3);
    transform: translateY(-2px);
}

.service-card.selected::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.05));
    color: var(--primary-color);
    filter: grayscale(0.3);
    transition: var(--transition);
    margin: 0 auto 1.25rem;
    border: 2px solid rgba(255, 215, 0, 0.2);
}

.service-card:hover .service-icon,
.service-card.selected .service-icon {
    filter: grayscale(0);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
}

.service-price {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--secondary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
    transition: var(--transition);
}

.service-card:hover .service-price {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.4);
}

/* Enhanced Form Section */
.form-section {
    background: var(--card-background);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    position: relative;
    margin-top: 1rem;
}

.form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.input-group {
    margin-bottom: 2rem;
    position: relative;
}

.input-group:last-child {
    margin-bottom: 0;
}

.input-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
    position: relative;
}

.input-group label::after {
    content: '*';
    color: var(--accent-color);
    margin-left: 0.25rem;
    font-weight: 700;
}

/* Special styling for duration label - no asterisk needed */
.input-group:has(.duration-selector) label::after {
    display: none;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    background: var(--card-background);
    transition: var(--transition);
    font-family: inherit;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
    transform: translateY(-1px);
}

.input-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Enhanced Duration Selector */
.duration-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: var(--card-background);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem 1.25rem;
    transition: var(--transition);
    width: 100%;
    margin: 0;
}

.duration-selector:hover {
    border-color: var(--primary-color);
}

.duration-selector button {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--primary-color);
    background: var(--card-background);
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.duration-selector button:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: scale(1.05);
}

.duration-selector button:active {
    transform: scale(0.95);
}

.duration-selector button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

#durationDisplay {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    background: transparent;
    padding: 0.5rem;
    flex: 1;
    min-width: 80px;
    transition: transform 0.2s ease, color 0.2s ease;
}

/* Enhanced Booking Summary */
.booking-summary {
    margin-top: 1rem;
}

.summary-card {
    background: var(--card-background);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.summary-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
    justify-content: center;
}

.summary-card h3::before {
    content: '📋';
    font-size: 1.2rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1rem;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item span:first-child {
    font-weight: 600;
    color: var(--text-secondary);
}

.summary-item span:last-child {
    font-weight: 700;
    color: var(--text-primary);
}

.summary-item.total {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.05));
    margin: 1rem -2rem -2rem;
    padding: 1.5rem 2rem;
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
    border-bottom: none;
}

.summary-item.total span {
    color: var(--primary-color);
    font-weight: 800;
}

/* Enhanced Confirmation Header */
.confirmation-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.05));
    border-radius: var(--border-radius-lg);
    border: 2px solid rgba(255, 215, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.confirmation-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

.confirmation-logo {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.4);
    transition: var(--transition);
}

.confirmation-logo:hover {
    transform: scale(1.05) rotate(2deg);
}

.confirmation-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.confirmation-subtitle {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 25px;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

/* Sign-up Screen */
.signup-content {
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.user-profile-preview {
    text-align: center;
    padding: 20px 0;
    margin-bottom: 24px;
    border-radius: var(--border-radius);
    background-color: var(--card-background);
    box-shadow: var(--shadow-sm);
}

.signup-profile-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    object-fit: cover;
    margin-bottom: 10px;
}

.user-profile-preview h3 {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.user-profile-preview p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

#signupForm {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

#signupForm h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

#signupForm > p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.form-section {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.form-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.input-group {
    margin-bottom: 16px;
}

.input-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--text-secondary);
}

.input-row {
    display: flex;
    gap: 16px;
    width: 100%;
}

.input-group.half {
    flex: 1;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.input-group textarea {
    height: 100px;
    resize: vertical;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
}

.terms-section {
    margin-bottom: 24px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 12px;
    margin-top: 3px;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.checkbox-group label a {
    color: var(--accent-color);
    text-decoration: none;
}

.button-section {
    margin-top: 24px;
}

.signup-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.signup-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.signup-btn:active {
    transform: translateY(0);
}

/* Profile Picture Upload Styling */
.profile-picture-section {
    margin-top: 15px;
    text-align: center;
}

.profile-picture-label {
    display: inline-block;
    background: #FFD700;
    color: #333;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

.profile-picture-label:hover {
    background: #e6c200;
    transform: translateY(-1px);
}

.profile-picture-label i {
    margin-right: 6px;
}

.profile-picture-section small {
    display: block;
    margin-top: 8px;
    color: #666;
    font-size: 12px;
}

.signup-profile-img {
    cursor: pointer;
    transition: all 0.3s ease;
}

.signup-profile-img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

/* Email Signup Form Styling */
.form-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.form-container .header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.form-container .back-button {
    position: absolute;
    left: 0;
    top: 0;
    background: none;
    border: none;
    font-size: 18px;
    color: #333;
    cursor: pointer;
    padding: 5px;
}

.form-container .header h2 {
    color: #333;
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.login-form input[type="text"],
.login-form input[type="email"],
.login-form input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.login-form input:focus {
    outline: none;
    border-color: #FFD700;
}

.login-form small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

.login-btn {
    width: 100%;
    background: #FFD700;
    color: #333;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.login-btn:hover {
    background: #e6c200;
    transform: translateY(-1px);
}

.login-options {
    text-align: center;
    margin-top: 20px;
}

.login-options a {
    color: #FFD700;
    text-decoration: none;
    font-weight: 500;
}

.login-options a:hover {
    text-decoration: underline;
}

/* Top Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--card-background);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.user-greeting {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    position: relative;
    padding-left: 60px; /* Space for the logo */
    min-height: 50px; /* Ensure enough height for the logo */
    justify-content: center;
}

/* Brand logo in header - positioned absolutely */
.brand-logo-small {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.header-logo {
    width: 48px;  /* Increased size */
    height: 48px; /* Increased size to span both text lines */
    border-radius: 8px;
    transition: var(--transition);
    object-fit: contain;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.2);
}

.header-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.brand-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.greeting-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

.location {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

/* Ensure proper spacing and alignment */
.user-greeting .greeting-text,
.user-greeting .location {
    margin: 0;
    padding: 0;
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.notification-btn, .profile-btn {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition);
}

.notification-btn:hover, .profile-btn:hover {
    background: var(--background-color);
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #FF3B30;
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.profile-btn img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

/* Quick Actions */
.quick-actions {
    padding: 1.5rem;
}

/* Desktop Quick Actions Layout */
@media (min-width: 769px) {
    .quick-actions {
        padding: 2rem 3rem;
    }
}

.quick-actions h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    position: relative;
}

/* Add subtle branding accent to section headings */
.quick-actions h2::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2rem;
    opacity: 0.6;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.action-card {
    background: var(--card-background);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transition: left 0.5s ease;
}

.action-card:hover::before {
    left: 100%;
}

.action-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.action-card.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-color: transparent;
    color: var(--secondary-color);
}

.action-card.primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.action-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 1.5rem;
}

.action-card:not(.primary) .action-icon {
    background: var(--background-color);
    color: var(--primary-color);
}

.action-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.action-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.action-card.primary .action-content p {
    color: rgba(51, 51, 51, 0.8);
}

/* Current Bookings */
.current-bookings, .recent-activity {
    padding: 0 1.5rem 1.5rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Enhanced branding effects for section headings */
.section-header h2::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2rem;
    opacity: 0.6;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.see-all-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.see-all-btn:hover {
    color: var(--primary-dark);
}

.booking-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Screen Headers */
.screen-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: var(--card-background);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.back-btn, .settings-btn {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition);
    color: var(--text-primary);
}

.back-btn:hover, .settings-btn:hover {
    background: var(--background-color);
}

.screen-header h1 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Booking Screen */
.booking-content {
    padding: 0;
    padding-bottom: 120px;
    background: var(--background-color);
    min-height: calc(100vh - 140px);
}

/* Header brand styling */
.header-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-logo-small {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.header-brand h1 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

/* Modern Step Indicator */
.step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1.5rem;
    background: var(--card-background);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    margin-bottom: 0;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    position: relative;
    opacity: 0.6;
    transition: var(--transition);
}

.step.active {
    opacity: 1;
}

.step.completed {
    opacity: 1;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 14px;
    left: calc(50% + 20px);
    width: calc(100% - 40px);
    height: 2px;
    background: var(--border-color);
    z-index: 1;
}

.step.completed:not(:last-child)::after {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
    z-index: 2;
    position: relative;
}

.step.active .step-number {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    transform: scale(1.1);
}

.step.completed .step-number {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--secondary-color);
}

.step.completed .step-number::before {
    content: '✓';
    font-size: 0.8rem;
    font-weight: 900;
}

.step-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
}

.step.active .step-label {
    color: var(--text-primary);
    font-weight: 700;
}

/* Confirmation header styling */
.confirmation-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.05));
    border-radius: var(--border-radius-lg);
    border: 2px solid rgba(255, 215, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.confirmation-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

.confirmation-logo {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.4);
    transition: var(--transition);
}

.confirmation-logo:hover {
    transform: scale(1.05) rotate(2deg);
}

.confirmation-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.confirmation-subtitle {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 25px;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

/* Enhanced Booking Steps */
.booking-step {
    display: none;
    animation: slideInRight 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 2rem 1.5rem;
    background: var(--background-color);
    min-height: 60vh;
}

.booking-step.active {
    display: block;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.booking-step h2 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-align: center;
    position: relative;
}

.booking-step h2::after {
    content: '';
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    display: block;
    margin: 0.75rem auto;
    border-radius: 2px;
}

/* Enhanced Service Selection */
.service-options {
    display: grid;
    gap: 1.25rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--card-background);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(255, 215, 0, 0.2);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(255, 165, 0, 0.04));
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.3);
    transform: translateY(-2px);
}

.service-card.selected::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.05));
    color: var(--primary-color);
    filter: grayscale(0.3);
    transition: var(--transition);
    margin: 0 auto 1.25rem;
    border: 2px solid rgba(255, 215, 0, 0.2);
}

.service-card:hover .service-icon,
.service-card.selected .service-icon {
    filter: grayscale(0);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
}

.service-price {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--secondary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
    transition: var(--transition);
}

.service-card:hover .service-price {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.4);
}

/* Enhanced Form Section */
.form-section {
    background: var(--card-background);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    position: relative;
    margin-top: 1rem;
}

.form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.input-group {
    margin-bottom: 2rem;
    position: relative;
}

.input-group:last-child {
    margin-bottom: 0;
}

.input-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
    position: relative;
}

.input-group label::after {
    content: '*';
    color: var(--accent-color);
    margin-left: 0.25rem;
    font-weight: 700;
}

/* Special styling for duration label - no asterisk needed */
.input-group:has(.duration-selector) label::after {
    display: none;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    background: var(--card-background);
    transition: var(--transition);
    font-family: inherit;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
    transform: translateY(-1px);
}

.input-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Enhanced Duration Selector */
.duration-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: var(--card-background);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem 1.25rem;
    transition: var(--transition);
    width: 100%;
    margin: 0;
}

.duration-selector:hover {
    border-color: var(--primary-color);
}

.duration-selector button {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--primary-color);
    background: var(--card-background);
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.duration-selector button:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: scale(1.05);
}

.duration-selector button:active {
    transform: scale(0.95);
}

.duration-selector button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

#durationDisplay {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    background: transparent;
    padding: 0.5rem;
    flex: 1;
    min-width: 80px;
    transition: transform 0.2s ease, color 0.2s ease;
}

/* Enhanced Booking Summary */
.booking-summary {
    margin-top: 1rem;
}

.summary-card {
    background: var(--card-background);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.summary-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
    justify-content: center;
}

.summary-card h3::before {
    content: '📋';
    font-size: 1.2rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1rem;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item span:first-child {
    font-weight: 600;
    color: var(--text-secondary);
}

.summary-item span:last-child {
    font-weight: 700;
    color: var(--text-primary);
}

.summary-item.total {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.05));
    margin: 1rem -2rem -2rem;
    padding: 1.5rem 2rem;
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
    border-bottom: none;
}

.summary-item.total span {
    color: var(--primary-color);
    font-weight: 800;
}

/* Enhanced Confirmation Header */
.confirmation-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.05));
    border-radius: var(--border-radius-lg);
    border: 2px solid rgba(255, 215, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.confirmation-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

.confirmation-logo {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.4);
    transition: var(--transition);
}

.confirmation-logo:hover {
    transform: scale(1.05) rotate(2deg);
}

.confirmation-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.confirmation-subtitle {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 25px;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

/* Bookings Screen Specific Styles */
#bookingScreen {
    padding-bottom: 160px; /* Space for both bottom nav (70px) and booking footer (90px) */
}

#bookingScreen .booking-content {
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
}

/* Booking Footer - Only show in booking screen */
.booking-footer {
    position: fixed;
    bottom: 70px; /* Position above bottom navigation */
    left: 0;
    right: 0;
    background: var(--card-background);
    border-top: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    display: flex;
    gap: 1rem;
    z-index: 1100; /* Higher than bottom nav (1000) */
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

/* Show booking footer when active */
.booking-footer.active {
    opacity: 1;
    visibility: visible;
}

.primary-btn, .secondary-btn {
    flex: 1;
    padding: 1rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.primary-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--secondary-color);
    border: none;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.secondary-btn {
    background: var(--card-background);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.secondary-btn:hover {
    border-color: var(--primary-color);
    background: #FFFEF7;
}

/* Profile Screen */
.profile-content {
    padding: 1.5rem;
    padding-bottom: 120px;
}

.profile-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

/* Add brand accent to profile header */
.profile-header::before {
    content: 'Den Flittige Bi Kunde';
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
    background: rgba(255, 215, 0, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.profile-avatar {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.profile-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.3);
}

.edit-avatar-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: var(--transition);
}

.edit-avatar-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.profile-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.profile-header p {
    color: var(--text-secondary);
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.profile-menu {
    background: var(--card-background);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    background: var(--background-color);
}

.menu-item.danger {
    color: #FF3B30;
}

.menu-item.debug {
    color: #007AFF;
}

.menu-item i:first-child {
    width: 20px;
    margin-right: 1rem;
    color: var(--text-secondary);
}

.menu-item.danger i:first-child {
    color: #FF3B30;
}

.menu-item.debug i:first-child {
    color: #007AFF;
}

.menu-item span {
    flex: 1;
    font-weight: 500;
}

.menu-item i:last-child {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card-background);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
    padding: 0.75rem 0;
    z-index:  1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

/* Add subtle brand accent to bottom nav */
.bottom-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary-color) 20%, 
        var(--accent-color) 50%, 
        var(--primary-color) 80%, 
        transparent 100%);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    color: var(--text-secondary);
    position: relative;
}

.nav-item.active {
    color: var(--primary-color);
    background: rgba(255, 215, 0, 0.1);
}

.nav-item.active::before {
    content: '';
    position: absolute;
    top: -8px;
    right: -2px;
    font-size: 0.7rem;
    animation: buzz 2s ease-in-out infinite;
}

@keyframes buzz {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    text-align: center;
    color: var(--secondary-color);
}

.loading-spinner .spinner {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.5rem;
    border: 4px solid rgba(51, 51, 51, 0.1);
    border-left: 4px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-spinner p {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.loading-spinner .loading-subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    z-index: 1001;
    pointer-events: none;
}

.toast {
    background: var(--card-background);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 0.5rem;
    box-shadow: var(--shadow-lg);
    animation: slideInDown 0.3s ease-out;
    pointer-events: auto;
    display: flex;
    align-items: center;
    position: relative;
    font-weight: 500;
}

.toast::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.toast.toast-success::before {
    background: #34C759;
}

.toast.toast-error::before {
    background: #FF3B30;
}

.toast.toast-warning::before {
    background: #FF9500;
}

.toast.toast-info::before {
    background: var(--primary-color);
}

.toast span {
    flex: 1;
    padding-left: 0.5rem;
}

.toast button {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.toast button:hover {
    color: var(--text-primary);
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Booking Summary Card */
.booking-summary {
    margin-bottom: 2rem;
}

.summary-card {
    background: var(--card-background);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.summary-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.summary-card h3::before {
    content: '';
    font-size: 1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item.total {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
    background: rgba(255, 215, 0, 0.1);
    margin: 0.5rem -1.5rem -1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
}

/* Activity List */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.activity-item {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.activity-item::before {
    content: '';
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-size: 0.8rem;
    opacity: 0.6;
}

.activity-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.activity-item h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.activity-item p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.activity-item .time {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Success Screen */
.success-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    text-align: center;
}

.success-animation {
    position: relative;
    margin-bottom: 2rem;
}

.success-checkmark {
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 2rem;
    margin: 0 auto;
    animation: successPulse 2s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.success-bee {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 1.5rem;
    animation: buzzAround 3s ease-in-out infinite;
    display: none; /* Hide the bee emoji */
}

@keyframes successPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes buzzAround {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(5px, -5px) rotate(-5deg); }
    50% { transform: translate(-5px, 5px) rotate(5deg); }
    75% { transform: translate(5px, 5px) rotate(-3deg); }
}

.success-content {
    background: var(--card-background);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}

.success-logo {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.3);
}

.success-content h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.success-message {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.success-details {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.success-contact {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.success-contact p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.phone-link {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--secondary-color);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
    font-size: 1.1rem;
}

.phone-link:hover {    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* Responsive Design */
@media (min-width: 768px) {
    .app-container {
        max-width: 480px;
        margin: 0 auto;
        box-shadow: var(--shadow-lg);
    }
    
    .action-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .service-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .profile-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .top-bar {
        padding: 1rem;
    }
    
    .quick-actions {
        padding: 1rem;
    }
    
    .booking-content {
        padding: 1rem;
        padding-bottom: 120px;
    }
    
    .profile-content {
        padding: 1rem;
        padding-bottom: 120px;
    }
    
    .booking-footer {
        padding: 1rem;
    }
    
    .action-grid {
        gap: 0.75rem;
    }
    
    .action-card {
        padding: 1rem;
    }
}

/* Brand text styling */
.brand-text {
    font-size: 0.9rem;
    color: var(--secondary-color) !important;
    font-weight: 600;
    text-align: center;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    margin-top: 1rem;
    backdrop-filter: blur(10px);
}

/* ========================================
   BOOKINGS SCREEN STYLES
   ======================================== */

/* Bookings Screen Layout */
.bookings-content {
    padding: 1rem;
    padding-bottom: 80px;
    max-width: 100%;
    overflow-x: hidden;
}

/* Calendar Section */
.calendar-section {
    margin-bottom: 2rem;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
}

.calendar-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.calendar-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--card-background);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.calendar-nav-btn:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.calendar-grid {
    background: var(--card-background);
    border-radius: var(--border-radius-lg);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}

.calendar-header-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.calendar-day-header {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 0.5rem 0;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
}

.calendar-day {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.calendar-day:hover {
    background: rgba(255, 215, 0, 0.1);
}

.calendar-day.other-month {
    color: var(--text-muted);
}

.calendar-day.today {
    background: var(--primary-color);
    color: var(--secondary-color);
    font-weight: 600;
}

.calendar-day.has-booking {
    background: rgba(255, 165, 0, 0.2);
    color: var(--accent-color);
    font-weight: 600;
}

.calendar-day.has-booking::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 50%;
}

.calendar-day.selected {
    background: var(--accent-color);
    color: white;
}

/* Bookings List Section */
.bookings-list-section {
    margin-bottom: 2rem;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.section-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.new-booking-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.new-booking-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.bookings-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.booking-item {
    display: flex;
    align-items: center;
    background: var(--card-background);
    padding: 1rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.booking-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.booking-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    margin-right: 1rem;
}

.booking-day {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.booking-month {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.booking-details {
    flex: 1;
    min-width: 0;
}

.booking-details h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
}

.booking-details p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0.25rem 0;
}

.booking-details i {
    width: 14px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.booking-status {
    display: flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 1rem;
    white-space: nowrap;
}

.booking-status.confirmed {
    background: rgba(34, 197, 94, 0.1);
    color: #16A34A;
}

.booking-status.pending {
    background: rgba(245, 158, 11, 0.1);
    color: #D97706;
}

.booking-status.cancelled {
    background: rgba(239, 68, 68, 0.1);
    color: #DC2626;
}

.booking-actions {
    display: flex;
    gap: 0.5rem;
}

.booking-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--background-color);
    color: var(--text-secondary);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.booking-action-btn:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: scale(1.05);
}

.booking-action-btn.cancel:hover {
    background: #FEE2E2;
    color: #DC2626;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    background: var(--card-background);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.empty-state-content i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.empty-state-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.empty-state-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Responsive Design for Bookings */
@media (max-width: 768px) {
    .bookings-content {
        padding: 0.75rem;
        padding-bottom: 80px;
    }
    
    .calendar-header h2 {
        font-size: 1.1rem;
    }
    
    .calendar-nav-btn {
        width: 36px;
        height: 36px;
    }
    
    .calendar-day {
        height: 36px;
        font-size: 0.8rem;
    }
    
    .booking-item {
        padding: 0.75rem;
    }
    
    .booking-date {
        min-width: 50px;
        margin-right: 0.75rem;
    }
    
    .booking-day {
        font-size: 1.25rem;
    }
    
    .booking-month {
        font-size: 0.65rem;
    }
    
    .booking-details h4 {
        font-size: 0.9rem;
    }
    
    .booking-details p {
        font-size: 0.8rem;
    }
    
    .booking-status {
        padding: 0.2rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .new-booking-btn {        align-self: stretch;
        justify-content: center;
    }
}

/* ========================================
   HISTORY SCREEN STYLES
   ======================================== */

/* History Screen Layout */
.history-content {
    padding: 1rem;
    padding-bottom: 80px;
    max-width: 100%;
    overflow-x: hidden;
}

/* History Stats Section */
.history-stats {
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--card-background);
    padding: 1rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.stat-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.stat-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
}

/* History Filters */
.history-filters {
    margin-bottom: 1.5rem;
}

.filter-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.search-box {
    position: relative;
    flex: 1;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.search-box input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    background: var(--card-background);
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

#historyFilter {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--card-background);
    color: var(--text-primary);
    font-size: 0.9rem;
    cursor: pointer;
    min-width: 140px;
}

.period-filter {
    display: flex;
    gap: 0.5rem;
}

.period-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    background: var(--card-background);
    color: var(--text-secondary);
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.period-btn:hover {
    background: var(--background-color);
}

.period-btn.active {
    background: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

/* History List */
.history-list-section {
    margin-bottom: 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.section-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.results-count {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.history-item {
    display: flex;
    align-items: center;
    background: var(--card-background);
    padding: 1rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.history-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.history-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    margin-right: 1rem;
}

.history-day {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.history-month {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.history-year {
    font-size: 0.6rem;
    color: var(--text-muted);
}

.history-details {
    flex: 1;
    min-width: 0;
}

.history-details h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
}

.history-details p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0.2rem 0;
}

.history-details i {
    width: 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.history-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-right: 1rem;
}

.price-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.history-status {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 1rem;
    white-space: nowrap;
}

.history-status.completed {
    background: rgba(34, 197, 94, 0.1);
    color: #16A34A;
}

.history-actions {
    display: flex;
    gap: 0.5rem;
}

.history-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: var(--background-color);
    color: var(--text-secondary);
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.8rem;
}

.history-action-btn:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: scale(1.05);
}

.load-more-section {
    text-align: center;
    margin-top: 2rem;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--card-background);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.load-more-btn:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

/* History Details Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--card-background);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.history-details-modal {
    max-width: 600px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.modal-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: var(--background-color);
    color: var(--text-secondary);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close-btn:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.modal-body {
    padding: 1.5rem;
}

.detail-section {
    margin-bottom: 1.5rem;
}

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--background-color);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.detail-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.detail-title {
    flex: 1;
}

.detail-title h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.detail-title p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.3rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.completed {
    background: rgba(34, 197, 94, 0.1);
    color: #16A34A;
}

.detail-section h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
}

.detail-section h4 i {
    color: var(--primary-color);
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item.total {
    font-weight: 600;
    border-top: 2px solid var(--primary-color);
    margin-top: 0.5rem;
    padding-top: 0.75rem;
}

.detail-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.detail-value {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
}

.task-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.task-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.task-list i {
    color: #16A34A;
    font-size: 0.8rem;
}

.detail-notes {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    background: var(--background-color);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin: 0;
}

.modal-footer {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    justify-content: flex-end;
}

/* Responsive Design for History */
@media (max-width: 768px) {
    .history-content {
        padding: 0.75rem;
        padding-bottom: 80px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .stat-card {
        padding: 0.75rem;
    }
    
    .filter-row {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .period-filter {
        justify-content: center;
    }
    
    .history-item {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1rem;
    }
    
    .history-date {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 0.5rem;
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .history-day {
        font-size: 1.25rem;
    }
    
    .history-price {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-right: 0;
    }
    
    .history-actions {
        justify-content: center;
    }
    
    .modal-content {
        margin: 0.5rem;
        max-height: calc(100vh - 1rem);
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 1rem;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-footer {
        flex-direction: column;
    }
}
/* Add this after the existing .google-login-btn styles (around line 341) */

.google-signup-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 24px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 16px;
}

.google-signup-btn:hover {
    background: #f8f9fa;
    border-color: #d0d0d0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.google-signup-btn i {
    color: #4285f4;
    font-size: 18px;
}

/* Optional: Style for the note under the Google signup button */
.google-signup-note {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-bottom: 20px;
    font-style: italic;
}

/* Style for the divider */
.divider {
    text-align: center;
    margin: 24px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
}

.divider span {
    background: white;
    padding: 0 16px;
    color: #666;
    font-size: 14px;
}
.signup-tittle {
    padding-top: 40px;
}
/* Forgot Password Screen Styles */
#forgotPasswordScreen {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
}

#forgotPasswordScreen .login-content {
    padding: 2rem 1rem;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
}

#forgotPasswordScreen .logo-section h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

#forgotPasswordScreen .logo-section p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

/* Password Reset Success Screen */
#passwordResetSuccessScreen {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem 1rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
}

#passwordResetSuccessScreen.active {
    display: flex; /* Show as flex when active */
}

#passwordResetSuccessScreen .success-container {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    display: block;
    min-height: auto;
}

#passwordResetSuccessScreen .success-animation {
    margin-bottom: 1.5rem;
}

#passwordResetSuccessScreen .success-checkmark {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4a4a4a, #3a3a3a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    animation: passwordResetSuccessPulse 1.5s ease-out;
}

#passwordResetSuccessScreen .success-checkmark i {
    color: white;
    font-size: 2rem;
}

@keyframes passwordResetSuccessPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

#passwordResetSuccessScreen .success-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

#passwordResetSuccessScreen .success-content h1 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
}

#passwordResetSuccessScreen .success-message {
    font-size: 1.1rem;
    color: #4a4a4a;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

#passwordResetSuccessScreen .success-details {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

#passwordResetSuccessScreen .success-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.primary-btn {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.secondary-btn {
    background: transparent;
    color: #666;
    border: 2px solid #ddd;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.secondary-btn:hover {
    border-color: #FFD700;
    color: #333;
    background: rgba(255, 215, 0, 0.1);
}

.success-contact {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.success-contact p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.phone-link {
    color: #4a4a4a;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.phone-link:hover {
    color: #3a3a3a;
}

/* Login Options for Forgot Password Link */
.login-options {
    text-align: center;
    margin-top: 1rem;
}

.login-options a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.login-options a:hover {
    color: #FFD700;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 480px) {
    .success-container {
        padding: 1.5rem;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    .primary-btn,
    .secondary-btn {
        width: 100%;
    }
    
    #forgotPasswordScreen .logo-section h2 {
        font-size: 1.3rem;
    }
    
    .success-content h1 {
        font-size: 1.5rem;
    }
}

/* Loading states */
.primary-btn:disabled,
.secondary-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.primary-btn:disabled:hover,
.secondary-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Form validation styles for password reset */
#forgotPasswordForm .input-group.error input {
    border-color: #e74c3c;
    background-color: #fff5f5;
}

#forgotPasswordForm .input-group.error label {
    color: #e74c3c;
}

/* Success animation for form submission */
.form-success {
    animation: formSuccess 0.5s ease-out;
}

@keyframes formSuccess {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}