﻿
.form-floating.pw-field {
    position: relative
}

.pw-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 3;
    color: #6c757d;
}

    .pw-btn .fa-eye-slash {
        display: none
    }

/* Kill Edge/IE native reveal & clear icons */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear,
input[type="text"]::-ms-clear {
    display: none !important;
    width: 0;
    height: 0;
}

/* make sure your eye has room on the right */
.register-input {
    padding-right: 2.25rem;
}

/* make sure your eye has room on the right */
.login-input {
    padding-right: 2.25rem;
}

.pw-field.showing .fa-eye {
    display: none
}

.pw-field.showing .fa-eye-slash {
    display: inline
}

/* Body */
body.whiteHouse {
    background-color: #F5F6FB !important;
    font-family: 'Raleway', sans-serif;
}

/* Header */

.header.whiteHouse {
    background-color: #F5F6FB !important;
}

.header-fixed .header {
    box-shadow: none !important;
}

/* Nav items */

.nav.nav-tabs.nav-tabs-line .nav-link.body-nav {
    border: 1px solid #27345E;
    padding: 0.75rem 2rem !important;
    border-radius: 5px;
}

.nav.nav-tabs.nav-tabs-line .nav-item:last-child .nav-link.body-nav {
    border: 1px solid #27345E;
    padding: 0.75rem 2rem;
    border-radius: 5px;
}

.nav.nav-tabs.nav-tabs-line .nav-link.body-nav:hover:not(.disabled),
.nav.nav-tabs.nav-tabs-line .nav-link.body-nav.active,
.nav.nav-tabs.nav-tabs-line .show > .nav-link.body-nav {
    background-color: #27345E;
}

.nav.nav-tabs.nav-tabs-line .nav-link.body-nav:hover:not(.disabled),
.nav.nav-tabs.nav-tabs-line .nav-link.body-nav.active,
.nav.nav-tabs.nav-tabs-line .show > .nav-link.body-nav {
    background-color: #27345E;
    border-bottom: #27345E;
    border: 1px solid #27345E;
}

.nav .nav-link.body-nav .nav-text {
    color: #27345E;
}

.nav .show > .nav-link.body-nav .nav-text,
.nav .nav-link.body-nav:hover:not(.disabled) .nav-text,
.nav .nav-link.body-nav.active .nav-text {
    color: #FFFFFF;
}

.content.d-flex.flex-column.flex-column-fluid {
    padding-top: 0px;
}

/* Background colours */
.bg-blue {
    background-color: #838BA5 !important;
}

.bg-light-blue {
    background-color: #F5F6FB !important;
}

/* Text */

.txt-dark-blue {
    color: #27345E !important;
}

.txt-light-blue {
    color: #838BA5 !important;
}

.txt-brown {
    color: #C58D2B !important;
}

/* Buttons */

.primary-button {
    background-color: rgba(197, 141, 43, 1);
    width: 195px;
    height: 66px;
    border-radius: 5px;
    border: none;
    color: rgba(255, 255, 255, 1);
    font-size: 21px;
    font-weight: 600;
}

.wh.btn.btn-sm {
    padding: 3px;
}

.wh.btn.btn-primary {
    border-radius: 5px;
    background-color: #C58D2B;
    border-color: #C58D2B;
}

    .wh.btn.btn-primary:hover:not(.btn-text):not(:disabled):not(.disabled),
    .wh.btn.btn-primary:focus:not(.btn-text),
    .wh.btn.btn-primary.focus:not(.btn-text) {
        color: #FFFFFF;
        background-color: #C58D2B;
        border-color: #C58D2B;
    }

.wh.btn.btn-secondary {
    border-radius: 5px;
    background-color: transparent;
    border-color: #27345E;
}

.btn.btn-secondary:hover:not(.btn-text):not(:disabled):not(.disabled),
.btn.btn-secondary:focus:not(.btn-text),
.btn.btn-secondary.focus:not(.btn-text) {
    color: #27345E;
    background-color: transparent;
    border-color: #27345E;
}

.wh.btn.btn-tertiary {
    border-radius: 5px;
    background-color: #27345E;
    border-color: #27345E;
    color: #FFFFFF;
}

.btn.btn-tertiary:hover:not(.btn-text):not(:disabled):not(.disabled),
.btn.btn-tertiary:focus:not(.btn-text),
.btn.btn-tertiary.focus:not(.btn-text) {
    color: #FFFFFF;
    background-color: #27345E;
    border-color: #27345E;
}

.btn-12 {
    width: 12% !important;
}

.btn-48 {
    width: 48% !important;
}

.btn-sm, .btn-group-sm > .btn {
    padding: 0rem;
    border-radius: 0.7rem;
}

.btn.btn-light-danger {
    background-color: #FFE2E5;
}

    .btn.btn-light-danger:hover:not(.btn-text):not(:disabled):not(.disabled),
    .btn.btn-light-danger:focus:not(.btn-text),
    .btn.btn-light-danger.focus:not(.btn-text) {
        background-color: #FF2F2F;
    }

        .btn.btn-light-danger:hover:not(.btn-text):not(:disabled):not(.disabled) svg path,
        .btn.btn-light-danger:focus:not(.btn-text) svg path,
        .btn.btn-light-danger.focus:not(.btn-text) svg path {
            fill: #FFFFFF;
        }

.carousel-control-span-btn {
    background-color: #27345E !important;
    border-radius: 5rem !important;
    width: 30px !important;
    height: 30px !important;
    align-content: center !important;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    position: relative;
    top: 5% !important;
}

/* Checkbox */

.checkbox > input:checked ~ span {
    background-color: #B2B8CB;
}

/* Switch */

.switch.switch-sm input:empty ~ span.wh-switch {
    height: 20px;
}

    .switch.switch-sm input:empty ~ span.wh-switch::after {
        height: 16px;
        width: 16px;
    }

.switch.switch-sm input:checked ~ span.wh-switch::after {
    margin-left: 20px;
}

.switch input:checked ~ span.wh-switch::before {
    background-color: #27345E;
}

.switch input:checked ~ span.wh-switch::after {
    background-color: #FFFFFF;
}

/* Calendar */
.fc-unthemed .fc-toolbar .fc-button {
    background: #F8F8F8;
    color: #000000 !important;
    border: 1px solid #F8F8F8;
}

    .fc-unthemed .fc-toolbar .fc-button:focus, .fc-unthemed .fc-toolbar .fc-button:active, .fc-unthemed .fc-toolbar .fc-button.fc-button-active {
        background: #F1F1F4;
        color: #000000 !important;
        border: 1px solid #F1F1F4;
    }

.fc-unthemed th.fc-day-header > a, .fc-unthemed th.fc-day-header > span {
    color: #000000;
}

/* .fc-unthemed .fc-description {
                color: #EBEDF3;
            } */

.fc-unthemed .fc-event .fc-time, .fc-unthemed .fc-event-dot .fc-time {
    color: #FFFFFF !important;
}

.fc-unthemed .fc-event .fc-title, .fc-unthemed .fc-event-dot .fc-title {
    color: #FFFFFF !important;
}

.fc-unthemed .fc-event.fc-start .fc-content:before, .fc-unthemed .fc-event-dot.fc-start .fc-content:before {
    background: none;
}

.fc-unthemed td.fc-today {
    background: #F6F6F6 !important;
}

.fc-unthemed .fc-toolbar h2 {
    text-transform: none;
    color: #27345E;
}

/* Card */

.card-rounded-md {
    border-radius: 2rem;
}

.summary-booking-label {
    padding-left: 1.75rem !important;
}

.booking-type {
    margin-top: 1.25rem !important;
}

/* Dropzone */
.dropzone {
    background: #F5F6FB;
}

    .dropzone.dropzone-default {
        border: 2px dashed #B2B8CB5C;
    }

        .dropzone.dropzone-default .dropzone-msg-desc {
            color: #838BA5;
        }

/* Profile Image */

.avatar-upload-profile {
    position: relative;
    max-width: 205px;
    margin: -10px auto auto auto;
}

    .avatar-upload-profile .avatar-preview {
        width: 50px;
        height: 50px;
        position: relative;
        border-radius: 100%;
    }

        .avatar-upload-profile .avatar-preview > div {
            width: 100%;
            height: 100%;
            border-radius: 100%;
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
            background: none;
        }

        .avatar-upload-profile .avatar-preview div .viewImage {
            position: relative;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            object-fit: cover;
        }

.edit-avatar-upload {
    position: relative;
    max-width: 205px;
}

    .edit-avatar-upload .avatar-preview {
        width: 135px;
        height: 135px;
        position: relative;
        border-radius: 100%;
        border: 6px solid #FFFFFF;
    }

        .edit-avatar-upload .avatar-preview > div {
            width: 100%;
            height: 100%;
            border-radius: 100%;
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
            background: #FFFFFF;
        }

    .edit-avatar-upload .avatar-edit {
        position: absolute;
        right: 0px;
        z-index: 1;
        bottom: 2.5px;
    }

        .edit-avatar-upload .avatar-edit label {
            display: inline-block;
            width: 34px;
            height: 34px;
            margin-bottom: 0;
            border-radius: 100%;
            border: 1px solid transparent;
            box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
            cursor: pointer;
            font-weight: normal;
            transition: all 0.2s ease-in-out;
            background: #27345E;
        }

            .edit-avatar-upload .avatar-edit label .uploadImage {
                position: relative;
                width: 56%;
                left: 22%;
            }

    .edit-avatar-upload .avatar-preview div .viewImage {
        position: relative;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
    }

/* Room */

.sessionPrice {
    background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' height='16' width='16'%3E%3Ctext x='0' y='12' font-size='12' font-family='Arial, sans-serif' fill='black'%3E%26%23xA3%3B%3C/text%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 8px center;
    background-size: 20px 20px;
    padding-left: 26px;
}

.room-image {
    height: 330px;
    object-fit: cover;
    width: 100%;
}

.room-description {
    max-height: 90px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.9s ease;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

    .room-description::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 30px;
        background: linear-gradient(rgba(255,255,255,0), #fff);
    }

    .room-description.expanded {
        max-height: none;
    }

/* Rule */

.rule-info {
    color: #838BA5;
    font-size: 12px !important;
}

/* Labels */
.wh-label-primary {
    color: #FFFFFF;
    background-color: #C58D2B;
}

.wh-label-dark-blue {
    color: #FFFFFF;
    background-color: #27345E;
}

.wh-label-red {
    color: #FFFFFF;
    background-color: #EC0C24;
}

/* Carousel Container */
.carousel-container {
    max-width: 450px;
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Main image display area */
.main-image-wrapper {
    position: relative;
    margin-bottom: 12px;
}

#main-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Styles for the Previous/Next buttons on the main image */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: #333;
    cursor: pointer;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s, box-shadow 0.2s;
    user-select: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

    .carousel-btn:hover {
        background-color: white;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }

    .carousel-btn.prev-btn {
        left: 12px;
    }

    .carousel-btn.next-btn {
        right: 12px;
    }

    .carousel-btn svg {
        width: 22px;
        height: 22px;
        stroke-width: 2.5;
        color: #444;
    }

/* Thumbnail strip below the main image */
.thumbnail-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.thumbnail-wrapper {
    display: flex;
    gap: 10px;
    overflow: hidden; /* Hides thumbnails that don't fit */
}

.thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    border: 3px solid transparent;
    transition: opacity 0.2s, border-color 0.2s;
    flex-shrink: 0; /* Prevents thumbnails from shrinking */
}

    .thumbnail:hover {
        opacity: 1;
    }

    .thumbnail.active {
        opacity: 1;
        border-color: #007bff; /* Active thumbnail border color */
    }

/* The navigation button for the thumbnail strip */
.thumbnail-nav-btn {
    background-color: #e4e6eb;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    padding: 0;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    transition: background-color 0.2s;
}

    .thumbnail-nav-btn:hover {
        background-color: #d8dbdf;
    }

    .thumbnail-nav-btn svg {
        width: 16px;
        height: 16px;
        stroke-width: 3;
        color: #050505;
    }

/* Add to your existing carousel CSS */

#main-image {
    transition: opacity 0.4s ease-in-out;
}

    /* Class added by JS to trigger the fade-out effect */
    #main-image.fading-out {
        opacity: 0;
    }

.thumbnail-wrapper {
    /* Enables smooth scrolling for thumbnails */
    scroll-behavior: smooth;
    /* Hides the scrollbar */
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

    .thumbnail-wrapper::-webkit-scrollbar {
        display: none; /* Chrome, Safari, and Opera */
    }

.no-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    background-color: #f8f9fa;
    border: 1px dashed #dee2e6;
    border-radius: 12px;
    color: #6c757d;
}

/* For Bootstrap card styling, assuming you use Bootstrap */
.card-view-room {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.session-select {
    background-color: #9396b3b5;
    border-radius: 20px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    padding-left: 5px;
    padding-right: 5px;
}

    .session-select option {
        color: black;
        background-color: #fff;
    }


.session-item {
    display: flex;
    align-items: center;
    background-color: #f3f6f9;
    border-radius: 8px;
    padding: 0.75rem 2rem;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

    .session-item.selected {
        background-color: #838ba5bd;
        color: #ffffff !important;
        font-weight: 500;
    }

    .session-item .form-check-input {
        width: 1.25em;
        height: 1.25em;
        margin-top: 0;
    }

    .session-item .form-check {
        padding-left: 0;
        background-color: transparent;
    }

        .session-item .form-check label {
            margin-left: 1rem;
        }

.custom-modal-scroll {
    max-height: 70vh;
    overflow-y: auto;
}

.nav.nav-tabs.nav-tabs-line .nav-link {
    color: #27345E;
    border-top: 1px solid #E7E7E7;
    border-right: 1px solid #E7E7E7;
    border-bottom: none;
    border-left: 1px solid #E7E7E7;
    padding: 1rem 3rem;
}

    .nav.nav-tabs.nav-tabs-line .nav-link.tab-nav-item:hover:not(.disabled),
    .nav.nav-tabs.nav-tabs-line .nav-link.tab-nav-item.active,
    .nav.nav-tabs.nav-tabs-line .show > .nav-link.tab-nav-item {
        color: #FFFFFF;
        background-color: #27345E;
        border-bottom: 1px solid #27345E;
    }


@media (max-width: 991.98px) {
    /* Nav items */

    .header-menu-mobile .menu-nav > .menu-item.menu-item-active > .menu-heading, .header-menu-mobile .menu-nav > .menu-item.menu-item-active > .menu-link {
        background-color: #C58D2B;
    }

        .header-menu-mobile .menu-nav > .menu-item.menu-item-active > .menu-heading .menu-text,
        .header-menu-mobile .menu-nav > .menu-item.menu-item-active > .menu-link .menu-text {
            color: #FFFFFF;
        }

    .header-menu-mobile .menu-nav > .menu-item:not(.menu-item-parent):not(.menu-item-open):not(.menu-item-here):not(.menu-item-active):hover > .menu-heading .menu-text,
    .header-menu-mobile .menu-nav > .menu-item:not(.menu-item-parent):not(.menu-item-open):not(.menu-item-here):not(.menu-item-active):hover > .menu-link .menu-text {
        color: #C58D2B;
    }

    .content.d-flex.flex-column.flex-column-fluid {
        padding-top: 25px;
    }

    /* Card */

    .summary-booking-label {
        padding-left: 0rem !important;
    }

    .summary-booking-text {
        padding-left: 0rem !important;
    }

    .booking-type {
        margin-top: 0rem !important;
    }

    /* Buttons */

    .primary-button {
        width: 173px;
        height: 44px;
        font-size: 19px;
    }

    .btn-12 {
        width: 25% !important;
    }

    #resetFilters {
        margin-top: 1rem !important;
    }

    /* Profile Image */

    .avatar-upload-profile .avatar-preview {
        width: 42px !important;
        height: 42px !important;
    }

    /* Room */

    .room-tab {
        margin: 0 1rem 1rem 0 !important;
    }

    /* Rule */

    .rule-info {
        margin: 0 0.75rem 10px 0 !important;
    }

    /* Terms and Conditions Summary Booking */

    .checkbox.col-1 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 16.66667%;
        flex: 0 0 16.66667%;
        max-width: 16.66667%;
    }

    .terms-and-conditions.col-11 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 83.33333%;
        flex: 0 0 83.33333%;
        max-width: 83.33333%;
    }
}
