/* Booking Engine Frontend Styles */

.be-booking-engine {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.be-booking-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.be-booking-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.be-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.be-step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #666;
    font-weight: bold;
    margin-bottom: 10px;
}

.be-step.active .be-step-number {
    background: #0073aa;
    color: white;
}

.be-step.completed .be-step-number {
    background: #46b450;
    color: white;
}

.be-step-label {
    display: block;
    font-size: 14px;
    color: #666;
}

.be-step.active .be-step-label {
    color: #0073aa;
    font-weight: bold;
}

.be-booking-form {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.be-step-content {
    display: none;
}

.be-step-content.active {
    display: block;
}

.be-step-content h3 {
    margin-top: 0;
    color: #333;
    font-size: 24px;
    margin-bottom: 25px;
}

.be-form-group {
    margin-bottom: 20px;
}

.be-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.be-form-group input[type="text"],
.be-form-group input[type="email"],
.be-form-group input[type="tel"],
.be-form-group input[type="number"],
.be-form-group input[type="date"],
.be-form-group select,
.be-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.be-form-group input:focus,
.be-form-group select:focus,
.be-form-group textarea:focus {
    outline: none;
    border-color: #0073aa;
}

.be-form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.be-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.be-btn-primary {
    background: #0073aa;
    color: white;
}

.be-btn-primary:hover {
    background: #005a87;
}

.be-btn-secondary {
    background: #666;
    color: white;
}

.be-btn-secondary:hover {
    background: #555;
}

.be-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.be-form-actions {
    display: flex;
    gap: 10px;
    margin-top: 30px;
    justify-content: space-between;
}

.be-price-summary {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.be-price-summary h4 {
    margin-top: 0;
    margin-bottom: 15px;
}

.be-price-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

.be-price-row:last-child {
    border-bottom: none;
}

.be-price-row.be-discount {
    color: #46b450;
}

.be-price-row.be-final {
    font-size: 18px;
    font-weight: bold;
    color: #0073aa;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 2px solid #0073aa;
}

#be-availability-display {
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
    margin-top: 10px;
}

.be-availability-item {
    padding: 8px;
    margin: 5px 0;
    background: white;
    border-radius: 4px;
}

.be-availability-item.no-slots {
    opacity: 0.5;
    color: #999;
}

.be-payment-methods {
    margin: 20px 0;
}

.be-payment-method {
    display: flex;
    align-items: center;
    padding: 15px;
    margin: 10px 0;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.be-payment-method:hover {
    border-color: #0073aa;
}

.be-payment-method input[type="radio"] {
    margin-right: 15px;
}

.be-payment-method input[type="radio"]:checked + label {
    font-weight: bold;
}

.be-payment-summary {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
}

.be-final-amount {
    font-size: 32px;
    font-weight: bold;
    color: #0073aa;
    margin-top: 10px;
}

.be-overview-section {
    margin-bottom: 25px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.be-overview-section h4 {
    margin-top: 0;
    color: #0073aa;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

.be-login-prompt {
    background: #fff3cd;
    border: 1px solid #ffc107;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* Auth Styles */
.be-auth-container {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.be-auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #e0e0e0;
}

.be-tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    transition: all 0.3s;
}

.be-tab-btn.active {
    color: #0073aa;
    border-bottom-color: #0073aa;
    font-weight: bold;
}

.be-auth-form {
    display: none;
}

.be-auth-form.active {
    display: block;
}

.be-social-login {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.be-btn-google {
    background: #4285f4;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.be-btn-google span {
    background: white;
    color: #4285f4;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.be-user-info {
    text-align: center;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .be-booking-steps {
        flex-direction: column;
        gap: 20px;
    }
    
    .be-booking-steps::before {
        display: none;
    }
    
    .be-form-actions {
        flex-direction: column;
    }
    
    .be-btn {
        width: 100%;
    }
}

