/* Legends Barbershop Booking - Frontend Styles */

@import url('https://fonts.googleapis.com/css2?family=Rye&family=Montserrat:wght@300;400;500;600;700&display=swap');

.lbb-booking-wrapper {
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #222D35;
}

.lbb-booking-form {
    background: #ECE7DC;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(34, 45, 53, 0.1);
    overflow: hidden;
}

/* Steps */
.lbb-step {
    display: none;
    padding: 2rem;
}

.lbb-step.active {
    display: block;
}

.lbb-step h3 {
    margin: 0 0 1.5rem 0;
    font-size: 1.5rem;
    color: #222D35;
    text-align: center;
    font-family: 'Rye', serif;
    font-weight: 400;
}

/* Category Filter */
.lbb-category-filter {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.lbb-category-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #D6A354;
    border-radius: 8px;
    background: #fff;
    color: #D6A354;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    display: inline-block;
    min-width: 120px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.lbb-category-btn:hover {
    background: rgba(214, 163, 84, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(214, 163, 84, 0.2);
    text-decoration: none;
    color: #D6A354;
}

.lbb-category-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(214, 163, 84, 0.3);
}

.lbb-category-btn.active {
    background: #D6A354;
    color: #fff;
    box-shadow: 0 4px 12px rgba(214, 163, 84, 0.4);
    transform: translateY(-1px);
}

.lbb-category-btn.active:hover {
    background: #c19446;
    color: #fff;
}

/* Phone Input Styles */
.lbb-phone-group {
    position: relative;
}

.lbb-phone-input-wrapper {
    display: flex;
    border: 2px solid #D6A354;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s ease;
    background: #FFFFFF;
}

.lbb-phone-input-wrapper:focus-within {
    border-color: #222D35;
    box-shadow: 0 0 0 3px rgba(214, 163, 84, 0.1);
}

.lbb-country-select {
    position: relative;
    background: #ECE7DC;
    border-right: 1px solid #D6A354;
    min-width: 100px;
}

.lbb-selected-country {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
    font-size: 14px;
    font-weight: 600;
}

.lbb-selected-country:hover {
    background-color: rgba(214, 163, 84, 0.1);
}

.lbb-flag {
    font-size: 18px;
    line-height: 1;
}

.lbb-code {
    font-weight: 600;
    color: #222D35;
    font-size: 14px;
}

.lbb-arrow {
    font-size: 10px;
    color: #666;
    transition: transform 0.2s ease;
    margin-left: auto;
}

.lbb-country-select.active .lbb-arrow {
    transform: rotate(180deg);
}

.lbb-country-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #D6A354;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(34, 45, 53, 0.1);
    z-index: 1000;
    display: none;
    max-height: 250px;
    overflow-y: auto;
    margin-top: 4px;
}

.lbb-country-select.active .lbb-country-dropdown {
    display: block;
    animation: slideDown 0.2s ease;
}

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

.lbb-country-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #ECE7DC;
}

.lbb-country-option:hover {
    background-color: #ECE7DC;
}

.lbb-country-option:last-child {
    border-bottom: none;
}

.lbb-country-option .lbb-name {
    flex: 1;
    font-size: 14px;
    color: #222D35;
}

.lbb-country-option .lbb-code {
    color: #666;
    font-size: 13px;
}

.lbb-phone-input-wrapper input[type="tel"] {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 16px;
    font-size: 16px;
    background: transparent;
    color: #222D35;
    font-family: 'Montserrat', sans-serif;
}

.lbb-phone-input-wrapper input[type="tel"]::placeholder {
    color: #999;
    font-style: italic;
}

/* Account Registration Styles */
.lbb-account-section {
    margin: 32px 0;
    padding: 28px;
    background: linear-gradient(135deg, #FFFFFF 0%, #ECE7DC 100%);
    border-radius: 16px;
    border: 2px solid #D6A354;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(34, 45, 53, 0.05);
}

.lbb-account-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #D6A354 0%, #222D35 100%);
}

.lbb-account-header h4 {
    color: #222D35;
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.lbb-benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.lbb-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    transition: transform 0.2s ease;
}

.lbb-benefit:hover {
    transform: translateX(4px);
}

.lbb-benefit-icon {
    font-size: 24px;
    width: 32px;
    text-align: center;
    flex-shrink: 0;
}

.lbb-benefit span:last-child {
    color: #222D35;
    font-size: 15px;
    font-weight: 500;
}

.lbb-account-toggle {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 28px 0;
    padding: 20px;
    background: white;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.lbb-account-toggle:has(input:checked) {
    border-color: #D6A354;
    box-shadow: 0 4px 16px rgba(214, 163, 84, 0.15);
    background: linear-gradient(135deg, #FFFFFF 0%, rgba(214, 163, 84, 0.05) 100%);
}

/* Custom Switch */
.lbb-switch {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 28px;
    flex-shrink: 0;
}

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

.lbb-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 28px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.lbb-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked + .lbb-slider {
    background-color: #D6A354;
}

input:checked + .lbb-slider:before {
    transform: translateX(28px);
}

.lbb-account-label {
    font-weight: 600;
    color: #222D35;
    cursor: pointer;
    font-size: 16px;
    flex: 1;
}

.lbb-password-fields {
    margin-top: 24px;
    padding: 24px;
    background: white;
    border-radius: 12px;
    border: 2px solid #ECE7DC;
    animation: slideDown 0.3s ease;
    box-shadow: 0 2px 8px rgba(34, 45, 53, 0.05);
}

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

.lbb-field-note {
    color: #666;
    font-size: 13px;
    margin-top: 6px;
    display: block;
    font-style: italic;
}

/* Login Form Styles */
.lbb-login-wrapper {
    max-width: 520px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Montserrat', sans-serif;
}

.lbb-login-container {
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(34, 45, 53, 0.1);
    padding: 48px;
    border: 2px solid #ECE7DC;
    position: relative;
    overflow: hidden;
}

.lbb-login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #D6A354 0%, #222D35 100%);
}

.lbb-login-header {
    text-align: center;
    margin-bottom: 36px;
}

.lbb-login-header h2 {
    color: #222D35;
    margin: 0 0 12px 0;
    font-size: 32px;
    font-weight: 700;
    font-family: 'Rye', serif;
}

.lbb-login-header p {
    color: #666;
    margin: 0;
    font-size: 16px;
    font-weight: 400;
}

.lbb-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}

.lbb-input-icon {
    position: absolute;
    left: 18px;
    font-size: 20px;
    z-index: 1;
    color: #D6A354;
}

.lbb-login-form input[type="email"],
.lbb-login-form input[type="password"] {
    width: 100%;
    padding: 16px 20px 16px 56px;
    border: 2px solid #ECE7DC;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #FFFFFF;
    color: #222D35;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
}

.lbb-login-form input[type="email"]:focus,
.lbb-login-form input[type="password"]:focus {
    outline: none;
    border-color: #D6A354;
    box-shadow: 0 0 0 4px rgba(214, 163, 84, 0.1);
}

.lbb-password-toggle {
    position: absolute;
    right: 18px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s ease;
    z-index: 2;
    padding: 4px;
}

.lbb-password-toggle:hover {
    opacity: 1;
}

.lbb-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 24px 0 32px 0;
    gap: 16px;
    flex-wrap: wrap;
}

.lbb-remember-me {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    color: #222D35;
}

.lbb-remember-me input[type="checkbox"] {
    display: none;
}

.lbb-checkmark {
    position: relative;
    width: 20px;
    height: 20px;
    border: 2px solid #D6A354;
    border-radius: 6px;
    transition: all 0.2s ease;
    background: white;
    flex-shrink: 0;
}

.lbb-remember-me input:checked + .lbb-checkmark {
    background-color: #D6A354;
    border-color: #D6A354;
}

.lbb-remember-me input:checked + .lbb-checkmark::after {
    content: '✓';
    position: absolute;
    left: 3px;
    top: -1px;
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.lbb-forgot-password {
    color: #D6A354;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.lbb-forgot-password:hover {
    color: #222D35;
    text-decoration: underline;
}

.lbb-btn-login {
    width: 100%;
    background: linear-gradient(135deg, #D6A354 0%, #222D35 100%);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lbb-btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(214, 163, 84, 0.4);
}

.lbb-btn-login:active {
    transform: translateY(0);
}

.lbb-btn-loading {
    animation: spin 1s linear infinite;
    font-size: 16px;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.lbb-login-footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid #ECE7DC;
}

.lbb-login-footer p {
    color: #666;
    margin: 0 0 24px 0;
    font-size: 15px;
}

.lbb-login-footer strong {
    color: #D6A354;
    font-weight: 600;
}

.lbb-benefits-preview h4 {
    color: #222D35;
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: 600;
}

.lbb-benefits-mini {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.lbb-benefits-mini li {
    color: #222D35;
    font-size: 14px;
    text-align: left;
    padding: 8px 0;
    border-left: 3px solid #D6A354;
    padding-left: 12px;
    background: rgba(214, 163, 84, 0.05);
    border-radius: 0 6px 6px 0;
}

.lbb-login-success {
    text-align: center;
    padding: 48px;
    background: linear-gradient(135deg, #D6A354 0%, #222D35 100%);
    color: white;
    border-radius: 20px;
    margin: 20px 0;
    box-shadow: 0 8px 24px rgba(214, 163, 84, 0.3);
}

.lbb-login-success h3 {
    margin: 0 0 20px 0;
    font-size: 28px;
    font-family: 'Rye', serif;
}

.lbb-login-success a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.lbb-login-success a:hover {
    color: white;
}

/* Login Alert Messages */
.lbb-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 8px;
    margin: 16px 0;
    font-weight: 500;
    animation: fadeInUp 0.3s ease;
}

.lbb-alert-success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    border: 1px solid #c3e6cb;
}

.lbb-alert-error {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.lbb-alert-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.lbb-alert-message {
    flex: 1;
}

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

/* Responsive Design for New Components */
@media (max-width: 768px) {
    .lbb-login-container {
        padding: 32px 24px;
    }
    
    .lbb-login-header h2 {
        font-size: 28px;
    }
    
    .lbb-benefits-list,
    .lbb-benefits-mini {
        grid-template-columns: 1fr;
    }
    
    .lbb-form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .lbb-account-toggle {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .lbb-country-dropdown {
        max-height: 200px;
    }
}

/* Customer Dashboard Styles */
.lbb-dashboard-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Montserrat', sans-serif;
}

.lbb-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #D6A354 0%, #222D35 100%);
    color: white;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(214, 163, 84, 0.3);
}

.lbb-welcome-section h2 {
    margin: 0 0 8px 0;
    font-size: 32px;
    font-family: 'Rye', serif;
}

.lbb-dashboard-subtitle {
    margin: 0;
    opacity: 0.9;
    font-size: 16px;
}

.lbb-loyalty-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.lbb-loyalty-vip { border: 2px solid #FFD700; }
.lbb-loyalty-loyal { border: 2px solid #FFA500; }
.lbb-loyalty-regular { border: 2px solid #32CD32; }
.lbb-loyalty-new { border: 2px solid #87CEEB; }

.lbb-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.lbb-stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(34, 45, 53, 0.1);
    border: 1px solid #ECE7DC;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lbb-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(214, 163, 84, 0.2);
}

.lbb-stat-icon {
    font-size: 36px;
    flex-shrink: 0;
}

.lbb-stat-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: #D6A354;
    margin: 0 0 4px 0;
}

.lbb-stat-content p {
    margin: 0;
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.lbb-quick-actions {
    margin: 40px 0;
    padding: 24px;
    background: #ECE7DC;
    border-radius: 12px;
}

.lbb-quick-actions h3 {
    margin: 0 0 20px 0;
    color: #222D35;
    font-size: 20px;
}

.lbb-action-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.lbb-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
}

.lbb-btn-primary {
    background: linear-gradient(135deg, #D6A354 0%, #222D35 100%);
    color: white;
}

.lbb-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(214, 163, 84, 0.4);
}

.lbb-btn-secondary {
    background: white;
    color: #222D35;
    border: 2px solid #D6A354;
}

.lbb-btn-secondary:hover {
    background: #D6A354;
    color: white;
}

.lbb-btn-outline {
    background: transparent;
    color: #666;
    border: 1px solid #ddd;
}

.lbb-btn-small {
    padding: 8px 16px;
    font-size: 13px;
}

.lbb-btn-danger {
    background: #dc3545;
    color: white;
}

.lbb-btn-danger:hover {
    background: #c82333;
}

.lbb-bookings-section {
    margin: 40px 0;
}

.lbb-bookings-section h3 {
    margin: 0 0 24px 0;
    color: #222D35;
    font-size: 24px;
}

.lbb-empty-bookings {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #D6A354;
}

.lbb-empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.lbb-empty-bookings h4 {
    color: #222D35;
    margin: 0 0 16px 0;
    font-size: 24px;
}

.lbb-booking-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(34, 45, 53, 0.1);
    border: 1px solid #ECE7DC;
    transition: all 0.2s ease;
}

.lbb-booking-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(34, 45, 53, 0.15);
}

.lbb-booking-card.upcoming {
    border-left: 4px solid #28a745;
}

.lbb-booking-card.past {
    border-left: 4px solid #6c757d;
}

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

.lbb-booking-service h4 {
    margin: 0 0 4px 0;
    color: #222D35;
    font-size: 18px;
}

.lbb-booking-staff {
    color: #666;
    font-size: 14px;
}

.lbb-status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending { background: #fff3cd; color: #856404; }
.status-confirmed { background: #d4edda; color: #155724; }
.status-cancelled { background: #f8d7da; color: #721c24; }
.status-completed { background: #d1ecf1; color: #0c5460; }

.lbb-booking-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.lbb-booking-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.lbb-booking-info span {
    font-size: 14px;
    color: #666;
    white-space: nowrap;
}

.lbb-booking-actions {
    display: flex;
    gap: 8px;
}

.lbb-booking-notes {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #ECE7DC;
    font-size: 14px;
    color: #666;
}

.lbb-profile-section {
    margin: 40px 0;
}

.lbb-profile-section h3 {
    margin: 0 0 24px 0;
    color: #222D35;
    font-size: 24px;
}

.lbb-profile-card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 12px rgba(34, 45, 53, 0.1);
    border: 1px solid #ECE7DC;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
}

.lbb-profile-info {
    flex: 1;
}

.lbb-profile-field {
    display: flex;
    margin-bottom: 16px;
    gap: 16px;
}

.lbb-profile-field label {
    font-weight: 600;
    color: #222D35;
    min-width: 120px;
}

.lbb-profile-field span {
    color: #666;
}

.lbb-dashboard-login-required,
.lbb-dashboard-error {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(34, 45, 53, 0.1);
    border: 1px solid #ECE7DC;
}

.lbb-dashboard-login-required h3,
.lbb-dashboard-error h3 {
    color: #222D35;
    margin: 0 0 16px 0;
    font-size: 24px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .lbb-dashboard-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .lbb-welcome-section h2 {
        font-size: 24px;
    }
    
    .lbb-stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .lbb-booking-header {
        flex-direction: column;
        gap: 12px;
    }
    
    .lbb-booking-details {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .lbb-booking-info {
        flex-direction: column;
        gap: 8px;
    }
    
    .lbb-profile-card {
        flex-direction: column;
        gap: 20px;
    }
    
    .lbb-action-buttons {
        flex-direction: column;
    }
}

/* Service Selection */
.lbb-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.lbb-service-card {
    border: 2px solid #D6A354;
    border-radius: 8px;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.lbb-service-card:hover {
    border-color: #D6A354;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(214, 163, 84, 0.2);
}

.lbb-service-card.selected {
    border-color: #D6A354;
    background-color: rgba(214, 163, 84, 0.1);
}

.lbb-service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.lbb-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.lbb-service-card:hover .lbb-service-image img {
    transform: scale(1.05);
}

.lbb-service-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.lbb-service-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    color: #222D35;
    font-family: 'Rye', serif;
    font-weight: 400;
}

.lbb-service-card h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    color: #222D35;
    font-family: 'Rye', serif;
    font-weight: 400;
}

.lbb-service-description {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.lbb-service-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    margin-top: auto;
}

.lbb-duration {
    background: #ecf0f1;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #7f8c8d;
}

.lbb-price {
    font-weight: 600;
    font-size: 1.1rem;
    color: #D6A354;
}

.lbb-sub-services {
    margin-top: 1rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid #eee;
}

.lbb-sub-services h5 {
    margin: 0 0 0.75rem 0;
    font-size: 1rem;
    color: #555;
    font-family: 'Rye', serif;
    font-weight: 400;
}

.lbb-sub-service-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
}

.lbb-sub-service-option:hover {
    background-color: #f8f9fa;
}

.lbb-sub-service-option input[type="radio"] {
    margin-right: 0.5rem;
}

.lbb-sub-price {
    font-weight: 600;
    color: #D6A354;
}

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

.lbb-staff-card {
    border: 2px solid #D6A354;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
}

.lbb-staff-card:hover {
    border-color: #D6A354;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(214, 163, 84, 0.2);
}

.lbb-staff-card.selected {
    border-color: #D6A354;
    background-color: rgba(214, 163, 84, 0.1);
}

.lbb-staff-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
}

.lbb-staff-card h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    color: #222D35;
    font-family: 'Rye', serif;
    font-weight: 400;
}

.lbb-staff-bio {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Date & Time Selection */
.lbb-datetime-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Custom Calendar */
.lbb-custom-calendar {
    background: #fff;
    border: 2px solid #D6A354;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(214, 163, 84, 0.2);
}

.lbb-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #eee;
}

.lbb-calendar-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 400;
    color: #222D35;
    font-family: 'Rye', serif;
}

.lbb-calendar-nav {
    background: #D6A354;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lbb-calendar-nav:hover {
    background: #c19446;
}

.lbb-calendar-nav:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
}

.lbb-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0;
    margin-bottom: 0.5rem;
}

.lbb-calendar-weekdays > div {
    text-align: center;
    font-weight: 600;
    color: #7f8c8d;
    font-size: 0.9rem;
    padding: 0.5rem 0;
}

.lbb-calendar-dates {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.lbb-calendar-date {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background: #fff;
    border: 1px solid transparent;
    position: relative;
}

.lbb-calendar-date:hover:not(.disabled):not(.outside-month) {
    background: rgba(214, 163, 84, 0.1);
    border-color: #D6A354;
}

.lbb-calendar-date.today {
    background: #ecf0f1;
    font-weight: 600;
    border-color: #95a5a6;
}

.lbb-calendar-date.selected {
    background: #D6A354;
    color: white;
    font-weight: 600;
}

.lbb-calendar-date.disabled {
    color: #bdc3c7;
    cursor: not-allowed;
    background: #f8f9fa;
}

.lbb-calendar-date.outside-month {
    color: #d5d8dc;
    cursor: default;
}

.lbb-calendar-date.available {
    position: relative;
}

.lbb-availability-indicator {
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: #D6A354;
    border-radius: 2px;
    opacity: 0.8;
}

.lbb-calendar-date.available:hover .lbb-availability-indicator {
    background: #c19446;
    opacity: 1;
}

.lbb-calendar-date.selected .lbb-availability-indicator {
    background: rgba(255, 255, 255, 0.8);
}

.lbb-calendar-date.today .lbb-availability-indicator {
    background: #D6A354;
    opacity: 1;
}

.lbb-availability-count {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: #222D35;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.lbb-calendar-date.selected .lbb-availability-count {
    background: #D6A354;
}

.lbb-times-container h4 {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    color: #555;
    font-family: 'Rye', serif;
    font-weight: 400;
}

.lbb-times-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.5rem;
}

.lbb-time-slot {
    padding: 0.75rem 0.5rem;
    border: 2px solid #e1e8ed;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    background: #fff;
}

.lbb-time-slot:hover {
    border-color: #D6A354;
    background-color: rgba(214, 163, 84, 0.1);
}

.lbb-time-slot.selected {
    border-color: #D6A354;
    background-color: #D6A354;
    color: #fff;
}

.lbb-time-slot.disabled {
    background-color: #f8f9fa;
    color: #bdc3c7;
    cursor: not-allowed;
    border-color: #ecf0f1;
}

.lbb-time-slot-booked {
    background-color: #f8f9fa;
    color: #999;
    cursor: not-allowed !important;
    border-color: #ecf0f1;
    position: relative;
    opacity: 0.6;
}

.lbb-time-slot-booked:hover {
    border-color: #ecf0f1 !important;
    background-color: #f8f9fa !important;
}

.lbb-booked-label {
    display: block;
    font-size: 0.7rem;
    color: #e74c3c;
    margin-top: 0.2rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Customer Form */
.lbb-customer-form {
    margin-bottom: 2rem;
}

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

.lbb-form-group {
    margin-bottom: 1rem;
}

.lbb-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #555;
}

.lbb-form-group input,
.lbb-form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e1e8ed;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.lbb-form-group input:focus,
.lbb-form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.lbb-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Booking Summary */
.lbb-booking-summary {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.lbb-summary-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #dee2e6;
}

.lbb-summary-section:last-child {
    border-bottom: none;
}

.lbb-summary-section h4 {
    margin: 0;
    font-size: 1rem;
    color: #555;
    font-weight: 600;
}

.lbb-summary-section p {
    margin: 0;
    font-weight: 500;
    color: #2c3e50;
}

.lbb-total-price {
    font-size: 1.2rem !important;
    color: #D6A354 !important;
    font-weight: 700 !important;
}

/* Navigation */
.lbb-step-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.lbb-btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.lbb-btn-prev {
    background: #95a5a6;
    color: #fff;
}

.lbb-btn-prev:hover {
    background: #7f8c8d;
}

.lbb-btn-next,
.lbb-btn-submit {
    background: #D6A354;
    color: #fff;
    margin-left: auto;
}

.lbb-btn-next:hover,
.lbb-btn-submit:hover {
    background: #c19446;
}

.lbb-btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
}

.lbb-btn-submit {
    background: #D6A354;
}

.lbb-btn-submit:hover {
    background: #c19446;
}

/* Success Message */
.lbb-success-message {
    text-align: center;
    padding: 3rem 2rem;
}

.lbb-success-content h3 {
    color: #D6A354;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-family: 'Rye', serif;
    font-weight: 400;
}

.lbb-success-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
}

/* Loading Spinner */
.lbb-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lbb-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: lbb-spin 1s linear infinite;
}

@keyframes lbb-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .lbb-booking-wrapper {
        margin: 0 1rem;
    }
    
    .lbb-step {
        padding: 1.5rem;
    }
    
    .lbb-category-filter {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
        justify-content: center;
    }
    
    .lbb-category-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        min-width: 100px;
        flex: 0 0 auto;
    }
    
    .lbb-services-grid,
    .lbb-staff-grid {
        grid-template-columns: 1fr;
    }
    
    .lbb-datetime-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .lbb-custom-calendar {
        padding: 0.75rem;
    }
    
    .lbb-calendar-nav {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .lbb-calendar-title {
        font-size: 1rem;
    }
    
    .lbb-calendar-date {
        font-size: 0.85rem;
    }
    
    .lbb-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .lbb-times-grid {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    }
    
    .lbb-step-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .lbb-btn-next,
    .lbb-btn-submit {
        margin-left: 0;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .lbb-step h3 {
        font-size: 1.25rem;
    }
    
    .lbb-service-card .lbb-service-content {
        padding: 1rem;
    }
    
    .lbb-service-image {
        height: 150px;
    }
    
    .lbb-staff-card {
        padding: 1rem;
    }
    
    .lbb-times-grid {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    }
}

/* Logged In Notice */
.lbb-logged-in-notice {
    background: #D6A354;
    color: #222D35;
    padding: 1rem 1.5rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.lbb-logged-in-notice .lbb-user-icon {
    font-size: 1.5rem;
}

/* Profile Input Styling */
.lbb-profile-input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #D6A354;
    border-radius: 4px;
    font-size: 1rem;
}

.lbb-profile-field {
    margin-bottom: 1rem;
}

.lbb-profile-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #222D35;
}

.lbb-profile-display {
    display: inline-block;
    color: #555;
}


/* Profile Field Input Improvements */
.lbb-profile-field input.lbb-profile-input {
    flex: 1;
    padding: 8px 12px;
    border: 2px solid #D6A354;
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    background: #fff;
    transition: border-color 0.3s ease;
}

.lbb-profile-field input.lbb-profile-input:focus {
    outline: none;
    border-color: #222D35;
    box-shadow: 0 0 0 3px rgba(214, 163, 84, 0.2);
}

.lbb-profile-field input.lbb-profile-input[readonly] {
    background: #f5f5f5;
    cursor: not-allowed;
    border-color: #ddd;
}

.lbb-profile-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.lbb-profile-actions .lbb-btn {
    flex: 1;
}

/* Floating Next Button for Step 1 */
.lbb-step-1 .lbb-step-navigation {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    padding: 16px 20px;
    box-shadow: 0 -4px 20px rgba(34, 45, 53, 0.15);
    z-index: 100;
    margin: 0;
    border-top: 2px solid #D6A354;
    backdrop-filter: blur(10px);
}

.lbb-step-1 .lbb-btn-next {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: block;
    padding: 16px 24px;
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #D6A354 0%, #222D35 100%);
    color: white;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(214, 163, 84, 0.4);
    transition: all 0.3s ease;
    text-transform: none;
}

.lbb-step-1 .lbb-btn-next:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(214, 163, 84, 0.5);
}

.lbb-step-1 .lbb-btn-next:disabled {
    background: #bdc3c7;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Add padding to step 1 content to prevent overlap with fixed button */
.lbb-step-1 {
    padding-bottom: 100px;
}

/* Hide the previous button on step 1 */
.lbb-step-1 .lbb-btn-prev {
    display: none;
}

@media (max-width: 768px) {
    .lbb-step-1 .lbb-step-navigation {
        padding: 12px 16px;
    }
    
    .lbb-step-1 .lbb-btn-next {
        font-size: 1rem;
        padding: 14px 20px;
    }
    
    .lbb-step-1 {
        padding-bottom: 90px;
    }
}
