/* Import DM Sans Font */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

/* Dashboard - Modern Design System */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    color-scheme: light only;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #0f172a;
    background: #f8fafc;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Onboarding Banner Styles */
.onboarding-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 20px;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.15);
    transition: all 0.3s ease-out;
}

.onboarding-banner::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.banner-content {
    position: relative;
    z-index: 2;
}

.banner-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 16px;
}

.banner-text {
    flex: 1;
    min-width: 0; /* Prevents text overflow */
}

.banner-text h3.banner-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: white;
    line-height: 1.3;
    word-wrap: break-word;
}

.banner-text p.banner-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    margin: 0;
}

.banner-dismiss {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 6px;
    padding: 6px;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    position: absolute;
    right: 0;
}

.banner-dismiss:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.banner-dismiss i {
    width: 16px;
    height: 16px;
}

.banner-description {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 16px;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

.banner-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    white-space: nowrap;
}

.banner-btn.btn-primary {
    background: white;
    color: #667eea;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.banner-btn.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.banner-btn.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.banner-btn.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.banner-btn i {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.banner-progress {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 12px;
}

.progress-items {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.progress-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.progress-item.completed {
    color: #34d399;
}

.progress-item.completed i {
    color: #34d399;
}

.progress-item.pending i {
    color: rgba(255, 255, 255, 0.4);
}

.progress-item i {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Mobile Responsive Banner */
@media (max-width: 768px) {
    .onboarding-banner {
        padding: 12px;
        margin-bottom: 16px;
        border-radius: 8px;
    }

    .onboarding-banner::before {
        width: 150px;
        height: 150px;
        top: -25%;
        right: -10%;
    }

    .banner-header {
        margin-bottom: 10px;
        gap: 12px;
    }

    .banner-text h3.banner-title {
        font-size: 1.1rem;
        line-height: 1.2;
    }

    .banner-text p.banner-subtitle {
        font-size: 0.85rem;
    }

    .banner-description {
        font-size: 0.8rem;
        margin-bottom: 14px;
        line-height: 1.4;
    }

    .banner-actions {
        gap: 6px;
        margin-bottom: 14px;
    }

    .banner-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
        gap: 4px;
        flex: 1;
        min-width: 0;
        justify-content: center;
    }

    .banner-btn i {
        width: 12px;
        height: 12px;
    }

    .banner-progress {
        padding-top: 10px;
    }

    .progress-items {
        gap: 12px;
    }

    .progress-item {
        font-size: 0.75rem;
        gap: 4px;
    }

    .progress-item i {
        width: 12px;
        height: 12px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .onboarding-banner {
        padding: 14px;
        border-radius: 6px;
    }

    .banner-text h3.banner-title {
        font-size: 1rem;
    }

    .banner-text p.banner-subtitle {
        font-size: 0.8rem;
    }

    .banner-description {
        font-size: 0.75rem;
    }

    .banner-actions {
        flex-direction: column;
        gap: 8px;
    }

    .banner-btn {
        width: 100%;
        padding: 10px 12px;
        font-size: 0.8rem;
    }

    .progress-items {
        flex-direction: column;
        gap: 8px;
    }

    .progress-item {
        font-size: 0.7rem;
    }
}

/* Touch optimizations for mobile */
@media (max-width: 768px) {
    /* Better touch targets */
    .btn, .menu-item, .card-action, .action-item {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    /* Smooth scrolling for mobile */
    .dashboard-main {
        -webkit-overflow-scrolling: touch;
    }

    /* Reduce motion for users who prefer it */
    @media (prefers-reduced-motion: reduce) {
        * {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }
}

/* Dashboard Container */
.dashboard-container {
    display: flex;
    min-height: 100vh;
    background: #f8fafc;
}

/* Mobile Header */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: white;
    border-bottom: 1px solid #e2e8f0;
    z-index: 1001;
    padding: 0 1rem;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.mobile-menu-toggle {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle:hover {
    background: #f8fafc;
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}

.mobile-menu-toggle .menu-icon,
.mobile-menu-toggle .close-icon {
    position: absolute;
    width: 20px;
    height: 20px;
    color: #0f172a;
    transition: all 0.3s ease;
}

.mobile-menu-toggle .close-icon {
    opacity: 0;
    transform: rotate(180deg);
}

.mobile-menu-toggle.active .menu-icon {
    opacity: 0;
    transform: rotate(-180deg);
}

.mobile-menu-toggle.active .close-icon {
    opacity: 1;
    transform: rotate(0deg);
}

.mobile-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-brand .brand-icon {
    width: 24px;
    height: 24px;
    color: #2563eb;
}

.mobile-brand .brand-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.mobile-user-avatar {
    width: 36px;
    height: 36px;
    background: #eff6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-user-avatar:hover {
    background: #dbeafe;
}

.mobile-user-avatar:active {
    transform: scale(0.95);
}

.mobile-user-avatar i {
    width: 18px;
    height: 18px;
}

/* Mobile Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* Sidebar */
.dashboard-sidebar {
    width: 280px;
    background: white;
    border-right: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    height: 100dvh; /* Use dynamic viewport height for better mobile support */
    z-index: 1000;
    overscroll-behavior: contain;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-header {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

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

.brand-icon {
    width: 32px;
    height: 32px;
    color: #2563eb;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
}

/* Sidebar Menu */
.sidebar-menu {
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8rem;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    margin-bottom: 0.25rem;
}

.menu-item:hover {
    background: #f8fafc;
    color: #2563eb;
    border-left-color: #e2e8f0;
}

.menu-item.active {
    background: #eff6ff;
    color: #2563eb;
    border-left-color: #2563eb;
}

.menu-item i {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid #f1f5f9;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: #eff6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-name {
    font-weight: 600;
    color: #0f172a;
    font-size: 0.875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-email {
    font-size: 0.75rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    color: #64748b;
    text-decoration: none;
    font-size: 0.875rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.logout-btn:hover {
    background: #fef2f2;
    color: #dc2626;
}

/* Main Content */
.dashboard-main {
    flex: 1;
    margin-left: 280px;
    padding: 2rem;
    background: #f8fafc;
    min-height: 100vh;
}

/* Dashboard Header */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

/* Onboarding Banner */
.onboarding-banner {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    border-radius: 20px;
    padding: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.onboarding-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.3);
}

.onboarding-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

.onboarding-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.onboarding-icon {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.onboarding-banner:hover .onboarding-icon {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.3);
}

.onboarding-icon i {
    width: 44px;
    height: 44px;
    color: white;
}

.onboarding-text {
    flex: 1;
    min-width: 0;
}

.onboarding-text h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: white;
    line-height: 1.2;
}

.onboarding-text p {
    font-size: 1.1rem;
    margin-bottom: 1.75rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 600px;
}

.onboarding-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 0;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.step-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.step-number {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    color: white;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.onboarding-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
    flex-shrink: 0;
    min-width: 200px;
}

/* Primary action - Quick Setup Guide (white background) */
.onboarding-actions .btn-primary {
    background: #ffffff;
    color: #1f2937;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.onboarding-actions .btn-primary:hover {
    background: #f9fafb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.onboarding-actions .btn-primary i {
    color: #2563eb;
}

/* Secondary actions - Manual Setup (secondary button style) */
.onboarding-actions .btn-secondary.btn-large {
    background: rgba(107, 114, 128, 0.1);
    color: #ffffff;
    border: 1px solid rgba(107, 114, 128, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.onboarding-actions .btn-secondary.btn-large:hover {
    background: rgba(107, 114, 128, 0.15);
    color: #ffffff;
    align-self: center;
}

/* Skip button - text only style */
.onboarding-actions .btn:not(.btn-large) {
    background: transparent;
    color: #9ca3af;
    border: none;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    font-weight: 400;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: all 0.2s ease;
}

.onboarding-actions .btn:not(.btn-large):hover {
    color: #6b7280;
    text-decoration-color: #9ca3af;
    background: transparent;
    transform: none;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

.header-content h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.header-content p {
    color: #64748b;
    font-size: 1rem;
}

.header-actions {
    display: flex;
    gap: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
}

.btn i {
    width: 16px;
    height: 16px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.stat-icon.primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.stat-icon.success {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.stat-icon.warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.stat-icon.info {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.stat-icon i {
    width: 24px;
    height: 24px;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.25rem;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Cards */
.card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-header {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
}

.settings-card .card-header {
    align-items: center;
}

.card-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0f172a;
}

.card-action {
    color: #2563eb;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.card-action:hover {
    background: #eff6ff;
    color: #1d4ed8;
}

.card-content {
    padding: 1.5rem;
}

.chart-card .card-content {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
}

/* Chart Actions */
.chart-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chart-selector {
    padding: 0.5rem 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.875rem;
    background: white;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chart-selector:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: #64748b;
}

.empty-state i {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.empty-state p {
    font-size: 1rem;
    margin: 0;
}

/* Booking List */
.booking-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.booking-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.booking-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.booking-item.upcoming {
    border-left: 4px solid #2563eb;
}

.booking-item.new-booking {
    position: relative;
}

.booking-item.new-booking:hover {
    border-color: #d97706;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}

.new-booking-indicator {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 24px;
    height: 24px;
    background: #f59e0b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
    animation: pulse-new-booking 2s infinite;
}

.new-booking-indicator i {
    width: 10px;
    height: 10px;
}

@keyframes pulse-new-booking {
    0% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(245, 158, 11, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
    }
}

.booking-info {
    flex: 1;
}

.booking-client {
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.booking-service {
    font-size: 0.875rem;
    color: #64748b;
}

.booking-details {
    text-align: center;
    margin: 0 1rem;
}

.booking-date {
    font-size: 0.875rem;
    color: #0f172a;
    font-weight: 500;
}

.booking-time {
    font-size: 0.8rem;
    color: #64748b;
}

.booking-status {
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.status-pending {
    background: #fef3c7;
    color: #d97706;
}

.status-confirmed {
    background: #dcfce7;
    color: #16a34a;
}

.status-cancelled {
    background: #fee2e2;
    color: #dc2626;
}

.status-completed {
    background: #e0f2fe;
    color: #0891b2;
}

/* Action Grid */
.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.2s ease;
    background: white;
}

.action-item:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.action-item.highlight {
    border-color: #2563eb;
    background: #eff6ff;
}

.action-item.highlight:hover {
    background: #dbeafe;
}

.action-icon {
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    flex-shrink: 0;
}

.action-item.highlight .action-icon {
    background: #2563eb;
    color: white;
}

.action-content {
    flex: 1;
    min-width: 0;
}

.action-title {
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.action-description {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.4;
}

/* Responsive Design */
@media (min-width: 1440px) {
    /* Large desktop improvements */
    .onboarding-banner {
        padding: 3rem;
    }
    
    .onboarding-content {
        gap: 3rem;
    }
    
    .onboarding-text h3 {
        font-size: 2rem;
    }
    
    .onboarding-text p {
        font-size: 1.2rem;
    }
    
    .onboarding-steps {
        gap: 2rem;
    }
    
    .onboarding-actions {
        min-width: 220px;
    }
}

@media (max-width: 1024px) {
    .dashboard-sidebar {
        width: 240px;
    }
    
    .dashboard-main {
        margin-left: 240px;
        padding: 1.5rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    /* Onboarding Banner Tablet */
    .onboarding-banner {
        padding: 2rem;
    }
    
    .onboarding-content {
        gap: 2rem;
    }
    
    .onboarding-text h3 {
        font-size: 1.5rem;
    }
    
    .onboarding-text p {
        font-size: 1rem;
    }
    
    .onboarding-steps {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    
    .onboarding-actions {
        min-width: 180px;
    }
}

@media (max-width: 768px) {
    /* Show mobile header */
    .mobile-header {
        display: flex;
    }
    
    .banner-dismiss {
        position: relative;
    }

    .onboarding-actions {
        min-width: 180px;
    }

    .mobile-overlay {
        display: none;
    }

    .sidebar-header {
        display: none;
    }
    
    /* Hide desktop sidebar by default */
    .dashboard-sidebar {
        transform: translateX(-100%);
        width: 280px;
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        height: 100dvh; /* Use dynamic viewport height for better mobile support */
        z-index: 1000;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        overscroll-behavior: contain;
    }
    
    .dashboard-sidebar.active {
        transform: translateX(0);
    }
    
    /* Ensure logout button is visible and accessible on mobile */
    .sidebar-footer {
        background: #f8fafc;
        border-top: 2px solid #e2e8f0;
    }
    
    .logout-btn {
        border-radius: 8px;
        padding: 0.75rem 1rem;
        font-weight: 500;
        transition: all 0.2s ease;
    }
    
    .logout-btn:hover {
        background: #fecaca;
        color: #b91c1c;
    }
    
    .dashboard-main {
        margin-left: 0;
        padding: 1rem;
        padding-top: 80px; /* Account for mobile header */
        width: 100%;
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
        margin-bottom: 1.5rem;
    }
    
    .header-actions {
        width: 100%;
        justify-content: stretch;
    }
    
    .btn {
        flex: 1;
        justify-content: center;
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .stat-card {
        padding: 1.25rem;
    }
    
    .stat-value {
        font-size: 1.75rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .action-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .booking-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 0.875rem;
    }
    
    .booking-details {
        text-align: left;
        margin: 0;
    }
    
    .new-booking-indicator {
        top: -4px;
        right: -4px;
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
    
    .new-booking-indicator i {
        width: 8px;
        height: 8px;
    }
    
    /* Onboarding Banner Mobile */
    .onboarding-banner {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        border-radius: 16px;
    }
    
    .onboarding-content {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        align-items: center;
    }
    
    .onboarding-text {
        width: 100%;
        text-align: center;
    }
    
    .onboarding-text h3 {
        font-size: 1.375rem;
        margin-bottom: 0.75rem;
        line-height: 1.3;
    }
    
    .onboarding-text p {
        font-size: 1rem;
        margin-bottom: 1.25rem;
        line-height: 1.5;
        opacity: 0.95;
    }
    
    .onboarding-steps {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        max-width: 350px;
    }
    
    .step-item {
        background: rgba(255, 255, 255, 0.15);
        border-radius: 12px;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        justify-content: flex-start;
        text-align: left;
        gap: 0.875rem;
        font-size: 0.9rem;
        transition: all 0.3s ease;
    }
    
    .step-item:hover {
        background: rgba(255, 255, 255, 0.2);
    }
    
    .step-number {
        width: 26px;
        height: 26px;
        font-size: 0.8rem;
        background: rgba(255, 255, 255, 0.35);
        border: 2px solid rgba(255, 255, 255, 0.5);
    }
    
    .onboarding-actions {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
        max-width: 350px;
        margin-top: 0.5rem;
    }
    
    .onboarding-actions .btn {
        width: 100%;
        padding: 1rem;
        font-size: 0.95rem;
        justify-content: center;
        border-radius: 12px;
    }
    
    .onboarding-actions .btn-secondary {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Card optimizations */
    .card-header {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .card-content {
        padding: 1rem;
    }
    
    .chart-card .card-content {
        padding: 0.75rem 1rem 1rem 1rem;
    }
    
    /* Menu items touch optimization */
    .menu-item {
        padding: 1rem 1.5rem;
        font-size: 0.76rem;
    }
    
    .menu-item i {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 480px) {
    .dashboard-main {
        padding: 0.75rem;
        padding-top: 80px;
    }
    
    .dashboard-header {
        margin-bottom: 1rem;
    }
    
    .header-content h1 {
        font-size: 1.5rem;
    }
    
    .card-header {
        padding: 0.875rem;
    }
    
    .card-content {
        padding: 0.875rem;
    }
    
    .stat-card {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
    }
    
    .stat-icon i {
        width: 20px;
        height: 20px;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .action-item {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .action-icon {
        width: 36px;
        height: 36px;
    }

    nav#dashboardSidebar {
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        max-height: 100vh;
        scroll-behavior: smooth;
    }
    
    .sidebar-menu {
        padding: 5rem 0 0;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        max-height: calc(100vh - 5rem);
        max-height: calc(100dvh - 5rem);
        /* Improve scroll performance on mobile */
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        /* Prevent rubber band scrolling on iOS */
        overscroll-behavior-y: contain;
    }
    
    .menu-item {
        padding: 0.875rem 1rem;
        font-size: 0.72rem;
    }
    
    .menu-item i {
        width: 20px;
        height: 20px;
    }
    
    .onboarding-banner {
        padding: 1.25rem;
        border-radius: 14px;
        margin-bottom: 1.25rem;
    }
    
    .onboarding-content {
        gap: 1.25rem;
    }
    
    .onboarding-text h3 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .onboarding-text p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }
    
    .onboarding-steps {
        gap: 0.5rem;
        max-width: 100%;
    }
    
    .step-item {
        font-size: 0.85rem;
        gap: 0.75rem;
    }
    
    .step-number {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }
    
    .onboarding-actions {
        gap: 0.5rem;
        max-width: 100%;
        margin-top: 0.25rem;
    }
    
    .onboarding-actions .btn {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }
    
    .onboarding-actions .btn-secondary {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
    
    .mobile-header {
        padding: 0 0.75rem;
    }
    
    .mobile-brand .brand-text {
        font-size: 1rem;
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}


/* Setup Page Styles */
.setup-content {
    max-width: 1200px;
    margin: 0 auto;
}

.setup-form-section {
    width: 100%;
}

.booking-link-section {
    margin-bottom: 2rem;
}

.booking-link-section .booking-link-card {
    max-width: 1200px;
    margin: 0 auto;
}

/* Booking link card styles */
.booking-link-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    color: white;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: none;
}

.booking-link-header {
    padding: 2rem 2rem 1rem;
    text-align: center;
    position: relative;
}

.success-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.success-badge i {
    width: 16px;
    height: 16px;
}

/* Status Badge with Blinking Dot */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.status-badge.online {
    background: rgb(225 255 236);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: blink 5s infinite;
    flex-shrink: 0;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    25% {
        opacity: 0.7;
        box-shadow: 0 0 0 4px rgba(34, 197, 94, 0);
    }
    75% {
        opacity: 1;
        box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.3);
    }
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.booking-link-header h3 {
    color: white;
    margin: 0 0 0.75rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.booking-link-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.booking-link-content {
    background: white;
    padding: 2rem;
    border-radius: 12px 12px 0 0;
    margin-top: 1rem;
}

.link-section {
    margin-bottom: 2rem;
}

.link-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.75rem;
}

.link-input-container {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
}

.link-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}

.link-input-wrapper:focus-within {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.link-input-wrapper i {
    color: #667eea;
    width: 18px;
    height: 18px;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.booking-link-input {
    flex: 1;
    border: none;
    background: transparent;
    color: #374151;
    font-size: 0.875rem;
    outline: none;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.copy-button {
    background: #667eea;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.copy-button:hover {
    background: #5a67d8;
    transform: translateY(-1px);
}

.copy-button i {
    width: 16px;
    height: 16px;
}

.booking-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.sharing-options {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sharing-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.sharing-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #6b7280;
}

.share-btn:hover {
    background: #f8fafc;
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-1px);
}

.share-btn i {
    width: 18px;
    height: 18px;
}

.info-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.info-card .card-header {
    background: none;
    border: none;
    padding: 1.5rem 1.5rem 1rem;
}

.info-card .header-icon {
    width: 40px;
    height: 40px;
    background: #667eea;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.info-card .header-icon i {
    color: white;
    width: 20px;
    height: 20px;
}

.info-card h3 {
    color: #0f172a;
    margin: 0;
    font-size: 1.125rem;
}

.tips-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tip-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #475569;
}

.tip-item i {
    color: #10b981;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* Link display styles */
.link-display {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.link-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    color: white;
    font-size: 0.875rem;
    outline: none;
}

.link-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.copy-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 0.75rem 1rem;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Form row styles for compact layout */
@media (min-width: 768px) {
    .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        margin-bottom: 1rem;
    }

    .form-row.upload-row {
        grid-template-columns: 1fr;
    }

    .form-row .form-group {
        margin-bottom: 0;
    }
    
    .setup-form {
        margin: 0 auto;
    }
}

/* Compact file upload areas */
.file-upload-area.compact {
    min-height: 120px;
}

.file-upload-area.compact .file-upload-content {
    padding: 1rem;
}

.file-upload-area.compact .file-upload-content p {
    font-size: 0.875rem;
    margin: 0.5rem 0 0.25rem;
}

.file-upload-area.compact .file-upload-content i {
    width: 24px;
    height: 24px;
}

.setup-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: #0f172a;
    font-size: 0.875rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group small {
    color: #64748b;
    font-size: 0.75rem;
    line-height: 1.4;
}

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

.color-input-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.color-input-group input[type="color"] {
    width: 50px;
    height: 40px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    padding: 0;
    background: none;
}

.color-hex-input {
    flex: 1;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.8rem;
}

.slug-input-group {
    display: flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.slug-input-group:focus-within {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.slug-prefix {
    background: #f8fafc;
    color: #64748b;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-right: 1px solid #e2e8f0;
    white-space: nowrap;
}

.slug-input-group input {
    flex: 1;
    border: none;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    background: white;
    outline: none;
}

.slug-input-group input::placeholder {
    color: #9ca3af;
}

.slug-input-group.error {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.slug-input-group.error .slug-prefix {
    background-color: #fef2f2;
    color: #dc2626;
    border-right-color: #ef4444;
}

.slug-input-group.error input {
    background-color: #fef2f2;
}

/* Fixed notification styles */
.fixed-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 400px;
    z-index: 9999;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.fixed-notification.show {
    transform: translateX(0);
}

.fixed-notification.error {
    background: rgba(239, 68, 68, 0.95);
    color: white;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.fixed-notification.success {
    background: rgba(16, 185, 129, 0.95);
    color: white;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.fixed-notification i {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.fixed-notification .close-btn {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.fixed-notification .close-btn:hover {
    opacity: 1;
}

.fixed-notification .close-btn i {
    width: 18px;
    height: 18px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
    margin-top: 1rem;

}

.btn-full {
    width: 100%;
    justify-content: center;
}

.setup-description {
    margin-bottom: 1rem;
    color: #64748b;
    font-size: 0.875rem;
}

.link-container {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.link-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.875rem;
    background: #f8fafc;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.copy-btn {
    padding: 0.75rem 1rem;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: #1d4ed8;
}

.copy-btn i {
    width: 16px;
    height: 16px;
}

.setup-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.info-box {
    background: #f0f9ff;
    border: 1px solid #e0f2fe;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1rem;
}

.info-box i {
    width: 16px;
    height: 16px;
    color: #0891b2;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.info-box p {
    margin: 0;
    font-size: 0.875rem;
    color: #0c4a6e;
    line-height: 1.5;
}


.info-box a {
    color: #0284c7;
    text-decoration: none;
    font-weight: 500;
}

.info-box a:hover {
    text-decoration: underline;
}

.alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.alert-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.alert i {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Responsive setup page */
@media (max-width: 768px) {
    .setup-content {
        max-width: 100%;
    }
    
    .booking-link-section .booking-link-card {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .booking-link-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .booking-link-content {
        padding: 1.5rem;
    }
    
    .booking-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }
    
    .sharing-options {
        justify-content: center;
    }
    
    .link-input-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .copy-button {
        justify-content: center;
    }
    
    .form-row {
        display: block;
    }
    
    .form-row .form-group {
        margin-bottom: 1rem;
    }
    
    .form-row.upload-row .form-group {
        margin-bottom: 1rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .link-display {
        flex-direction: column;
    }
    
    .copy-btn {
        justify-content: center;
        border-radius: 0 0 8px 8px;
    }
    
    .link-input {
        border-radius: 8px 8px 0 0;
    }
    
    .file-upload-area.compact {
        min-height: 100px;
    }
    
    .gradient-card .card-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .gradient-card .header-content {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .setup-form {
        gap: 1rem;
    }
    
    .color-input-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .color-input-group input[type="color"] {
        width: 100%;
        height: 50px;
    }
}

/* File Upload Styles */
.file-upload-group {
    position: relative;
}

.file-upload-area {
    border: 2px dashed #e2e8f0;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #f8fafc;
    position: relative;
}

.file-upload-area:hover {
    border-color: #cbd5e1;
    background: #f1f5f9;
}

.file-upload-area.drag-over {
    border-color: #2563eb;
    background: #eff6ff;
}

.file-upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.file-upload-content i {
    width: 48px;
    height: 48px;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.file-upload-content p {
    color: #64748b;
    font-size: 1rem;
    margin: 0;
}

.upload-link {
    color: #2563eb;
    font-weight: 500;
    text-decoration: underline;
    cursor: pointer;
}

.upload-link:hover {
    color: #1d4ed8;
}

.file-upload-content small {
    color: #94a3b8;
    font-size: 0.875rem;
}

.file-upload-preview {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.file-upload-preview img {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
    border-radius: 6px;
}

.file-upload-actions {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: flex;
    gap: 0.5rem;
}

.btn-remove {
    width: 32px;
    height: 32px;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-remove:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.btn-remove i {
    width: 16px;
    height: 16px;
}

.upload-progress {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: #2563eb;
    transition: width 0.3s ease;
    border-radius: 4px;
}

.progress-text {
    font-size: 0.875rem;
    color: #64748b;
    text-align: center;
    display: block;
}

/* Responsive file upload */
@media (max-width: 768px) {
    .file-upload-area {
        padding: 1.5rem;
    }
    
    .file-upload-content i {
        width: 36px;
        height: 36px;
    }
    
    .file-upload-content p {
        font-size: 0.9rem;
    }
    
    .file-upload-preview {
        min-height: 120px;
    }
    
    .file-upload-preview img {
        max-height: 120px;
    }
}

@media (max-width: 480px) {
    .file-upload-area {
        padding: 1rem;
    }
    
    .file-upload-content i {
        width: 32px;
        height: 32px;
    }
    
    .file-upload-content p {
        font-size: 0.85rem;
    }
    
    .file-upload-preview {
        min-height: 100px;
    }
    
    .file-upload-preview img {
        max-height: 100px;
    }
}

/* Settings Page Styles */
.settings-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.settings-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.settings-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.header-with-icon {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    flex-shrink: 0;
}

.header-icon.warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.header-icon i {
    width: 24px;
    height: 24px;
}

.header-description {
    color: #64748b;
    font-size: 0.875rem;
    margin: 0;
    margin-top: 0.25rem;
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.settings-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.settings-form .form-group.full-width {
    grid-column: 1 / -1;
}

.settings-form .form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #0f172a;
    font-size: 0.875rem;
}

.settings-form .form-group label i {
    width: 16px;
    height: 16px;
    color: #2563eb;
}

.settings-form .form-group input,
.settings-form .form-group textarea,
.settings-form .form-group select {
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    background: white;
    font-family: inherit;
}

.settings-form .form-group input:focus,
.settings-form .form-group textarea:focus,
.settings-form .form-group select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.settings-form .form-group input::placeholder,
.settings-form .form-group textarea::placeholder {
    color: #9ca3af;
}

.settings-form .form-group small {
    color: #64748b;
    font-size: 0.75rem;
    line-height: 1.4;
    margin-top: 0.25rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.info-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.info-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #2563eb;
    flex-shrink: 0;
}

.info-icon i {
    width: 20px;
    height: 20px;
}

.info-content {
    flex: 1;
    min-width: 0;
}

.info-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    margin-bottom: 0.25rem;
}

.info-value {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
    word-break: break-word;
}

.password-requirements {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 0.5rem;
}

.requirements-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.requirements-header i {
    width: 16px;
    height: 16px;
    color: #2563eb;
}

.requirements-header h4 {
    margin: 0;
    color: #0f172a;
    font-size: 0.875rem;
    font-weight: 600;
}

.requirements-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #64748b;
}

.requirement-item i {
    width: 14px;
    height: 14px;
    color: #16a34a;
    flex-shrink: 0;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
    margin-top: 0.5rem;
}

.btn-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.25);
}

/* Alert styles */
.alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.alert-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.alert i {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Responsive settings page */
@media (max-width: 768px) {
    .settings-container {
        margin: 0;
    }
    
    .settings-card .card-header {
        padding: 1rem;
    }
    
    .settings-card .card-content {
        padding: 1rem;
    }
    
    .header-with-icon {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .header-icon {
        align-self: center;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .info-item {
        padding: 0.875rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .settings-card .card-header {
        padding: 0.875rem;
    }
    
    .settings-card .card-content {
        padding: 0.875rem;
    }
    
    .settings-form {
        gap: 1rem;
    }
    
    .info-item {
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .info-icon {
        width: 36px;
        height: 36px;
    }
    
    .info-icon i {
        width: 18px;
        height: 18px;
    }
    
    .header-icon {
        width: 40px;
        height: 40px;
    }
    
    .header-icon i {
        width: 20px;
        height: 20px;
    }
}

/* Services Page Styles */
.services-content {
    margin-top: 1.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.service-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card.inactive {
    opacity: 0.6;
    border-color: #d1d5db;
}

.service-card.inactive:hover {
    opacity: 0.8;
}

.service-header {
    padding: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.service-title h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.3;
}

.service-status {
    margin-top: 0.25rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.status-badge.active {
    background: #dcfce7;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.status-badge.inactive {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.service-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.action-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #64748b;
}

.action-btn:hover {
    background: #f8fafc;
    border-color: #2563eb;
    color: #2563eb;
}

.action-btn.delete:hover {
    background: #fef2f2;
    border-color: #dc2626;
    color: #dc2626;
}

.action-btn i {
    width: 16px;
    height: 16px;
}

.service-content {
    padding: 1.5rem;
}

.service-description {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0 0 1rem 0;
}

.service-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #374151;
}

.detail-item i {
    width: 16px;
    height: 16px;
    color: #2563eb;
}

/* Empty State */
.empty-services {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    margin-top: 2rem;
}

.empty-services .empty-state {
    text-align: center;
    max-width: 400px;
}

.empty-services .empty-state i {
    width: 64px;
    height: 64px;
    color: #9ca3af;
    margin-bottom: 1rem;
}

.empty-services .empty-state h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.empty-services .empty-state p {
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.empty-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1rem;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

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

.modal {
    background: white;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

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

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
}

.modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #64748b;
}

.modal-close:hover {
    background: #f8fafc;
    color: #0f172a;
}

.modal-close i {
    width: 18px;
    height: 18px;
}

.modal-content {
    padding: 1.5rem;
}

.modal-content .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.modal-content .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.modal-content .form-group.full-width {
    grid-column: 1 / -1;
}

.modal-content .form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #0f172a;
    font-size: 0.875rem;
}

.modal-content .form-group label i {
    width: 16px;
    height: 16px;
    color: #2563eb;
}

.modal-content .form-group input,
.modal-content .form-group textarea,
.modal-content .form-group select {
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    background: white;
    font-family: inherit;
}

.modal-content .form-group input:focus,
.modal-content .form-group textarea:focus,
.modal-content .form-group select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.modal-content .form-group small {
    color: #64748b;
    font-size: 0.75rem;
    line-height: 1.4;
}

/* Checkbox Styles */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
    font-size: 0.875rem;
    color: #374151;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    position: relative;
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    transition: all 0.2s ease;
    background: white;
    flex-shrink: 0;
}

.checkbox-custom::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: all 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: #2563eb;
    border-color: #2563eb;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    opacity: 1;
}

.checkbox-label:hover .checkbox-custom {
    border-color: #2563eb;
}

/* Modal Body Class */
body.modal-open {
    overflow: hidden;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-overlay {
        padding: 0.5rem;
    }
    
    .modal {
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-content {
        padding: 1rem;
    }
    
    .modal-content .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .modal-content .form-group {
        margin-bottom: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-header {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .service-actions {
        align-self: flex-end;
    }
    
    .service-content {
        padding: 1rem;
    }
    
    .service-details {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .empty-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .service-header {
        padding: 0.875rem;
    }
    
    .service-content {
        padding: 0.875rem;
    }
    
    .action-btn {
        width: 36px;
        height: 36px;
    }
    
    .action-btn i {
        width: 18px;
        height: 18px;
    }
    
    .modal-content .form-group input,
    .modal-content .form-group textarea {
        padding: 0.875rem;
    }
}

/* Warning Banner Styles */
.warning-banner {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.warning-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.warning-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.warning-icon i {
    width: 28px;
    height: 28px;
    color: white;
}

.warning-text {
    flex: 1;
    min-width: 0;
}

.warning-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: white;
}

.warning-text p {
    font-size: 1rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.warning-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* Booking Page Management Banner */
.management-banner {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.banner-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.banner-text {
    flex: 1;
    min-width: 0;
}

.banner-text strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.banner-text span {
    font-size: 0.85rem;
    opacity: 0.9;
}

.banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.banner-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.banner-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

.banner-btn.primary {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.banner-btn.primary:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Booking Page Empty State Improvements */
.no-services-available {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    padding: 2rem;
}

.no-services-available .empty-state {
    text-align: center;
    max-width: 500px;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.no-services-available .empty-state h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.75rem;
}

.no-services-available .empty-state p {
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1rem;
}

.contact-info-mini {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.contact-info-mini .contact-item {
    display: flex;
    justify-content: center;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #f8fafc;
    border-radius: 50px;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
}

.contact-link:hover {
    background: #f1f5f9;
    border-color: #2563eb;
    color: #2563eb;
    transform: translateY(-1px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .warning-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .warning-actions {
        justify-content: center;
    }
    
    .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        padding: 0 0.75rem;
    }
    
    .banner-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .banner-btn {
        justify-content: center;
        width: 100%;
    }
    
    .contact-info-mini {
        gap: 0.5rem;
    }
    
    .contact-link {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .warning-banner {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .warning-icon {
        width: 50px;
        height: 50px;
    }
    
    .warning-icon i {
        width: 24px;
        height: 24px;
    }
    
    .warning-text h3 {
        font-size: 1.125rem;
    }
    
    .warning-text p {
        font-size: 0.875rem;
    }
    
    .banner-content {
        padding: 0 0.5rem;
    }
    
    .contact-link {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* Toggle Switch Styles */
.toggle-group {
    margin-bottom: 1rem;
}

.toggle-label {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    user-select: none;
}

.toggle-label input[type="checkbox"] {
    display: none;
}

.toggle-switch {
    position: relative;
    width: 48px;
    height: 24px;
    background: #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.toggle-switch::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.toggle-label input[type="checkbox"]:checked + .toggle-switch {
    background: #2563eb;
}

.toggle-label input[type="checkbox"]:checked + .toggle-switch::before {
    transform: translateX(24px);
}

.toggle-content {
    flex: 1;
}

.toggle-content strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.25rem;
}

.toggle-content p {
    margin: 0;
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.4;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

/* Focus states for accessibility */
.toggle-label:focus-within .toggle-switch {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Hover states */
.toggle-label:hover .toggle-switch {
    background: #cbd5e1;
}

.toggle-label:hover input[type="checkbox"]:checked + .toggle-switch {
    background: #1d4ed8;
}

/* Template Selector Styles */
.template-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1rem 0;
}

.template-option {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.template-option:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.template-option.selected {
    border-color: #2563eb;
    background: #eff6ff;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.2);
}

.template-option.selected::before {
    content: '✓';
    position: absolute;
    top: 12px;
    right: 12px;
    background: #2563eb;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
}

.template-preview {
    height: 120px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.template-preview-header {
    padding: 1rem;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
}

.template-preview-header.template-modern {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.template-preview-header.template-girly {
    background: linear-gradient(135deg, #ec4899, #be185d);
}

.template-preview-header.template-classic {
    background: linear-gradient(135deg, #374151, #1f2937);
}

.preview-title {
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
}

.template-preview-content {
    padding: 1rem;
    background: white;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-elements {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.preview-button {
    padding: 0.5rem 1rem;
    background: #3b82f6;
    color: white;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

.template-girly .preview-button {
    background: #ec4899;
    border-radius: 25px;
}

.template-classic .preview-button {
    background: #374151;
    border-radius: 4px;
}

.preview-text {
    font-size: 0.8rem;
    color: #6b7280;
}

.template-info {
    padding: 1.25rem;
    border-top: 1px solid #f3f4f6;
}

.template-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.template-info p {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.font-preview {
    display: inline-block;
    font-size: 0.8rem;
    color: #9ca3af;
    font-style: italic;
    padding: 0.25rem 0.5rem;
    background: #f9fafb;
    border-radius: 4px;
}

/* Template-specific font styling in preview */
.template-option[data-template-id="1"] .preview-title,
.template-option[data-template-id="1"] .preview-button,
.template-option[data-template-id="1"] .preview-text {
    font-family: 'Inter', sans-serif;
}

.template-option[data-template-id="2"] .preview-title {
    font-family: 'Dancing Script', cursive;
    font-size: 1.2rem;
}

.template-option[data-template-id="2"] .preview-button,
.template-option[data-template-id="2"] .preview-text {
    font-family: 'Poppins', sans-serif;
}

.template-option[data-template-id="3"] .preview-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
}

.template-option[data-template-id="3"] .preview-button,
.template-option[data-template-id="3"] .preview-text {
    font-family: 'Crimson Text', serif;
}

/* Mobile responsiveness for template selector */
@media (max-width: 768px) {
    .template-selector {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .template-option {
        margin-bottom: 0.5rem;
    }
    
    .template-preview {
        height: 100px;
    }
    
    .template-preview-header {
        height: 50px;
        padding: 0.75rem;
    }
    
    .template-preview-content {
        height: 50px;
        padding: 0.75rem;
    }
    
    .preview-title {
        font-size: 0.9rem;
    }
    
    .preview-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
    }
}

/* Color Palette Selector Styles */
.color-selection-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.color-palette-section {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
}

.palette-header {
    margin-bottom: 1rem;
}

.palette-header h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.25rem;
}

.palette-header p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.color-palette-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.color-option {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.color-option:hover {
    border-color: #3b82f6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.color-option.selected {
    border-color: #2563eb;
    background: #eff6ff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.color-option.selected::after {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 8px;
    background: #2563eb;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.color-option {
    position: relative;
}

.color-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    flex-shrink: 0;
}

.color-info {
    flex: 1;
}

.color-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.25rem;
}

.color-hex {
    font-size: 0.75rem;
    color: #6b7280;
    font-family: 'Monaco', 'Menlo', monospace;
}

.color-preview-mini {
    display: flex;
    gap: 2px;
    flex-direction: column;
}

.preview-element {
    width: 24px;
    height: 6px;
    border-radius: 2px;
}

/* Color input group updates */
.color-input-group {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1rem;
}

.color-input-group input[type="color"] {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}

.color-input-group input[type="color"]:hover {
    border-color: #3b82f6;
    transform: scale(1.05);
}

.color-input-group::after {
    content: 'Custom Color';
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

/* Mobile responsiveness for color palette */
@media (max-width: 768px) {
    .color-selection-section {
        gap: 1rem;
    }
    
    .color-palette-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .color-option {
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .color-circle {
        width: 32px;
        height: 32px;
    }
    
    .color-name {
        font-size: 0.8rem;
    }
    
    .color-hex {
        font-size: 0.7rem;
    }
    
    .preview-element {
        width: 20px;
        height: 5px;
    }
}