/* ===== Listeleme / carousel rozeti (Anında Rezervasyon) ===== */
.instant-book-badge {
    z-index: 3;
    height: 36px;
    max-width: 36px;
    padding: 0;
    background: rgba(225, 234, 249, 0.97);
    color: #2556b8;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(19, 37, 71, 0.12);
    transition: max-width 280ms ease, padding 280ms ease, background-color 280ms ease;
}

.instant-book-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    font-size: 18px;
    color: #2f63cc;
}

.instant-book-icon .bolt-char {
    line-height: 1;
    transform: translateY(-1px);
}

.instant-book-label {
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 180ms ease, transform 220ms ease;
    color: #FF7900 !important;
}

.instant-book-badge:hover {
    max-width: 220px;
    padding-right: 14px;
    background: rgba(225, 234, 249, 0.98);
}

.instant-book-badge:hover .instant-book-label {
    opacity: 1;
    transform: translateX(0);
}

/* ===== Detay yan kutu (Hemen Kiralanabilir callout) ===== */
@keyframes instant-book-sidebar-breathe {
    0%, 100% {
        opacity: 1;
        filter: brightness(1);
        box-shadow:
                0 8px 22px rgba(255, 107, 0, 0.2),
                0 0 0 0 rgba(255, 255, 255, 0);
    }
    50% {
        opacity: 0.96;
        filter: brightness(1.1);
        box-shadow:
                0 14px 36px rgba(255, 107, 0, 0.42),
                0 0 0 1px rgba(255, 255, 255, 0.32);
    }
}

@keyframes instant-book-icon-nudge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    }
    45% {
        transform: scale(1.06);
        box-shadow: 0 4px 14px rgba(255, 255, 255, 0.45);
    }
}

.instant-book-sidebar-callout {
    background: linear-gradient(135deg, rgba(255, 89, 0, 1) 0%, rgba(255, 143, 0, 1) 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(255, 107, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.22);
    animation: instant-book-sidebar-breathe 3.4s ease-in-out infinite;
}

.instant-book-sidebar-callout__icon {
    width: 44px;
    height: 44px;
    font-size: 18px;
    color: #ff5900;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    animation: instant-book-icon-nudge 2.6s ease-in-out infinite;
    animation-delay: 0.35s;
}

.instant-book-sidebar-callout__bolt {
    font-size: 22px;
    line-height: 1;
    color: #ff5900;
    display: block;
}

.instant-book-sidebar-callout__title {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #fff;
}

.instant-book-sidebar-callout__desc {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 400;
}

@media only screen and (max-width: 575px) {
    .instant-book-sidebar-callout {
        padding: 0.875rem !important;
    }
    .instant-book-sidebar-callout__icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .instant-book-sidebar-callout,
    .instant-book-sidebar-callout__icon {
        animation: none !important;
    }
}

/* ===== Uygun tarihler modali (BookableDirectlyModal) ===== */
#bdDateList .bd-date-btn {
    padding: 0.8rem 0.9rem;
    border: 1px solid #d8dde6;
    border-radius: 1rem;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

#bdDateList .bd-date-main {
    display: flex;
    align-items: center;
    gap: 0.72rem;
    min-width: 0;
    flex-wrap: nowrap;
}

#bdDateList .bd-night-chip {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.05rem;
    padding: 0.3rem 0.45rem;
    border-radius: 0.65rem;
    background: #ef7f1a;
    color: #fff;
    line-height: 1;
}

#bdDateList .bd-night-count {
    font-size: 0.95rem;
    font-weight: 700;
}

#bdDateList .bd-night-text {
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}

#bdDateList .bd-date-flow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-width: 0;
    flex-wrap: nowrap;
    color: #1f2f4a;
    font-size: 1rem;
    font-weight: 700;
}

#bdDateList .bd-date-flow .bd-value {
    color: inherit;
    font: inherit;
}

#bdDateList .bd-date-flow .bd-arrow {
    color: #6f7f97;
    font-size: 0.75rem;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #eef3fa;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#bdDateList .bd-date-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-left: 0.75rem;
}

#bdDateList .bd-recommended-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    padding: 0.24rem 0.56rem;
    border-radius: 999px;
    background: #fff7db;
    color: #9a6508;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.2;
}

#bdDateList .bd-recommended-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex: 0 0 20px;
}

#bdDateList .bd-select-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.55rem 0.9rem;
    min-width: 64px;
    border-radius: 0.6rem;
    background: #46c557;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
}

#bdDateList .bd-select-arrow {
    font-size: 0.7rem;
    line-height: 1;
}

#bdDateList .bd-date-btn.is-selected {
    background: #fffaf4;
    border-color: #ef7f1a;
    box-shadow: 0 4px 14px rgba(239, 127, 26, 0.16);
}

#bdDateList .bd-date-btn.is-selected .bd-select-pill {
    background: #2cae43;
}

@media only screen and (max-width: 575px) {
    #BookableDirectlyModal .modal-dialog {
        max-width: calc(100% - 1.1rem);
    }

    #bdDateList .bd-date-btn {
        padding: 0.62rem 0.66rem;
    }

    #bdDateList .bd-date-main {
        gap: 0.44rem;
    }

    #bdDateList .bd-night-chip {
        padding: 0.26rem 0.4rem;
    }

    #bdDateList .bd-night-count {
        font-size: 0.82rem;
    }

    #bdDateList .bd-night-text {
        font-size: 0.5rem;
    }

    #bdDateList .bd-date-flow {
        font-size: 0.7rem !important;
        gap: 0.3rem;
    }

    #bdDateList .bd-date-actions {
        margin-left: 0.34rem;
        gap: 0.34rem;
    }

    #bdDateList .bd-select-pill {
        min-width: 52px;
        padding: 0.4rem 0.56rem;
        font-size: 0.72rem;
    }

    #bdDateList .bd-recommended-badge {
        font-size: 0.58rem;
        padding: 0.14rem 0.3rem;
    }
}

/* ===== Geri sayim (kartileOde countdown) ===== */
.bg-orange-custom {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 1px solid #fed7aa;
}

.text-orange-icon {
    color: #ea580c;
}

.text-orange-title {
    color: #ea580c;
}

.text-orange-sub {
    color: #9a3412;
}

/* ===== risus anasayfa.css — Hemen Kiralanabilir bölümü ===== */
.hemen-kirala-section {
    margin-top: 8px;
}

.hemen-kirala-section .listing {
    position: relative;
}

.hemen-kirala-section .hemen-kirala-nav {
    position: absolute;
    top: 50%;
    left: -12px;
    right: -12px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 5;
    pointer-events: none;
    height: 0;
}

.hemen-kirala-section .hemen-kirala-nav .section-button {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    color: #1f2f4a;
    box-shadow: 0 10px 22px rgba(31, 47, 74, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.hemen-kirala-section .hemen-kirala-nav .section-button:hover {
    background: rgba(248, 249, 252, 0.9);
}

.hemen-kirala-shell {
    border-radius: 20px;
    overflow: hidden;
}

.hemen-kirala-features {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    background: #f3f6fb;
    padding: 18px 20px;
}

.hemen-kirala-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #1f2f4a;
    font-size: 13px;
    line-height: 1.3;
}

.hemen-kirala-feature-item .icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background-color: #ffffff;
    color: #234074;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
}

.hemen-kirala-feature-item strong {
    display: block;
    font-size: 13px;
}

.hemen-kirala-body {
    background: #ffebd0;
    border-radius: 0 0 20px 20px;
    padding: 16px 14px 20px;
}

.hemen-kirala-title {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: #1f2f4a;
    margin: 6px 0 18px;
}

.hemen-kirala-section .hemen-kirala-footer {
    text-align: center;
    margin-top: 18px;
}

.hemen-kirala-section .hemen-kirala-footer .btn {
    color: #1f2f4a;
    border: 1px solid #d9dde7;
    min-width: 120px;
}

.hemen-kirala-section .instant-book-badge {
    z-index: 3;
    height: 36px;
    max-width: 36px;
    padding: 0;
    background: rgba(225, 234, 249, 0.97);
    color: #2556b8;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(19, 37, 71, 0.12);
    transition: max-width 280ms ease, padding 280ms ease, background-color 280ms ease;
}

.hemen-kirala-section .instant-book-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    font-size: 18px;
    color: #2f63cc;
}

.hemen-kirala-section .instant-book-icon .bolt-char {
    line-height: 1;
    transform: translateY(-1px);
}

.hemen-kirala-section .instant-book-label {
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 180ms ease, transform 220ms ease;
    color: #FF7900 !important;
}

.hemen-kirala-section .instant-book-badge:hover {
    max-width: 220px;
    padding-right: 14px;
    background: rgba(225, 234, 249, 0.98);
}

.hemen-kirala-section .instant-book-badge:hover .instant-book-label {
    opacity: 1;
    transform: translateX(0);
}

.hemen-kirala-section .listing .list-item .fav-btn {
    top: 10px !important;
}

.hemen-kirala-section .availability-calendar-btn .icon-box {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
}

.hemen-kirala-section .listing .list-item .content-top,
.hemen-kirala-section .popular-villa .content-top {
    border-color: #ECEEF0 !important;
}

@media only screen and (max-width: 991px) {
    .hemen-kirala-body {
        border-radius: 20px;
        padding: 14px 10px 16px;
    }
    .hemen-kirala-title {
        font-size: 22px;
        margin-bottom: 14px;
    }
    .hemen-kirala-section .instant-book-badge {
        height: 32px;
        max-width: 32px;
    }
    .hemen-kirala-section .instant-book-icon {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
        font-size: 13px;
    }
    .hemen-kirala-section .instant-book-badge:hover {
        max-width: 190px;
    }
    .hemen-kirala-section .instant-book-label {
        font-size: 12px;
    }
}
