/**
 * VietVed Booking Forms - Kong Forest Form Styles
 * Соответствует оригинальному Kong-form.html
 */

/* Form Title */
.vietved-booking-form--kong .vbf-form-title {
    margin: 0 0 30px 0;
    text-align: center;
    font-family: inherit;
    font-size: 32px;
    line-height: 36px;
    font-weight: 700;
    color: #111827;
}

/* Info Section */
.vietved-booking-form--kong .vbf-info-section {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    margin: 20px 0;
}

.vietved-booking-form--kong .vbf-info-title {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
    font-size: 16px;
}

.vietved-booking-form--kong .vbf-info-text {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

.vietved-booking-form--kong .vbf-info-description {
    line-height: 1.6;
}

/* Green Badge */
.vietved-booking-form--kong .vbf-badge--success {
    display: inline-flex;
    align-items: center;
    background: #dcfce7;
    color: #166534;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    margin: 5px 2px 2px 2px;
}

/* Schedule Info */
.vietved-booking-form--kong .vbf-schedule-info {
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    padding: 12px;
    margin: 16px 0;
    font-size: 13px;
    color: #1e40af;
    line-height: 1.5;
}

.vietved-booking-form--kong .vbf-schedule-info strong {
    color: #1e3a8a;
}

/* Activity Type Section */
.vietved-booking-form--kong .vbf-activity-type-section {
    margin: 20px 0;
}

.vietved-booking-form--kong .vbf-activity-type-title {
    margin: 0 0 12px 0;
    font-size: 18px;
    color: #1e293b;
    font-weight: 600;
}

/* Activity Options Grid */
.vietved-booking-form--kong .vbf-activity-options {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
}

/* Activity Option Card */
.vietved-booking-form--kong .vbf-activity-option {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    text-align: center;
}

.vietved-booking-form--kong .vbf-activity-option:hover {
    border-color: #d1d5db;
}

.vietved-booking-form--kong .vbf-activity-option.selected {
    border-color: var(--vietved-primary);
    background: #f0f9ff;
}

.vietved-booking-form--kong .vbf-activity-option input[type="radio"] {
    display: none;
}

.vietved-booking-form--kong .vbf-activity-title {
    font-weight: 600;
    font-size: 14px;
    color: #1e293b;
    margin-bottom: 6px;
}

.vietved-booking-form--kong .vbf-activity-description {
    font-size: 11px;
    color: #64748b;
    margin-bottom: 8px;
    line-height: 1.3;
}

.vietved-booking-form--kong .vbf-activity-pricing {
    font-size: 12px;
    margin-bottom: 8px;
}

.vietved-booking-form--kong .vbf-price-row {
    margin: 2px 0;
    color: #1e293b;
}

.vietved-booking-form--kong .vbf-price-row strong {
    color: #0077ff;
}

/* Restrictions */
.vietved-booking-form--kong .vbf-restrictions {
    background: #FFF3EA;
    border: 1px solid #fed7aa;
    border-radius: 4px;
    padding: 6px;
    font-size: 10px;
    color: #FF5B00;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vietved-booking-form--kong .vbf-restrictions--combo {
    align-items: center;
    text-align: center;
}

.vietved-booking-form--kong .vbf-restrictions ul {
    margin: 4px 0 0 0;
    padding-left: 12px;
    list-style: none;
}

.vietved-booking-form--kong .vbf-restrictions li {
    margin: 2px 0;
}

.vietved-booking-form--kong .vbf-restrictions li:before {
    content: "\2022";
    color: #fed7aa;
    margin-right: 6px;
}

/* Duration Section */
.vietved-booking-form--kong .vbf-duration-section {
    margin: 12px 0;
}

.vietved-booking-form--kong .vbf-duration-title {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #1e293b;
    font-weight: 600;
}

.vietved-booking-form--kong .vbf-duration-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 8px;
}

.vietved-booking-form--kong .vbf-duration-option {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    text-align: center;
}

.vietved-booking-form--kong .vbf-duration-option:hover {
    border-color: #d1d5db;
}

.vietved-booking-form--kong .vbf-duration-option.selected {
    border-color: var(--vietved-primary);
    background: #f0f9ff;
    color: var(--vietved-primary);
}

.vietved-booking-form--kong .vbf-duration-option input[type="radio"] {
    display: none;
}

/* Hotel Input Wrapper */
.vietved-booking-form--kong .vbf-hotel-input-wrapper {
    position: relative;
}

.vietved-booking-form--kong .vbf-hotel-input-wrapper input {
    border-radius: 10px;
    transition: border-radius 0.2s ease, border-color 0.2s ease;
}

.vietved-booking-form--kong .vbf-hotel-input-wrapper.has-dropdown input {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: var(--vietved-primary);
}

/* Hotel Hint */
.vietved-booking-form--kong .vbf-hotel-hint {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #9ca3af;
    pointer-events: none;
    transition: all 0.2s ease;
}

.vietved-booking-form--kong .vbf-hotel-input-wrapper input:focus ~ .vbf-hotel-hint,
.vietved-booking-form--kong .vbf-hotel-input-wrapper input:not(:placeholder-shown) ~ .vbf-hotel-hint {
    opacity: 0;
}

/* Hotel Dropdown */
.vietved-booking-form--kong .vbf-hotel-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--vietved-primary);
    border-top: none;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.vietved-booking-form--kong .vbf-hotel-dropdown.show {
    display: block;
}

.vietved-booking-form--kong .vbf-hotel-option {
    padding: 12px;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.2s ease;
    font-size: 14px;
}

.vietved-booking-form--kong .vbf-hotel-option:hover {
    background-color: #f8fafc;
}

.vietved-booking-form--kong .vbf-hotel-option:last-child {
    border-bottom: none;
}

.vietved-booking-form--kong .vbf-hotel-option.highlighted {
    background-color: #f0f9ff;
    color: var(--vietved-primary);
}

/* Cam Ranh Info */
.vietved-booking-form--kong .vbf-cam-ranh-info {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    padding: 12px;
    margin: 12px 0;
    color: #ea580c;
    font-size: 13px;
    line-height: 1.4;
}

/* Note Children */
.vietved-booking-form--kong .vbf-note-children {
    font-size: 13px;
    color: #6b7280;
    margin-top: 8px;
}

/* Summary */
.vietved-booking-form--kong .vbf-summary {
    background: #f5f7fa;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px;
    font-size: 14px;
    line-height: 1.5;
    margin-top: 16px;
}

.vietved-booking-form--kong .vbf-summary strong {
    color: #111827;
}

.vietved-booking-form--kong .vbf-summary-total {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .vietved-booking-form--kong .vbf-form-title {
        font-size: 22px !important;
        line-height: 26px !important;
    }

    /* Activity options to 1 column on mobile */
    .vietved-booking-form--kong .vbf-activity-options {
        grid-template-columns: 1fr;
    }

    .vietved-booking-form--kong .vbf-activity-option {
        text-align: left;
        padding: 16px;
    }

    .vietved-booking-form--kong .vbf-activity-title {
        font-size: 16px;
    }

    .vietved-booking-form--kong .vbf-activity-description {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .vietved-booking-form--kong .vbf-activity-pricing {
        font-size: 13px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .vietved-booking-form--kong .vbf-price-item {
        background: #f8fafc;
        padding: 8px;
        border-radius: 6px;
        text-align: center;
    }

    .vietved-booking-form--kong .vbf-restrictions {
        font-size: 13px;
        padding: 12px;
        min-height: auto;
    }

    .vietved-booking-form--kong .vbf-restrictions--combo {
        align-items: flex-start;
        text-align: left;
    }

    /* 2 column grid to 1 column on mobile */
    .vietved-booking-form--kong .vbf-grid--2col {
        grid-template-columns: 1fr !important;
    }
}
