/* Booking Page Styles */

/* Hero Section */
.booking-hero {
    margin-top: 70px;
    min-height: 40vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    color: white;
    text-align: center;
}

.booking-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.booking-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Booking Section */
.booking-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.booking-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Booking Form */
.booking-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.booking-form-container h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 0.5rem;
    text-align: center;
}

.booking-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Form Sections */
.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section h3 i {
    color: #ff0000;
    font-size: 1.1rem;
}

/* Form Layout */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #32cd32;
    box-shadow: 0 0 0 3px rgba(50, 205, 50, 0.1);
}

.form-group input:invalid {
    border-color: #ff0000;
}

/* Service Options */
.service-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.service-option {
    position: relative;
}

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

.service-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    background: white;
}

.service-option label:hover {
    border-color: #32cd32;
    background: #f8fff8;
}

.service-option input[type="radio"]:checked + label {
    border-color: #ff0000;
    background: #fff5f5;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.1);
}

.service-option label i {
    font-size: 2rem;
    color: #ff0000;
    margin-bottom: 0.5rem;
}

.service-option label span {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.service-option label small {
    color: #666;
    font-size: 0.85rem;
}

/* Checkbox Groups */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    margin-top: 0.25rem;
}

.checkbox-group label {
    margin: 0;
    font-weight: 400;
    line-height: 1.5;
}

.checkbox-group a {
    color: #ff0000;
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

/* Submit Button */
.booking-submit {
    width: 100%;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    cursor: pointer;
    pointer-events: auto;
    z-index: 10;
    position: relative;
}

/* Booking Info Sidebar */
.booking-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.info-card h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card h3 i {
    color: #32cd32;
}

/* Business Hours */
.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.hour-item span:first-child {
    font-weight: 500;
    color: #333;
}

.hour-item span:last-child {
    color: #666;
}

/* Contact Info */
.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #333;
}

.contact-info i {
    color: #ff0000;
    width: 16px;
}

.contact-info a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: #ff0000;
}

/* Expectation List */
.expectation-list {
    list-style: none;
    padding: 0;
}

.expectation-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #333;
}

.expectation-list i {
    color: #32cd32;
    font-size: 0.9rem;
}

/* Emergency Card */
.info-card.emergency {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe6e6 100%);
    border: 2px solid #ff0000;
}

.info-card.emergency h3 {
    color: #ff0000;
}

.info-card.emergency h3 i {
    color: #ff0000;
}

.info-card.emergency p {
    color: #666;
    margin-bottom: 1rem;
}

/* Check Status Section */
.check-status-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.status-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.status-header h2 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.status-header p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.status-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.status-form .form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.status-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.status-form input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.status-form input:focus {
    outline: none;
    border-color: #ff0000;
}

.status-result {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: left;
}

.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.status-confirmed {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-completed {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.booking-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.detail-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 5px;
}

.detail-label {
    font-weight: 600;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.detail-value {
    color: #333;
    font-size: 1rem;
}

.no-booking {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.no-booking i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ddd;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 5px;
    border: 1px solid #f5c6cb;
    margin-bottom: 1rem;
    display: none;
}

.error-message.show {
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .booking-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .booking-form-container {
        padding: 1.5rem;
    }
    
    .booking-hero h1 {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .service-options {
        grid-template-columns: 1fr;
    }
    
    .booking-info {
        order: -1;
    }
}

@media (max-width: 480px) {
    .booking-form-container {
        padding: 1rem;
    }
    
    .booking-hero h1 {
        font-size: 1.8rem;
    }
    
    .booking-hero p {
        font-size: 1rem;
    }
    
    .form-section h3 {
        font-size: 1.1rem;
    }
    
    .service-option label {
        padding: 1rem 0.75rem;
    }
    
    .service-option label i {
        font-size: 1.5rem;
    }
}

/* Form Validation Styles */
.form-group input:invalid:not(:focus) {
    border-color: #ff0000;
    background: #fff5f5;
}

.form-group input:valid {
    border-color: #32cd32;
}

/* Loading State */
.booking-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.booking-submit.loading {
    position: relative;
    color: transparent;
}

.booking-submit.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

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

/* Success Message */
.success-message {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 2px solid #28a745;
    color: #155724;
    padding: 0;
    border-radius: 15px;
    margin-bottom: 2rem;
    display: none;
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.2);
    animation: slideInDown 0.5s ease-out;
}

.success-message.show {
    display: block;
}

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

/* Error Message */
.error-message {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: none;
}

.error-message.show {
    display: block;
}
