/* Reorganized from wwwroot/css/hotels.css. */
.promo-wrapper {
    position: relative;
    display: inline-block;
}

.promo-tooltip {
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    transition: opacity 0.3s ease;
}

.promo-tooltip.show {
    opacity: 1;
}

.promo-inline {
    background: rgba(var(--fr-yellow-rgb), 0.22);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid var(--fr-yellow);
    font-weight: 600;
    color: var(--fr-dark);
}

.promo-inline:hover {
    cursor: pointer;
}

.promo-box {
    background: rgba(var(--fr-yellow-rgb), 0.22);
    border-left: 4px solid var(--fr-yellow);
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--fr-dark);
    font-weight: 500;
}

.promo-code {
    color: var(--fr-red);
    font-weight: 600;
}

.hotel-card .hotel-title {
    line-height: 1.5;
    font-size: 1rem;
    min-height: 3em;
}

@media (max-width: 575.98px) {
    .hotel-card .hotel-title {
        min-height: auto;
    }
}

section.bg-light {
    background-color: #f8f9fa;
}

.hotel-list-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.hotel-sort-form {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: .4rem;
    margin-left: auto;
}

.hotel-sort-label {
    color: #6b7080;
    font-size: .76rem;
    font-weight: 600;
}

.hotel-sort-select-wrap {
    position: relative;
}

.hotel-sort-select-wrap > i {
    position: absolute;
    top: 50%;
    left: .85rem;
    z-index: 1;
    color: var(--fr-purple);
    font-size: .78rem;
    pointer-events: none;
    transform: translateY(-50%);
}

.hotel-sort-select-wrap select {
    min-width: 235px;
    min-height: 42px;
    padding: .6rem 2.2rem .6rem 2.25rem;
    border: 1px solid #d9deea;
    border-radius: 4px;
    background-color: #fff;
    color: #272b38;
    font-size: .86rem;
    font-weight: 550;
    cursor: pointer;
}

.hotel-sort-select-wrap select:hover,
.hotel-sort-select-wrap select:focus {
    border-color: var(--fr-purple);
}

.hotel-sort-select-wrap select:focus-visible {
    outline: 3px solid rgba(var(--fr-cyan-rgb), .28);
    outline-offset: 2px;
}

.hotel-sort-select-wrap option:disabled {
    color: #a0a5b1;
}

.hotel-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
    margin-left: 0;
    margin-right: 0;
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
}

.hotel-grid > [class*="col-"] {
    width: auto;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

@media (max-width: 991.98px) {
    .hotel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .hotel-grid {
        grid-template-columns: 1fr;
    }

    .hotel-list-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 1rem;
    }

    .hotel-sort-form {
        align-items: stretch;
        margin-left: 0;
    }

    .hotel-sort-select-wrap select {
        width: 100%;
        min-width: 0;
    }
}

.hotel-separated-section {
    margin-top: 3.5rem;
}

.hotel-separated-line {
    height: 1px;
    margin-bottom: 1.8rem;
    background: linear-gradient(90deg, transparent, rgba(var(--fr-purple-rgb), .35), transparent);
}

.hotel-separated-title {
    margin: 0 0 1.8rem;
    color: var(--fr-purple);
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: 750;
    letter-spacing: 0;
}

.hotel-card {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e8edf7;
    cursor: pointer;
    transition: box-shadow 0.2s ease;
}

.hotel-card-bottom {
    margin-top: auto;
}

.hotel-card-footer {
    margin-top: 0;
}

.hotel-card:hover {
    box-shadow: 0 12px 22px rgba(var(--fr-purple-rgb), 0.14) !important;
}

.hotel-img-wrapper {
    position: relative;
    overflow: hidden;
}

.card-title {
    font-size: 1.1rem;
}

.stars i {
    font-size: 0.9rem;
    text-shadow:.5px .5px 3px black;
}

.hotel-card .stars {
    display: flex;
    flex-wrap: nowrap;
    gap: .16rem;
}

.hotel-card .btn-primary {
    background-color: var(--fr-purple);
    border: none;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: none;
}

.hotel-card .btn-primary:hover {
    background-color: #4f176d !important;
    box-shadow: 0 8px 18px rgba(var(--fr-purple-rgb), 0.24);
    transform: none;
}

.hotel-meta-row {
    display: grid;
    align-items: start;
    grid-template-columns: minmax(90px, 1fr) minmax(135px, auto);
    gap: .75rem;
    margin-bottom: 1rem;
}

.hotel-primary-meta {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: .55rem;
}

.hotel-primary-meta .stars {
    margin: 0;
    line-height: 1;
}

.hotel-location {
    min-width: 0;
    flex: 0 0 auto;
    padding-top: .1rem;
    color: #6c757d;
    font-size: .875rem;
    line-height: 1.4;
}

.hotel-contact {
    width: auto;
    max-width: 100%;
    margin: 0;
    text-align: right;
}

.hotel-contact__label {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: .4rem;
    margin-bottom: .35rem;
    color: #6b7080;
    font-size: .76rem;
    font-weight: 600;
    line-height: 1.25;
}

.hotel-contact__label i {
    color: var(--fr-purple);
    font-size: .72rem;
}

.hotel-contact__numbers {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: .18rem;
}

.hotel-contact__number {
    position: relative;
    z-index: 2;
    max-width: 100%;
    color: var(--fr-purple);
    font-size: .86rem;
    font-weight: 650;
    line-height: 1.35;
    text-decoration: none;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.hotel-contact__number:hover,
.hotel-contact__number:focus-visible {
    color: #4f176d;
    text-decoration: underline;
    text-underline-offset: .18rem;
}

.hotel-contact__number:focus-visible {
    outline: 2px solid rgba(var(--fr-cyan-rgb), .45);
    outline-offset: 2px;
}

.hotel-rate-list {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: .22rem;
    margin: 0 0 .85rem;
    padding-top: .65rem;
    border-top: 1px solid #edf0f5;
}

.hotel-rate-item {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: .65rem;
    color: #707583;
    font-size: .75rem;
    line-height: 1.4;
}

.hotel-rate-item__label {
    font-weight: 500;
}

.hotel-rate-item__value {
    color: #555b68;
    font-size: .78rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

@media (max-width: 390px) {
    .hotel-meta-row {
        grid-template-columns: 1fr;
        gap: .65rem;
    }

    .hotel-contact {
        text-align: left;
    }

    .hotel-contact__label {
        justify-content: flex-start;
    }

    .hotel-contact__numbers {
        align-items: flex-start;
    }

    .hotel-contact__label,
    .hotel-location {
        font-size: .72rem;
    }

    .hotel-contact__number {
        font-size: .78rem;
    }

}
