/* Kupala Hotel - Online Rezervasyon Widget */

.kupala-booking-section {
    background: linear-gradient(135deg, #0a3d62 0%, #1a5276 50%, #2471a3 100%);
    padding: 40px 0 50px;
    margin-top: -2px;
    position: relative;
    z-index: 10;
}

.kupala-booking {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    padding: 32px 28px;
    max-width: 960px;
    margin: 0 auto;
}

.kupala-booking__header {
    text-align: center;
    margin-bottom: 28px;
}

.kupala-booking__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a5276;
    margin: 0 0 6px;
}

.kupala-booking__subtitle {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
}

/* Steps */
.kupala-booking__steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 4px;
}

.kupala-booking__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    opacity: 0.45;
    transition: opacity 0.3s;
}

.kupala-booking__step--active,
.kupala-booking__step--done {
    opacity: 1;
}

.kupala-booking__step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e8eef3;
    color: #1a5276;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.kupala-booking__step--active .kupala-booking__step-num {
    background: #1a5276;
    color: #fff;
    box-shadow: 0 4px 12px rgba(26, 82, 118, 0.4);
}

.kupala-booking__step--done .kupala-booking__step-num {
    background: #27ae60;
    color: #fff;
}

.kupala-booking__step-label {
    font-size: 0.72rem;
    color: #555;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.kupala-booking__step-line {
    width: 40px;
    height: 2px;
    background: #dde4ea;
    margin: 0 4px;
    margin-bottom: 18px;
}

/* Panels */
.kupala-booking__panel {
    display: none;
}

.kupala-booking__panel--active {
    display: block;
    animation: kbFadeIn 0.35s ease;
}

@keyframes kbFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.kupala-booking label {
    font-weight: 600;
    color: #333;
    font-size: 0.88rem;
}

.kupala-booking .required {
    color: #e74c3c;
}

.kupala-booking .form-control {
    border-radius: 8px;
    border: 1.5px solid #dde4ea;
    height: 44px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.kupala-booking .form-control:focus {
    border-color: #1a5276;
    box-shadow: 0 0 0 3px rgba(26, 82, 118, 0.12);
}

/* Options (radio cards) */
.kupala-booking__options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.kupala-booking__option {
    cursor: pointer;
    margin: 0;
    display: block;
}

.kupala-booking__option input {
    display: none;
}

.kupala-booking__option-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 2px solid #dde4ea;
    border-radius: 10px;
    transition: all 0.2s;
    background: #fafbfc;
}

.kupala-booking__option-box i {
    font-size: 1.2rem;
    color: #1a5276;
    width: 24px;
    text-align: center;
}

.kupala-booking__option-box strong {
    flex: 1;
    font-size: 0.9rem;
    color: #333;
}

.kupala-booking__option-box small {
    color: #888;
    font-size: 0.78rem;
}

.kupala-booking__option--disabled {
    opacity: 0.45;
    pointer-events: none;
}

.kupala-booking__assigned-room {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: 14px;
}

.kupala-booking__assigned-room-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #0284c7;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.kupala-booking__assigned-room-label {
    display: block;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #0369a1;
    font-weight: 700;
    margin-bottom: 4px;
}

.kupala-booking__assigned-room-body strong {
    display: block;
    font-size: 1.15rem;
    color: #0f172a;
    margin-bottom: 6px;
}

.kupala-booking__assigned-room-body p {
    margin: 0;
    font-size: .85rem;
    color: #64748b;
    line-height: 1.45;
}

.kupala-booking__option input:checked + .kupala-booking__option-box {
    border-color: #1a5276;
    background: #eef4f8;
    box-shadow: 0 2px 8px rgba(26, 82, 118, 0.15);
}

/* Buttons */
.kupala-booking__actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    gap: 12px;
    flex-wrap: wrap;
}

.kupala-booking__btn {
    border-radius: 8px;
    padding: 11px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.kupala-booking__btn--primary {
    background: #1a5276;
    color: #fff;
    margin-left: auto;
}

.kupala-booking__btn--primary:hover {
    background: #154360;
    color: #fff;
}

.kupala-booking__btn--success {
    background: #27ae60;
    color: #fff;
    margin-left: auto;
}

.kupala-booking__btn--success:hover {
    background: #219a52;
    color: #fff;
}

.kupala-booking__btn--ghost {
    background: transparent;
    color: #666;
    border: 1.5px solid #dde4ea;
}

.kupala-booking__btn--ghost:hover {
    background: #f5f7f9;
}

.kupala-booking__btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Price box */
.kupala-booking__price-box {
    background: #f8fafb;
    border: 1.5px solid #dde4ea;
    border-radius: 12px;
    padding: 20px;
}

.kupala-booking__price-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eef2f5;
    font-size: 0.9rem;
    color: #555;
}

.kupala-booking__price-row--discount {
    color: #27ae60;
}

.kupala-booking__price-row--total {
    border-bottom: none;
    border-top: 2px solid #1a5276;
    margin-top: 8px;
    padding-top: 14px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a5276;
}

.kupala-booking__price-loading {
    text-align: center;
    color: #888;
    padding: 20px;
}

/* Summary */
.kupala-booking__summary-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #eef2f5;
    font-size: 0.9rem;
}

.kupala-booking__summary-item i {
    color: #1a5276;
    width: 20px;
    margin-top: 2px;
}

.kupala-booking__summary-item strong {
    display: block;
    color: #333;
    margin-bottom: 2px;
}

.kupala-booking__summary-item span {
    color: #666;
}

/* Alert */
.kupala-booking__alert {
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.kupala-booking__alert--error {
    background: #fdf0ef;
    border: 1px solid #f5c6cb;
    color: #c0392b;
}

/* Success page */
.kupala-booking__success-icon {
    font-size: 4rem;
    color: #27ae60;
    margin-bottom: 16px;
}

/* Child age inputs */
.kb-child-age-group {
    margin-bottom: 10px;
}

/* Mobile */
@media (max-width: 767px) {
    .kupala-booking-section {
        padding: 24px 0 32px;
    }

    .kupala-booking {
        padding: 20px 16px;
        border-radius: 12px;
        margin: 0 10px;
    }

    .kupala-booking__title {
        font-size: 1.35rem;
    }

    .kupala-booking__step-label {
        display: none;
    }

    .kupala-booking__step-line {
        width: 20px;
    }

    .kupala-booking__actions {
        flex-direction: column-reverse;
    }

    .kupala-booking__btn {
        width: 100%;
        justify-content: center;
    }

    .kupala-booking__btn--primary,
    .kupala-booking__btn--success {
        margin-left: 0;
    }
}

@media (max-width: 991px) {
    .kupala-booking-section {
        margin-top: 0;
    }
}
