/* Booking Page Styles - THEME UPGRADE */
:root {
    --primary-color: #005244;
    --primary-dark: #003d33;
    --primary-light: #007a63;
    --secondary-color: #FFC107;
    --secondary-dark: #e6ac00;
    --secondary-light: #FFD54F;
    --text-dark: #333333;
    --text-light: #ffffff;
    --gray-light: #f8f9fa;
    --box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.booking-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 0;
    background: var(--gray-light);
    border-radius: 15px;
    box-shadow: var(--box-shadow);
}

.booking-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    padding: 2.5rem 2rem;
    margin-bottom: 2rem;
}

.booking-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.booking-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.booking-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.product-details {
    background: var(--gray-light);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
    box-shadow: var(--box-shadow);
}

.product-details h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.product-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.price-tag, .duration-tag {
    background: var(--secondary-light);
    padding: 0.5rem 1.2rem;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1.1rem;
}

.price-tag {
    color: var(--primary-color);
}

.duration-tag {
    color: var(--primary-dark);
}

.form-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.section-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title i {
    color: var(--secondary-color);
}

.form-label {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border: 1.5px solid #ced4da;
    border-radius: 8px;
    padding: 0.85rem;
    transition: border-color 0.15s, box-shadow 0.15s;
    font-size: 1rem;
    background: #f8f9fa;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 82, 68, 0.10);
    background: #fff;
}

.price-display {
    background: var(--secondary-light);
    padding: 1.2rem;
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin: 1.5rem 0;
    box-shadow: var(--box-shadow);
}

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

.payment-details {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
    border: 1px solid #dee2e6;
}

.payment-details h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

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

.form-check-input:checked {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 30px;
    transition: all 0.3s;
    box-shadow: var(--box-shadow);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Success Message Styles */
.booking-success-card {
    text-align: center;
    padding: 3rem 2rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
}

.success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1.5rem;
}

.booking-success-card h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 800;
}

.booking-success-card p {
    color: #6c757d;
    margin-bottom: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .booking-card {
        padding: 1.2rem;
    }
    .booking-title {
        font-size: 2rem;
    }
    .product-meta {
        flex-direction: column;
        align-items: center;
    }
    .payment-methods {
        grid-template-columns: 1fr;
    }
}

/* Form Validation Styles */
.form-control.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.form-control.is-invalid ~ .invalid-feedback {
    display: block;
}

/* Booking Form Styles */
.booking-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.booking-header {
    text-align: center;
    margin-bottom: 40px;
}

.booking-header h1 {
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.booking-header p {
    color: #666;
    font-size: 1.1rem;
}

.booking-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.booking-details h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.booking-details .price {
    font-size: 1.8rem;
    color: #27ae60;
    font-weight: 700;
}

.booking-details .duration {
    color: #666;
    font-size: 1.1rem;
}

/* Form Styles */
.booking-form {
    margin-top: 30px;
}

.form-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-section h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

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

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    outline: none;
}

.form-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-select:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    outline: none;
}

/* Payment Section */
.payment-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.payment-method {
    margin-bottom: 20px;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method:hover {
    border-color: #3498db;
}

.payment-method.selected {
    border-color: #3498db;
    background-color: rgba(52, 152, 219, 0.05);
}

.payment-details {
    margin-top: 15px;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    display: none;
}

.payment-details.active {
    display: block;
}

/* File Upload */
.file-upload {
    position: relative;
    margin-top: 10px;
}

.file-upload input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.file-upload-label {
    display: block;
    padding: 12px 20px;
    background: #f8f9fa;
    border: 2px dashed #e0e0e0;
    border-radius: 8px;
    text-align: center;
    color: #666;
    transition: all 0.3s ease;
}

.file-upload-label:hover {
    border-color: #3498db;
    color: #3498db;
}

/* Submit Button */
.submit-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: #3498db;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 30px;
}

.submit-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.submit-btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
}

/* Terms and Conditions */
.terms-checkbox {
    margin-top: 20px;
}

.terms-checkbox label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
}

.terms-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .booking-container {
        margin: 20px;
        padding: 20px;
    }

    .booking-header h1 {
        font-size: 2rem;
    }

    .form-section {
        padding: 15px;
    }
}

/* Alert Messages */
.alert {
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.375rem;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

/* Loading State */
.loading {
    position: relative;
    pointer-events: none;
}

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

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

.booking-form-container {
    width: 100% !important;
    min-width: 320px;
    max-width: 900px;
    margin: 32px auto !important;
    background: #007A63 !important;
    color: #fff !important;
    border-radius: 18px;
    box-shadow: 0 8px 32px 0 rgba(31,38,135,0.15);
    padding: 2.5rem 2rem;
    text-align: left;
    /* border: 5px solid red !important; */
}
.booking-form-container i {
    color: #FFC107 !important;
}
.booking-form-container .form-label,
.booking-form-container .form-control,
.booking-form-container .form-select,
.booking-form-container .form-text,
.booking-form-container .booking-header h1,
.booking-form-container .booking-header p,
.booking-form-container .booking-details,
.booking-form-container .price-display h3,
.booking-form-container .amount {
    color: #fff !important;
}
.booking-form-container .form-control,
.booking-form-container .form-select {
    background: rgba(255,255,255,0.08) !important;
    border: 2px solid #fff !important;
    color: #fff !important;
}
.booking-form-container .form-control::placeholder {
    color: #FFC107 !important;
    opacity: 1;
}
.booking-form-container .form-control:focus,
.booking-form-container .form-select:focus {
    border-color: #FFC107 !important;
    box-shadow: 0 0 0 0.2rem rgba(255,193,7,0.18);
    background: rgba(255,255,255,0.15) !important;
    color: #fff !important;
}

@media (max-width: 768px) {
    .booking-form-container {
        width: 100% !important;
        padding: 1.2rem !important;
    }
}

/* Themed transaction proof upload button */
.themed-upload-btn {
    background: linear-gradient(90deg, #007A63 60%, #00b894 100%);
    color: #fff !important;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 0.75rem 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 8px rgba(0,122,99,0.13);
    transition: background 0.22s, box-shadow 0.22s, color 0.22s;
    display: inline-block;
    cursor: pointer;
    text-align: center;
}
.themed-upload-btn:hover, .themed-upload-btn:focus {
    background: linear-gradient(90deg, #FFC107 60%, #FFD700 100%);
    color: #00332E !important;
    box-shadow: 0 4px 18px rgba(255,193,7,0.18);
}

.text-green {
    color: #007A63 !important;
} 