/* Advanced Booking System - Public Styles */

.abs-booking-form-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
}

.abs-booking-form {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.abs-form-step {
    display: none;
}

.abs-form-step.abs-active {
    display: block;
}

.abs-form-step h3 {
    margin: 0 0 25px 0;
    font-size: 24px;
    color: #333;
    border-bottom: 2px solid #2271b1;
    padding-bottom: 10px;
}

/* Services */
.abs-services {
    display: grid;
    gap: 15px;
    margin-bottom: 20px;
}

.abs-service-option {
    position: relative;
}

.abs-service-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.abs-service-option label {
    display: block;
    padding: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.abs-service-option input[type="radio"]:checked + label {
    border-color: #2271b1;
    background: #f0f6fc;
}

.abs-service-option label:hover {
    border-color: #2271b1;
    box-shadow: 0 2px 8px rgba(34, 113, 177, 0.1);
}

.abs-service-option strong {
    display: block;
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}

.abs-service-duration {
    display: inline-block;
    margin-right: 15px;
    color: #666;
    font-size: 14px;
}

.abs-service-price {
    display: inline-block;
    color: #2271b1;
    font-weight: bold;
    font-size: 16px;
}

.abs-service-description {
    margin: 10px 0 0 0;
    color: #666;
    font-size: 14px;
}

/* Date Picker */
.abs-date-picker {
    margin-bottom: 25px;
}

.abs-date-picker label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.abs-date-picker input[type="date"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

/* Time Slots */
.abs-time-slots {
    margin: 25px 0;
}

.abs-select-date-first {
    text-align: center;
    color: #666;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 4px;
}

.abs-time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

.abs-time-slot {
    position: relative;
}

.abs-time-slot input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.abs-time-slot label {
    display: block;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.abs-time-slot input[type="radio"]:checked + label {
    background: #2271b1;
    color: white;
    border-color: #2271b1;
}

.abs-time-slot label:hover {
    border-color: #2271b1;
}

/* Form Groups */
.abs-form-group {
    margin-bottom: 20px;
}

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

.abs-form-group input[type="text"],
.abs-form-group input[type="email"],
.abs-form-group input[type="tel"],
.abs-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
}

.abs-form-group textarea {
    resize: vertical;
}

/* Booking Summary */
.abs-booking-summary {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 6px;
    margin: 25px 0;
}

.abs-booking-summary h4 {
    margin: 0 0 15px 0;
    color: #333;
}

.abs-summary-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.abs-summary-item:last-child {
    border-bottom: none;
}

.abs-summary-label {
    font-weight: 600;
    color: #666;
}

.abs-summary-value {
    color: #333;
}

/* Buttons */
.abs-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.abs-btn-primary {
    background: #2271b1;
    color: white;
}

.abs-btn-primary:hover {
    background: #135e96;
}

.abs-btn-danger {
    background: #dc3232;
    color: white;
}

.abs-btn-danger:hover {
    background: #b32d2d;
}

/* Form Navigation */
.abs-form-navigation {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    justify-content: space-between;
}

.abs-next-step {
    margin-left: auto;
}

/* Success Message */
.abs-success-message {
    background: #f0f6fc;
    border: 2px solid #46b450;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
}

.abs-success-message h3 {
    color: #46b450;
    margin: 0 0 15px 0;
}

/* Loading State */
.abs-loading {
    text-align: center;
    padding: 20px;
    color: #666;
}

.abs-loading:after {
    content: '...';
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

/* Error Messages */
.abs-error {
    background: #fcf0f0;
    border: 1px solid #dc3232;
    color: #dc3232;
    padding: 15px;
    border-radius: 4px;
    margin: 15px 0;
}

/* Cancellation Page */
.abs-cancellation-page {
    max-width: 600px;
    margin: 50px auto;
    padding: 30px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.abs-booking-details {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 4px;
    margin: 20px 0;
}

.abs-notice {
    padding: 15px;
    border-radius: 4px;
    margin: 15px 0;
}

.abs-notice-info {
    background: #f0f6fc;
    border: 1px solid #2271b1;
    color: #2271b1;
}

/* Responsive */
@media (max-width: 768px) {
    .abs-booking-form {
        padding: 20px;
    }
    
    .abs-time-slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    
    .abs-form-navigation {
        flex-direction: column;
    }
    
    .abs-next-step {
        margin-left: 0;
    }
}
