/* ==========================================================================
   Room details page styles
   Keep FAQ and page-specific booking visuals here.
   ========================================================================== */

.faq-section {
    padding: 20px;
    border-radius: 5px;
}

.faq-title {
    font-size: 1.25rem;
    font-weight: bold;
    padding: 15px;
    background-color: #e6f0ff;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    margin-right: 20px;
}

.faq-content-column {
    flex: 1;
}

.accordion {
    width: 100%;
}

.faq-header {
    display: flex;
    align-items: center;
    background-color: white;
    border: 1px solid #e6e6e6;
    padding: 10px;
    position: relative;
}

.faq-body {
    font-size: 0.875rem;
    background-color: white;
    border: 1px solid #e6e6e6;
    border-top: none;
    padding: 10px;
}

.card .faqs {
    border: none;
    margin-bottom: 0;
}

.btn-link {
    padding: 0;
    font-weight: bold;
    color: #007bff;
    display: flex;
    align-items: center;
    width: 100%;
}

.btn-link:hover,
button.btn-link:hover,
button.btn-link {
    text-decoration: none !important;
}

#fas {
    color: black;
    position: absolute;
    right: 10px;
    transition: transform 0.2s;
    text-decoration: none;
}

.collapsed .fas {
    transform: rotate(0deg);
    text-decoration: none;
}

.accordion .card:not(:last-of-type) {
    border-bottom: 0;
}

.question-text {
    text-decoration: none;
    color: black;
    flex-grow: 1;
}

/* Alignment fixes for icon headings and surrounding-info blocks. */
.room-details-page .surroundings-section {
    text-align: center;
}

.room-details-page .surroundings-section .alert-heading,
.room-details-page .surroundings-section .category-title,
.room-details-page .surroundings-section h5 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-bottom: 8px;
    text-align: center;
    line-height: 1.25;
}

.room-details-page .surroundings-section .category-content {
    text-align: center;
}

.room-details-page .surroundings-section .icon,
.room-details-page .surroundings-section .fas,
.room-details-page .surroundings-section .fa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15em;
    height: 1.15em;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1;
    vertical-align: middle;
}

html[dir="rtl"] .room-details-page .surroundings-section .alert-heading,
html[dir="rtl"] .room-details-page .surroundings-section .category-title,
html[dir="rtl"] .room-details-page .surroundings-section h5 {
    direction: rtl;
}

.room-details-page .surroundings-section > .btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 0 18px 0 !important;
    line-height: 1.2;
    vertical-align: middle;
}

.room-details-page .host-section-title {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 10px;
}

.room-details-page .host-section-title span {
    color: #b77835;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.room-details-page .host-section-title strong {
    color: inherit;
    font: inherit;
}

.room-details-page .host-profile {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.room-details-page .host-profile-image {
    width: 80px;
    height: 80px;
    flex: 0 0 80px;
    margin-top: 4px;
    border-radius: 50%;
    object-fit: cover;
}

.room-details-page .host-profile-copy {
    min-width: 0;
    font-size: 0.94rem;
    line-height: 1.75;
}

.room-details-page .host-profile-copy p:last-child {
    margin-bottom: 0;
}

html[dir="rtl"] .room-details-page .host-section-title,
html[dir="rtl"] .room-details-page .host-profile {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .room-details-page .booking-form label,
html[dir="rtl"] .room-details-page .booking-form select,
html[dir="rtl"] .room-details-page .booking-form input:not([type="email"]),
html[dir="rtl"] .room-details-page .room-detail-value,
html[dir="rtl"] .room-details-page .room-modern-description,
html[dir="rtl"] .room-details-page .faq-body,
html[dir="rtl"] .room-details-page .question-text {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .room-details-page .room-booking-sidebar .booking-form h2::after {
    margin-right: auto;
    margin-left: auto;
}

@media (max-width: 575px) {
    .room-details-page .host-profile {
        align-items: center;
        flex-direction: column;
    }

    .room-details-page .host-profile-copy,
    html[dir="rtl"] .room-details-page .host-profile-copy {
        width: 100%;
        text-align: start;
    }
}
