/* Solo Consultation Booking Styles */

#scb-booking-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

#scb-booking-container h3 {
    color: #333;
    margin-bottom: 25px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
}

.scb-form-group {
    margin-bottom: 20px;
}

.scb-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.scb-form-group input,
.scb-form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.scb-form-group input:focus,
.scb-form-group select:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.scb-form-group input[type="date"] {
    cursor: pointer;
}

.scb-form-group select {
    cursor: pointer;
    background-color: #fff;
}

#scb-book-btn {
    width: 100%;
    background: linear-gradient(135deg, #0073aa 0%, #005a87 100%);
    color: white;
    padding: 15px 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

#scb-book-btn:hover {
    background: linear-gradient(135deg, #005a87 0%, #004666 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 115, 170, 0.3);
}

#scb-book-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#scb-loading {
    text-align: center;
    padding: 20px;
    font-size: 16px;
    color: #666;
    background: #f8f9fa;
    border-radius: 6px;
    margin-top: 15px;
}

/* Responsive design */
@media (max-width: 768px) {
    #scb-booking-container {
        margin: 10px;
        padding: 20px;
    }
    
    #scb-booking-container h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .scb-form-group input,
    .scb-form-group select {
        padding: 10px 12px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Custom styling for required fields */
.scb-form-group label:after {
    content: " *";
    color: #e74c3c;
}

.scb-form-group:nth-child(4) label:after {
    content: "";
}

/* Time slots styling */
#scb-time option {
    padding: 8px;
}

/* Success/Error messages */
.scb-message {
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: 500;
}

.scb-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.scb-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Loading animation */
#scb-loading {
    position: relative;
}

#scb-loading:before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #0073aa;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
    vertical-align: middle;
}

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

/* Custom date picker styling */
input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: invert(0.5);
    transition: filter 0.3s ease;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
    filter: invert(0.3);
}

/* Focus states for accessibility */
*:focus {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
}