/* Booking Form Styles */

.no-scroll {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}

.booking-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    z-index: 9999;
    padding: 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.booking-form-container {
    background: var(--base);
    border-radius: 12px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    margin: auto;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--base-opp);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    color: var(--base-opp);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: var(--accent);
    color: white;
    transform: scale(1.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--base-opp);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid rgba(191, 241, 10, 0.822);
    font-size: 16px;
    background: transparent;
    color: var(--base-opp);
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--accent);
    border-bottom-width: 2px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-repeat: no-repeat;
    background-position: right 0 center;
    background-size: 12px;
    padding-right: 20px;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.form-row {
    display: flex;
    gap: 30px;
}

.form-row .form-group {
    flex: 1;
}

.form-row-3 {
    display: flex;
    gap: 30px;
}

.form-row-3 .form-group {
    flex: 1;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.form-title {
    text-align: center;
    font-size: 40px;
    margin-bottom: 30px;
    color: var(--base-opp);
}

.package-info {
    background: var(--additional);
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
}

.success-message {
    display: none;
    background: #4CAF50;
    color: white;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
}

.error-message {
    display: none;
    background: #f44336;
    color: white;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
}


/* Custom Package Specific Styles */

.custom-package-form {
    max-width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
}

.form-section {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid rgba(191, 241, 10, 0.3);
    border-radius: 8px;
}

.form-section h3 {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 24px;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 10px;
}

.addon-category {
    margin-bottom: 25px;
}

.addon-category h4 {
    color: var(--base-opp);
    margin-bottom: 15px;
    font-size: 18px;
}

.addon-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.addon-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    position: relative;
}

.addon-checkbox:hover {
    background-color: rgba(191, 241, 10, 0.1);
}

.addon-checkbox input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent);
    border-radius: 4px;
    margin-right: 12px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.addon-checkbox input[type="checkbox"]:checked+.checkmark {
    background-color: var(--accent);
}

.addon-checkbox input[type="checkbox"]:checked+.checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 12px;
}

.meal-option {
    display: flex;
    align-items: center;
    gap: 15px;
}

.meal-qty {
    width: 80px !important;
    padding: 8px !important;
    border: 1px solid var(--accent) !important;
    border-radius: 4px !important;
    text-align: center;
}

.meal-qty:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.sightseeing-option {
    margin-bottom: 20px;
}

.spots-selection {
    margin-top: 15px;
    padding: 15px;
    background-color: rgba(191, 241, 10, 0.05);
    border-radius: 6px;
    border-left: 4px solid var(--accent);
}

.spots-selection p {
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--accent);
}

.spots-selection label {
    display: block;
    margin-bottom: 8px;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.spots-selection label:hover {
    background-color: rgba(191, 241, 10, 0.1);
}

.spots-selection input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.1);
}

.total-price {
    font-size: 18px;
    font-weight: bold;
    color: var(--accent);
    margin-top: 10px;
    padding: 10px;
    background-color: rgba(191, 241, 10, 0.1);
    border-radius: 6px;
}

@media (max-width: 768px) {
    .booking-form-container {
        padding: 20px;
        margin: 10px;
    }
    .form-row,
    .form-row-3 {
        flex-direction: column;
        gap: 0;
    }
    .close-btn {
        top: 10px;
        right: 10px;
    }
    .custom-package-form {
        max-width: 98vw;
        padding: 15px;
    }
    .form-section {
        padding: 15px;
    }
    .meal-option {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .addon-options {
        gap: 8px;
    }
    .form-section h3 {
        font-size: 20px;
    }
}