.booking-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.booking-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.booking-modal {
    background-color: #1A1A24;
    width: 90%;
    max-width: 800px;
    border-radius: 12px;
    padding: 80px 60px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.booking-modal-overlay.active .booking-modal {
    transform: translateY(0);
}

.booking-modal__close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: #FFF8EA;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.booking-modal__close:hover {
    color: var(--accent-gold);
}

.booking-modal__logo {
    margin-bottom: 32px;
    width: 180px;
}

.booking-modal__logo img {
    width: 100%;
    height: auto;
}

.booking-modal__title {
    color: var(--accent-gold);
    font-family: var(--font-primary);
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 40px;
    text-transform: uppercase;
    text-align: center;
}

.booking-modal__form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.input-group {
    width: 100%;
    position: relative;
}

.booking-input,
.booking-select {
    width: 100%;
    height: 70px;
    background-color: transparent;
    border: 1px solid #3D3C42;
    border-radius: 8px;
    padding: 0 20px;
    color: #FFF8EA;
    font-family: var(--font-secondary);
    font-size: 20px;
    outline: none;
    transition: border-color 0.3s ease;
}

.booking-select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23FFF8EA' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px;
}

.booking-select option {
    background-color: #1A1A24;
    color: #FFF8EA;
}

.booking-input::placeholder {
    color: #FFF8EA;
    opacity: 0.7;
}

.booking-input:focus,
.booking-select:focus {
    border-color: var(--accent-gold);
}

#booking-price-display {
    color: var(--accent-gold);
    font-family: var(--font-secondary);
    font-size: 18px;
    margin-top: 8px;
    margin-bottom: 20px;
    text-align: center;
    background: rgba(199, 161, 122, 0.1);
    padding: 12px;
    border-radius: 8px;
    border: 1px dashed var(--accent-gold);
}
#booking-price-display strong {
    color: #FFF8EA;
    font-weight: normal;
}

.booking-modal__policy {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
    margin-bottom: 24px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 30px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #3D3C42;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #0C6D1E;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.policy-text {
    color: #FFF8EA;
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.4;
}

.booking-modal__submit {
    width: 100%;
    height: 70px;
    font-size: 24px;
    cursor: pointer;
    border: none;
    border-radius: 100px;
}

/* Custom scrollbar for modal content if it overflows */
.booking-modal::-webkit-scrollbar {
    width: 6px;
}
.booking-modal::-webkit-scrollbar-track {
    background: transparent;
}
.booking-modal::-webkit-scrollbar-thumb {
    background-color: #3D3C42;
    border-radius: 10px;
}

@media (max-width: 576px) {
    .booking-modal {
        padding: 40px 20px;
    }
    
    .booking-modal__title {
        font-size: 20px;
    }
}

/* Success Modal Styles */
.success-modal-wrapper {
    padding: 60px;
    justify-content: center;
}

.success-message-box {
    background-color: #242430; /* Lighter than #1A1A24 */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 80px 40px;
    width: 100%;
    text-align: center;
}

.success-modal__title {
    color: var(--accent-gold);
    font-family: var(--font-primary);
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 24px;
    text-transform: uppercase;
    line-height: 1.4;
}

.success-modal__text {
    color: #FFF8EA;
    font-size: 22px;
    line-height: 1.5;
    margin-bottom: 40px;
    opacity: 0.9;
}

.success-modal__thanks {
    color: var(--accent-gold);
    font-size: 26px;
    font-weight: 400;
    margin-bottom: 40px;
}

.success-modal__subtext {
    color: #FFF8EA;
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 20px;
    opacity: 0.8;
}

.success-modal__tg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: #2b3945;
    color: #FFF8EA;
    font-size: 20px;
    font-family: var(--font-primary);
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%;
    max-width: 400px;
}

.success-modal__tg-btn:hover {
    background-color: #3b4e5f;
    transform: translateY(-2px);
}

@media (max-width: 576px) {
    .success-modal-wrapper {
        padding: 40px 20px;
    }
    .success-message-box {
        padding: 40px 20px;
    }
    .success-modal__title {
        font-size: 20px;
    }
    .booking-modal {
        padding: 40px 20px;
    }
    .booking-modal__title {
        font-size: 24px;
        margin-bottom: 24px;
    }
    .booking-input,
    .booking-select {
        height: 54px;
        font-size: 15px;
        padding: 0 16px;
    }
    .booking-select {
        background-position: right 12px center;
        background-size: 12px;
    }
}

/* Taxi choice modal */
.taxi-modal {
    align-items: center;
    text-align: center;
}
.taxi-modal__btns {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}
.taxi-btn {
    min-width: 160px;
    height: 50px;
    padding: 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--accent-gold);
    border-radius: 100px;
    background: transparent;
    color: #FFF8EA;
    font-family: var(--font-main);
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.taxi-btn:hover {
    background: var(--accent-gold);
    color: #050409;
    transform: translateY(-2px);
}
@media (max-width: 576px) {
    .taxi-btn { min-width: 130px; font-size: 16px; }
}
