﻿/* Enhanced Booking Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    justify-content: center;
    align-items: center;
}

    .modal.show {
        display: flex !important;
        align-items: center;
        justify-content: center;
        opacity: 1;
    }

.modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    margin: auto;
    border-radius: 25px;
    width: 95%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.8) translateY(50px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 215, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    color: white;
}

.modal.show .modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    color: #FFD700;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

    .modal-close:hover {
        background: rgba(255, 215, 0, 0.2);
        transform: rotate(90deg);
        color: #FFED4A;
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    }
/* Enhanced Modal Header */
#bookingModalTitle {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    font-family: 'Playfair Display', serif;
    padding: 0 20px;
}
/* Enhanced Offer Info Section */
.offer-info {
    background: rgba(255, 215, 0, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    backdrop-filter: blur(10px);
}

.offer-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

    .offer-header i {
        color: #FFD700;
        font-size: 1.2rem;
    }

#offerTitle {
    font-size: 1.3rem;
    font-weight: 600;
    color: #FFD700;
    flex: 1;
}

.discount-badge {
    background: linear-gradient(45deg, #FF6B6B, #FF8E53);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(255, 107, 107, 0.3);
}
/* Enhanced Services List with Images */
.offer-services-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.offer-service-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

    .offer-service-item:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateX(5px);
    }

.service-item-image {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #FFD700;
}

    .service-item-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.service-item-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #1a1a2e;
    flex-shrink: 0;
}

.offer-service-item i.fa-check {
    color: #4CAF50;
    font-size: 1.1rem;
}

.offer-service-item span {
    color: white;
    font-weight: 500;
    flex: 1;
}
/* Enhanced Form Styles */
.booking-form {
    padding: 0 25px 25px;
}

.Booking-form-group {
    margin-bottom: 20px;
}

    .Booking-form-group label {
        display: block;
        margin-bottom: 8px;
        color: #FFD700;
        font-weight: 600;
        font-size: 0.95rem;
    }

.Booking-form-control {
    width: 100%;
    padding: 12px 15px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

    .Booking-form-control:focus {
        outline: none;
        border-color: #FFD700;
        box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
        background: rgba(59, 130, 246, 0.2);
    }

    .Booking-form-control::placeholder {
        color: rgba(255, 255, 255, 0.6);
    }

    .Booking-form-control.is-invalid {
        border-color: #dc3545;
        box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2);
    }
/* Select specific styling */
.form-control.service-select, .form-control.subservice-select {
    background: rgba(59, 130, 246, 0.15) !important;
    border: 1px solid rgba(255, 215, 0, 0.3) !important;
    color: white !important;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

    .form-control.service-select:focus, .form-control.subservice-select:focus {
        outline: none;
        border-color: #FFD700 !important;
        box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
        background: rgba(59, 130, 246, 0.25) !important;
        color: white !important;
    }
/* Ensure dropdown options are black on white */
.form-control option {
    color: #000 !important;
    background-color: #fff !important;
}
/* Enhanced Services Container */
.services-label {
    color: #FFD700;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: block;
}

#servicesContainer {
    margin-bottom: 20px;
}

.service-row {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

    .service-row:hover {
        background: rgba(59, 130, 246, 0.1);
        border-color: rgba(255, 215, 0, 0.3);
    }

.remove-service-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #dc3545;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: 0.2s ease;
}

    .remove-service-icon:hover {
        background: #b91c1c;
        transform: scale(1.08);
    }

.sub-row {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

    .sub-row:hover {
        background: rgba(255, 255, 255, 0.08);
    }
/* Enhanced Price Summary */
.price-summary {
    background: rgba(255, 215, 0, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    color: white;
}

.discount-row {
    color: #4CAF50;
}

.total-row {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 10px;
    margin-top: 10px;
    font-size: 1.2rem;
    color: #FFD700;
}
/* Enhanced Buttons */
.btn-add-service {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

    .btn-add-service:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    }

.add-sub-btn {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    width: 100%;
    justify-content: center;
}

    .add-sub-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 3px 10px rgba(40, 167, 69, 0.4);
    }

.remove-service, .remove-sub {
    background: linear-gradient(45deg, #dc3545, #c82333);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    font-weight: 600;
    width: 100%;
}

    .remove-service:hover, .remove-sub:hover {
        background: linear-gradient(45deg, #c82333, #bd2130);
        transform: scale(1.02);
        box-shadow: 0 2px 8px rgba(220, 53, 69, 0.4);
    }

.btn-book-now {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #1a1a2e;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
    text-transform: uppercase;
    letter-spacing: 1px;
}

    .btn-book-now:hover {
        background: linear-gradient(45deg, #FFED4A, #FFB347);
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
    }
/* Quantity controls */
.quantity-group .input-group {
    display: flex;
    align-items: center;
    gap: 2px;
}

.quantity-group .qty-decrease, .quantity-group .qty-increase {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #FFD700;
    width: 35px;
    height: 35px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

    .quantity-group .qty-decrease:hover, .quantity-group .qty-increase:hover {
        background: rgba(59, 130, 246, 0.3);
        transform: scale(1.05);
        color: #FFED4A;
    }

.quantity-group .qty-input {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: white;
    text-align: center;
    border-radius: 6px;
    width: 60px;
    padding: 8px 4px;
}
/* Form labels inside rows */
.service-row label, .sub-row label {
    color: #FFD700;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 5px;
}
/* Responsive Design */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 20px;
        max-width: none;
    }

    #bookingModalTitle {
        font-size: 1.8rem;
    }

    .service-row, .sub-row {
        padding: 15px;
    }

    .offer-service-item {
        padding: 12px;
    }

    .btn-book-now {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .sub-row .row > div {
        margin-bottom: 10px;
    }

        .sub-row .row > div:last-child {
            margin-bottom: 0;
        }

    .service-row .row > div {
        margin-bottom: 10px;
    }

        .service-row .row > div:last-child {
            margin-bottom: 0;
        }
}

body.modal-open {
    overflow: hidden;
}
/* Hide price elements */
.price-summary,
.service-price,
.price-amount,
#subtotalAmount,
#discountAmount,
#totalAmount,
.price-row {
    display: none !important;
}
/* Remove price from subservice dropdown options */
.subservice-select option {
    color: #333;
}
/* Adjust service row layout without price */
.service-row {
    background: rgba(59, 130, 246, 0.05);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}
/* Enhanced offer services list */
.offer-services-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.offer-service-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

    .offer-service-item:hover {
        background: rgba(255, 255, 255, 0.08);
        transform: translateX(5px);
    }

.service-item-image {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #FFD700;
}

    .service-item-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.service-item-icon {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #1a1a2e;
}

.offer-service-item i.fa-check {
    color: #4CAF50;
    font-size: 1rem;
}

.offer-service-item span {
    color: white;
    font-weight: 500;
    flex: 1;
}

.Booking-form-control option {
    color: #000 !important;
    background-color: #fff !important;
}
/* Dropdown specific styling for dark theme */
.service-select, .subservice-select {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(255, 215, 0, 0.3);
    color: white;
}

    .service-select:focus, .subservice-select:focus {
        background: rgba(59, 130, 246, 0.25);
        border-color: #FFD700;
    }
/* Service row top section */
.service-row .row {
    margin-bottom: 15px;
}

.service-row .remove-service {
    background: linear-gradient(45deg, #dc3545, #c82333);
    padding: 10px;
    height: 100%;
    display: flex;
    align-items: end;
}

.sub-row .row {
    display: flex;
    align-items: center;
}

.quantity-group button {
    min-width: 32px;
    height: 32px;
    padding: 0;
}

.qty-input {
    height: 32px;
    padding: 0;
    font-size: 14px;
}
.sub-row select {
    height: 40px !important;
}

.qty-input {
    height: 32px !important;
    padding: 0;
    font-size: 14px;
}

.quantity-group button {
    height: 32px !important;
    width: 32px !important;
    padding: 0 !important;
}
.sub-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
}

    .sub-row .subservice-col {
        flex: 1 !important;
        min-width: 200px !important;
    }

    .sub-row select {
        height: 40px !important;
    }

    .sub-row .quantity-group button {
        width: 32px !important;
        height: 32px !important;
        padding: 0 !important;
    }

    .sub-row .qty-input {
        width: 45px !important;
        height: 32px !important;
        padding: 0 !important;
    }

    .sub-row .remove-sub {
        height: 32px !important;
    }

.quantity-group {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
}

    .quantity-group button {
        width: 34px !important;
        height: 34px !important;
        padding: 0 !important;
    }

.qty-input {
    width: 50px !important;
    height: 34px !important;
    padding: 0 !important;
}

body.modal-open {
    overflow: hidden !important;
}