* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
}

.chat-box-main {
    transition: all 0.3s ease 0s;
    width: 100%;
    font-size: 14px;
    font-family: "Inter", sans-serif;
    line-height: 21px;
    font-weight: 300;
    color: #000000;
    min-height: 100vh;
    max-width: 800px;
    border-radius: 16px;
    box-shadow: 0 0 10px 10px rgba(0, 0, 0, 0.05);
    margin: auto;
    overflow: hidden;
    max-height: 100vh;
}

.container {
    padding: 50px 20px;
}

.chat-box-body {
    min-height: calc(100vh - 82px);
    background: #f2f1f0;
}

.chat-box-header {
    padding: 20px;
    box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.03);
    position: relative;
}

.chat-box-progress {
    width: 100%;
    height: 8px;
    background: #c0c0c0;
    border-radius: 100px;
    position: relative;
    overflow: hidden;
}

    .chat-box-progress:before {
        content: "";
        position: absolute;
        height: 100%;
        background: #ca1a20;
        transition: all 0.3s ease 0s;
    }

    .chat-box-progress.first-step-active:before {
        width: 20%;
    }

    .chat-box-progress.second-step-active:before {
        width: 35%;
    }

    .chat-box-progress.third-step-active:before {
        width: 66%;
    }

    .chat-box-progress.fourth-step-active:before {
        width: 100%;
    }

.chat-box-progress-titles {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

span {
    display: inline-block;
}

.chat-box-progress-titles span {
    opacity: 0.5;
    font-weight: 500;
}

    .chat-box-progress-titles span:last-child {
        text-align: right;
    }

.fourth-step-active + .chat-box-progress-titles span {
    opacity: 1;
}

.first-step-active + .chat-box-progress-titles span:first-child {
    opacity: 1;
}

.second-step-active + .chat-box-progress-titles span:first-child,
.second-step-active + .chat-box-progress-titles span:nth-child(2) {
    opacity: 1;
}

.third-step-active + .chat-box-progress-titles span:first-child,
.third-step-active + .chat-box-progress-titles span:nth-child(2),
.third-step-active + .chat-box-progress-titles span:nth-child(3) {
    opacity: 1;
}

.chat-box-type {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
}

    .chat-box-type input {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid #c0c0c0;
        border-radius: 10px;
        min-height: 42px;
    }

    .chat-box-type button {
        padding: 10px 22px;
        min-height: 42px;
        border: none;
        background: #ca1a20;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        color: #fff;
        cursor: pointer;
    }

.chat-box-wrap {
    min-height: calc(100vh - 164px);
    max-height: calc(100vh - 164px);
    overflow-y: scroll;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

    /* width */
    .chat-box-wrap::-webkit-scrollbar {
        width: 5px;
        border-radius: 100px;
    }

    /* Track */
    .chat-box-wrap::-webkit-scrollbar-track {
        background: transparent;
    }

    /* Handle */
    .chat-box-wrap::-webkit-scrollbar-thumb {
        background: #ca1a20;
    }

        /* Handle on hover */
        .chat-box-wrap::-webkit-scrollbar-thumb:hover {
            background: #ca1a20;
        }

.chat-message-box {
    width: 580px;
    max-width: 94%;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.chat-message-avatar {
    width: 80px;
    line-height: 0;
    border-radius: 100%;
    border: 2px solid #e61d23;
    flex: 0 0 80px;
}

img {
    max-width: 100%;
}

.chat-message-avatar img {
    border-radius: 100%;
}

p {
    margin: 0;
}

.chat-message-body {
    background: #fff;
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.03);
}

.chat-message-title {
    margin-bottom: 5px;
    font-size: 20px;
    line-height: normal;
    font-family: "Poppins", sans-serif;
    font-weight: bold;
    color: #2e0d64;
}

    .chat-message-title span {
        color: #e61d23;
    }

.chat-message-options {
    margin: 10px 0 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

    .chat-message-options button {
        border: none;
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.1);
        padding: 7px 25px;
        font-size: 16px;
        cursor: pointer;
    }

.chat-message.message-send {
    display: flex;
    justify-content: flex-end;
}

    .chat-message.message-send .chat-message-box {
        width: auto;
    }

.chat-message-time {
    display: block;
    font-size: 12px;
}

.chat-message-time-send {
    text-align: right;
}

.chat-message-blinking {
    animation: shadowblinking 2s infinite ease-in-out;
}

.message-card-wrap {
    margin-top: 10px;
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: 1fr;
    display: grid;
    gap: 20px;
}

.message-card-box {
    border-radius: 8px;
    box-shadow: 0 0 3px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    line-height: 0;
}

.message-card-box-img {
    aspect-ratio: 1/0.7;
    object-fit: cover;
}

.message-card-box-content {
    padding: 15px;
    line-height: normal;
}

    .message-card-box-content h6 {
        margin: 0;
        font-family: "Poppins", sans-serif;
        font-weight: bold;
        font-size: 14px;
        color: #2e0d64;
    }

    .message-card-box-content p {
        margin: 5px 0;
        color: #606060;
    }

    .message-card-box-content button {
        width: 100%;
        margin-top: 6px;
        border: none;
        background: #ca1a20;
        color: #fff;
        font-weight: 500;
        padding: 8px 10px;
        border-radius: 8px;
        cursor: pointer;
    }

@keyframes shadowblinking {
    0% {
        box-shadow: 0 0 0px 0px rgb(46 13 100 / 15%);
    }

    50% {
        box-shadow: 0 0 5px 5px rgb(46 13 100 / 15%);
    }

    100% {
        box-shadow: 0 0 0px 0px rgb(46 13 100 / 15%);
    }
}

@media only screen and (max-width: 767px) {
    .chat-message-box {
        gap: 10px;
    }

    .chat-message-avatar {
        width: 40px;
        flex: 0 0 40px;
    }
}

@media only screen and (max-width: 575px) {
    .message-card-wrap {
        grid-template-columns: 1fr;
    }
}

/* header Footer css */

.hero {
    height: 500px;
    background: url("../images/hero-banner-image.png") no-repeat center center/cover;
    padding-top: 40px;
    position: relative;
}

    .hero h1 {
        font-size: 50px;
        line-height: 56px;
        color: white;
        font-family: "Poppins", sans-serif;
        font-weight: 500;
        position: absolute;
        bottom: 30px;
        right: 120px;
        margin: 0;
    }

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1240px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
}

.logo img {
    width: 200px;
}

.tablet-menu .desktop-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

    .tablet-menu .desktop-menu a {
        text-decoration: none;
        color: white;
        font-family: "Montserrat", sans-serif;
        font-weight: 500;
        transition: 0.3s;
    }

        .tablet-menu .desktop-menu a:hover {
            color: red;
        }

.text-1 {
    background-color: #ca1a20;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    color: #fff;
}

.tablet-menu .menu-1 {
    display: none;
}

.tablet-menu .mobile-menu-link {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 0, 0, 0.6);
    z-index: 999;
    justify-content: center;
    align-items: start;
}

    .tablet-menu .mobile-menu-link .menu-slide {
        display: flex;
        flex-direction: column;
        font-size: 30px;
        align-items: center;
        padding: 10px;
        margin-top: 170px;
        gap: 20px;
    }

        .tablet-menu .mobile-menu-link .menu-slide a {
            text-decoration: none;
            color: #fff;
            font-family: "Montserrat", sans-serif;
        }

    .tablet-menu .mobile-menu-link .mobile-menu-1 {
        position: absolute;
        top: 47px;
        right: 46px;
        border-radius: 100px;
        background-color: white;
        color: red;
        padding: 10px;
    }

.active {
    display: flex !important;
}

.main-wrapper {
    position: relative;
}

/* footer */

footer {
    background-color: #a8151a;
    color: #fff;
    padding: 50px 0px;
}

.footer-container {
    display: flex;
    flex-direction: row;
    max-width: 1240px;
    margin: auto;
    padding: 0 20px;
}

.footer-left,
.footer-right,
.footer-col-wrapper {
    display: flex;
    width: 100%;
    align-items: start;
}

.footer-left {
    flex-direction: column;
}

.footer-right .footer-col:nth-child(1) {
    padding-right: 25px;
}

.footer-col {
    width: 50%;
}

.footer-col-wrapper {
    margin-bottom: 50px;
}

.member-logo {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 6px;
    padding: 14px;
    margin: 0 42px 20px 0;
    gap: 10px;
}

    .member-logo .img-wrapper img {
        height: 100%;
    }

    .member-logo h5 {
        color: #9e0f11;
        text-align: left;
        font-size: 18px;
        line-height: 24px;
        max-width: 70px;
    }

.footer-right .buttton-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}

    .footer-right .buttton-wrapper a {
        display: inline-block;
        gap: 10px;
        font-size: 13px;
        line-height: normal;
        font-family: "Poppins", sans-serif;
        color: white;
        padding: 7px 14px;
        background-color: rgb(234, 29, 37);
        border-radius: 999px;
        text-decoration: none;
    }

        .footer-right .buttton-wrapper a i {
            margin-right: 10px;
        }

        .footer-right .buttton-wrapper a:last-child {
            border-radius: 4px;
        }

.footer-col h3 {
    margin-bottom: 15px;
    font-size: 22px;
    font-family: "Lora", serif;
    font-style: italic;
    display: inline-block;
    padding-bottom: 5px;
}


.footer-col ul {
    list-style: none;
    padding: 0;
    font-family: "Poppins", sans-serif;
}

    .footer-col ul li {
        margin: 8px 0;
    }

        .footer-col ul li a {
            color: #fff;
            text-decoration: none;
            transition: 0.3s;
            padding-left: 40px;
            position: relative;
        }

.line {
    height: 1px;
    width: 25px;
    position: absolute;
    content: '';
    left: 0;
    display: block;
    top: 50%;
    background-color: white;
}

.footer-col ul li a:hover {
    color: #ffdd57;
}

.social-page-instragrm {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
}

    .social-page-instragrm img {
        border-radius: 999px;
        width: 80px;
        height: 80px;
    }

.footer-sub-images {
    display: flex;
    align-items: start;
    gap: 10px;
    padding: 24px 0;
}

    .footer-sub-images img {
        width: 100%;
        aspect-ratio: 0.75 / 1;
        object-fit: cover;
    }

.social-page-instragrm h3 {
    margin-bottom: 10px;
    padding: 0;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin: 10px 0 25px;
}

    .social-icons a {
        color: #fff;
        font-size: 20px;
        transition: 0.3s;
    }

        .social-icons a:hover {
            color: #ffdd57;
        }

.subscribe input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: none;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
}

.subscribe button {
    width: 100%;
    padding: 12px;
    border: none;
    background: #e63946;
    color: #fff;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

    .subscribe button:hover {
        background: #ff4757;
    }

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    opacity: 0.8;
}

.social-page-instragrm img {
    max-width: none;
}



@media (max-width: 1024px) {
    .footer-container {
        flex-direction: column;
        max-width: 840px;
    }

    .footer-col {
        width: 100%;
    }

        .footer-col:not(:nth-child(4)) {
            margin-bottom: 35px;
        }

    .footer-right .footer-col:nth-child(1) {
        padding-right: 0;
    }

    .social-icons {
        margin: 0 0 25px 0;
    }

    .footer-left,
    .footer-right,
    .footer-col-wrapper {
        flex-direction: column;
    }

    .social-page-instragrm {
        margin-top: 0;
    }

    .footer-col-wrapper {
        margin-bottom: 60px;
    }

    .member-logo {
        margin: 0 0 25px 0;
    }

    .footer-right .buttton-wrapper {
        flex-direction: row;
    }

    .post-wrapper .post-description {
        height: 85px !important;
    }
}


@media only screen and (max-width: 768px) {
    .tablet-menu .desktop-menu {
        display: none;
    }

    .tablet-menu .menu-1 {
        display: flex;
    }

    .menu-1 .text-mobile {
        background-color: #ca1a20;
        padding: 10px 20px;
        border-radius: 50px;
        font-size: 12px;
        font-family: "Montserrat", sans-serif;
        font-weight: 600;
        color: #fff;
    }

    .menu-1 {
        display: flex;
        gap: 5px;
    }

    .tablet-menu .mobile-menu {
        display: block;
        background-color: #ca1a20;
        color: #fff;
        padding: 10px;
        border-radius: 100px;
        top: 0;
    }

    .hero h1 {
        font-size: 45px;
        line-height: 50px;
        position: absolute;
        bottom: 20px;
        right: 20px;
    }

    .footer-col-wrapper {
        margin-bottom: 60px;
    }

    .footer-right .buttton-wrapper {
        flex-direction: column;
    }

    .post-wrapper .post-description {
        height: 130px !important;
        text-align: center;
    }

    .post-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .footer-right .footer-col:nth-child(2) {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
}

@media (max-width: 425px) {
    .logo img {
        width: 100px;
    }

    .tablet-menu .mobile-menu-link .mobile-menu-1 {
        top: 40px;
    }
}


/* new css */

.post-wrapper {
    padding: 40px 0 15px 0;
    border-bottom: 1px solid white;
}

    .post-wrapper .author-card {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    .post-wrapper .author-img {
        height: 40px;
        width: 40px;
        border-radius: 999px;
        overflow: hidden;
    }

        .post-wrapper .author-img img {
            height: 100%;
            width: 100%;
        }

.post-wrapper {
    font-family: "Poppins", sans-serif;
}

    .post-wrapper .author-name {
        font-size: 14px;
        line-height: 20px;
        font-weight: 700;
        color: white;
    }

    .post-wrapper .post-time {
        font-size: 11px;
        line-height: 16px;
        font-weight: 700;
        color: #9197a3;
    }

    .post-wrapper .post-description {
        font-size: 16px;
        line-height: 22px;
        margin: 15px 0 10px 0;
        height: 135px;
        overflow: hidden;
    }

a {
    text-decoration: none;
}

.post-wrapper a {
    color: white;
}

.post-wrapper .media-link {
    margin: 10px 0 25px 0;
}

.post-wrapper .post-links {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    line-height: 15px;
    font-weight: 600;
}


.chat-message {
    width: 100%;
    padding: 0 16px;
}


.chat-message-box {
    display: flex;
    width: 100%;
    max-width: none;
}

.message-sent .chat-message-avatar {
    display: none;
}


.message-sent .chat-message-box {
    justify-content: flex-end;
}

.chat-message-body {
    max-width: min(720px, 76vw); 
}

.message-sent .chat-message-body {
    border-radius: 14px 14px 6px 14px;
    background: #e8f0ff;
    border: 1px solid #d8e3ff;
}

.message-recived .chat-message-body {
    border-radius: 14px 14px 14px 6px;
    background: #fff;
    border: 1px solid #eee;
}
form#sendForm
{
    width:100%;
}
    /* ================== Gallery (Polished) ================== */
    .isla-gallery {
        margin: 16px 0 8px;
        width: 100%;
    }

    .isla-gallery-title {
        font-family: "Poppins", sans-serif;
        font-weight: 600;
        margin: 0 0 12px;
        color: #2e0d64;
        font-size: 15px;
    }

    .isla-gallery-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }

    .isla-card {
        display: flex;
        flex-direction: column;
        border: 1px solid #eaeaea;
        border-radius: 12px;
        background: #fff;
        padding: 0;
        text-align: left;
        cursor: pointer;
        transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
        overflow: hidden;
        box-shadow: 0 2px 6px rgba(0,0,0,0.04);
        position: relative;
    }

        .isla-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 24px rgba(46, 13, 100, 0.12);
            border-color: #d8d8d8;
        }

        .isla-card:active {
            transform: translateY(0);
            box-shadow: 0 4px 8px rgba(46, 13, 100, 0.08);
        }

        .isla-card img {
            width: 100%;
            aspect-ratio: 4/3;
            object-fit: cover;
            display: block;
            background-color: #f7f7f7;
        }

    .isla-card-label {
        font-family: "Inter", sans-serif;
        font-size: 0.9rem;
        font-weight: 500;
        padding: 10px 12px;
        line-height: 1.3;
        color: #333;
    }

    /* ================== Image Preview Modal (Polished) ================== */
    .isla-preview-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10000;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 24px;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease-in-out;
    }
    
    .isla-preview-overlay[style*="display: block"], 
    .isla-preview-overlay[style*="display: flex"] {
        opacity: 1;
        pointer-events: auto;
    }

    .isla-preview-backdrop {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15, 23, 42, 0.85); /* Dark slate backdrop */
        backdrop-filter: blur(6px);
    }

    .isla-preview-modal {
        position: relative;
        background: #fff;
        border-radius: 20px;
        width: 100%;
        max-width: 960px;
        height: 85vh; /* Fixed height for consistency */
        max-height: 800px;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
        transform: scale(0.96);
        transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .isla-preview-overlay[style*="display: flex"] .isla-preview-modal {
        transform: scale(1);
    }

    .isla-preview-close {
        position: absolute;
        top: 16px;
        right: 16px;
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(0,0,0,0.05);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        line-height: 1;
        cursor: pointer;
        color: #1e293b;
        z-index: 20;
        transition: all 0.2s ease;
        backdrop-filter: blur(4px);
    }
    
    .isla-preview-close:hover { 
        background: #fff; 
        transform: rotate(90deg);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    /* Content Area: Nav Left, Image Center, Nav Right */
    .isla-preview-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex: 1;
        position: relative;
        padding: 0;
        min-height: 0;
        background-color: #f8fafc;
        overflow: hidden;
    }

    /* Navigation Buttons */
    .isla-preview-nav {
        background: rgba(255, 255, 255, 0.8);
        border: 1px solid rgba(0,0,0,0.05);
        width: 48px;
        height: 48px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        flex-shrink: 0;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        z-index: 15;
        margin: 0 16px;
        color: #334155;
    }

    .isla-preview-nav:hover {
        background: #fff;
        transform: scale(1.1);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        color: #0f172a;
    }
    
    .isla-preview-nav:active {
        transform: scale(0.95);
    }
    
    .isla-preview-nav svg { 
        width: 24px; 
        height: 24px; 
    }

    /* Image Container */
    .isla-preview-image-container {
        flex-grow: 1;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 40px 0 20px;
        position: relative;
    }

    #islaPreviewImage {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        border-radius: 4px;
        user-select: none;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    /* Info Overlay (Label + Counter) */
    .isla-preview-info-overlay {
        position: absolute;
        bottom: 24px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(8px);
        padding: 12px 24px;
        border-radius: 100px;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        text-align: center;
        max-width: 80%;
        z-index: 10;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
    }

    .isla-preview-label {
        font-family: "Poppins", sans-serif;
        font-size: 1.1rem;
        font-weight: 600;
        color: #1e293b;
        margin: 0;
    }

    .isla-preview-counter {
        font-family: "Inter", sans-serif;
        font-size: 0.8rem;
        font-weight: 500;
        color: #64748b;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    /* Footer / Actions */
    .isla-preview-footer {
        padding: 20px 24px;
        background: #fff;
        border-top: 1px solid #e2e8f0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
    }

    .isla-preview-select {
        background: #ca1a20; /* Brand Red */
        color: #fff;
        border: none;
        padding: 14px 40px;
        border-radius: 100px; /* Pill shape */
        font-family: "Poppins", sans-serif;
        font-weight: 600;
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.2s ease;
        box-shadow: 0 4px 6px rgba(202, 26, 32, 0.2);
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .isla-preview-select:hover {
        background: #b0171c;
        transform: translateY(-2px);
        box-shadow: 0 8px 15px rgba(202, 26, 32, 0.3);
    }

    .isla-preview-select:active {
        transform: translateY(0);
    }
    
    .isla-preview-select::before {
        content: "✓";
        font-weight: bold;
    }

    /* Mobile Responsiveness */
    @media (max-width: 768px) {
        .isla-preview-modal {
            height: 100%;
            max-height: 100%;
            border-radius: 0;
        }

        .isla-preview-close {
            top: 12px;
            right: 12px;
        }
        
        .isla-preview-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 40px;
            height: 40px;
            margin: 0;
            background: rgba(255, 255, 255, 0.9);
        }
        
        .isla-preview-nav.prev { left: 12px; }
        .isla-preview-nav.next { right: 12px; }
        
        .isla-preview-image-container {
            padding: 60px 0; /* Space for close button and nav */
        }
        
        #islaPreviewImage {
            max-width: 95%;
        }

        .isla-preview-info-overlay {
            width: 90%;
            bottom: 16px;
            padding: 10px 16px;
        }
        
        .isla-preview-select {
            width: 100%;
            justify-content: center;
        }
    }

    /* Floor plan lightbox (Base AV) */
    .isla-floorplan-overlay {
        position: fixed;
        inset: 0;
        z-index: 10050;
        display: none;
        align-items: center;
        justify-content: center;
        padding: 1rem;
    }

    .isla-floorplan-backdrop {
        position: absolute;
        inset: 0;
        background: rgba(15, 23, 42, 0.65);
        cursor: pointer;
    }

    .isla-floorplan-modal {
        position: relative;
        z-index: 1;
        max-width: min(96vw, 1100px);
        max-height: 90vh;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
        padding: 2.5rem 1rem 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .isla-floorplan-modal img {
        max-width: 100%;
        max-height: calc(90vh - 3rem);
        width: auto;
        height: auto;
        object-fit: contain;
        display: block;
    }

    .isla-floorplan-close {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 1px solid rgba(0, 0, 0, 0.08);
        background: rgba(255, 255, 255, 0.95);
        font-size: 1.5rem;
        line-height: 1;
        cursor: pointer;
        color: #1e293b;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 2;
    }

    .isla-floorplan-close:hover {
        background: #fff;
    }

    /* ================== Time chips ================== */
    .isla-timechips {
        margin: 12px 0;
    }

    .isla-timepicker-title {
        font-weight: 650;
        margin: 0 0 10px;
        font-size: 1rem;
        color: #1b2a3a;
    }

    .isla-timechips-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .isla-chip {
        padding: 8px 14px;
        border-radius: 999px;
        background: #f5f7fb;
        border: 1px solid #e2e8f0;
        cursor: pointer;
        font-size: .95rem;
        line-height: 1;
        transition: background .15s ease, border-color .15s ease, transform .05s ease;
    }

        .isla-chip:hover {
            background: #ecf2ff;
            border-color: #c7d8ff;
        }

        .isla-chip:active {
            transform: translateY(1px);
        }

        .isla-chip:focus-visible {
            outline: 3px solid #cfe3ff;
            outline-offset: 2px;
        }
    /* ================== Time picker ================== */
    .isla-timepicker {
        margin: 12px 0;
        padding: 14px;
        border: 1px solid #e8ecf2;
        border-radius: 14px;
        background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
        box-shadow: 0 6px 16px rgba(16, 24, 40, .06);
    }
    /* 2-column rows on wide screens, stacked on mobile */
    .isla-timepicker-row {
        display: grid;
        grid-template-columns: 90px 1fr;
        align-items: center;
        gap: 12px;
        margin: 10px 0;
    }

    @media (max-width: 520px) {
        .isla-timepicker-row {
            grid-template-columns: 1fr;
            gap: 6px;
        }
    }

    .isla-timepicker-row label {
        color: #334155;
        font-weight: 550;
        font-size: .95rem;
    }

    .isla-timepicker-row input[type="time"] {
        width: 160px;
        max-width: 100%;
        height: 42px;
        padding: 8px 10px;
        border: 1px solid #d9dee7;
        border-radius: 10px;
        background: #fff;
        font-size: 1rem;
        color: #0f172a;
        box-shadow: inset 0 1px 2px rgba(16,24,40,.04);
        transition: border-color .15s ease, box-shadow .15s ease;
    }

        .isla-timepicker-row input[type="time"]:hover {
            border-color: #cfd7e6;
        }

        .isla-timepicker-row input[type="time"]:focus {
            outline: none;
            border-color: #7aa7ff;
            box-shadow: 0 0 0 4px rgba(122,167,255,.20);
        }

    .isla-timepicker .btn-apply-time {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-top: 8px;
        padding: 10px 14px;
        border-radius: 10px;
        background: #ca1a20;
        color: #fff;
        border: 1px solid #a8151a;
        font-weight: 600;
        cursor: pointer;
        transition: transform .05s ease, box-shadow .15s ease, background .15s ease;
    }

        .isla-timepicker .btn-apply-time:hover {
            background: #a8151a;
            box-shadow: 0 8px 18px rgba(202,26,32,.20);
        }

        .isla-timepicker .btn-apply-time:active {
            transform: translateY(1px);
        }

        .isla-timepicker .btn-apply-time:focus-visible {
            outline: 3px solid rgba(202,26,32,.35);
            outline-offset: 2px;
        }

    /* ================== Multi-time picker ================== */
    .isla-multitime {
        margin: 12px 0;
        padding: 14px;
        border: 1px solid #e8ecf2;
        border-radius: 14px;
        background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
        box-shadow: 0 6px 16px rgba(16, 24, 40, .06);
    }

    .isla-multitime-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 12px 0;
    }

    @media (min-width: 520px) {
        .isla-multitime-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    .isla-mt-item {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .isla-mt-item label {
        color: #334155;
        font-weight: 550;
        font-size: .95rem;
    }

    .isla-mt-item .mt-input {
        width: 100%;
        height: 42px;
        padding: 8px 10px;
        border: 1px solid #d9dee7;
        border-radius: 10px;
        background: #fff;
        font-size: 1rem;
        color: #0f172a;
        box-shadow: inset 0 1px 2px rgba(16,24,40,.04);
        transition: border-color .15s ease, box-shadow .15s ease;
    }

    .isla-mt-item .mt-input:hover {
        border-color: #cfd7e6;
    }

    .isla-mt-item .mt-input:focus {
        outline: none;
        border-color: #7aa7ff;
        box-shadow: 0 0 0 4px rgba(122,167,255,.20);
    }

    .isla-multitime .btn-apply-multitime {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-top: 8px;
        padding: 10px 14px;
        border-radius: 10px;
        background: #ca1a20;
        color: #fff;
        border: 1px solid #a8151a;
        font-weight: 600;
        cursor: pointer;
        transition: transform .05s ease, box-shadow .15s ease, background .15s ease;
    }

    .isla-multitime .btn-apply-multitime:hover {
        background: #a8151a;
        box-shadow: 0 8px 18px rgba(202,26,32,.20);
    }

    .isla-multitime .btn-apply-multitime:active {
        transform: translateY(1px);
    }

    .isla-multitime .btn-apply-multitime:focus-visible {
        outline: 3px solid rgba(202,26,32,.35);
        outline-offset: 2px;
    }

    .isla-multitime .btn-apply-multitime:disabled {
        background: #9ca3af;
        border-color: #6b7280;
        color: #f3f4f6;
        cursor: not-allowed;
        opacity: 0.6;
    }

    .isla-multitime .btn-apply-multitime:disabled:hover {
        background: #9ca3af;
        box-shadow: none;
        transform: none;
    }

    /* Validation error styling */
    .isla-mt-item .mt-input.isla-error {
        border-color: #ef4444;
        background-color: #fef2f2;
        box-shadow: 0 0 0 4px rgba(239,68,68,.15);
    }

    .isla-mt-item .mt-input.isla-error:focus {
        border-color: #dc2626;
        box-shadow: 0 0 0 4px rgba(239,68,68,.25);
    }

    .isla-validation-error {
        margin: 12px 0 8px 0;
        padding: 10px 12px;
        background-color: #fef2f2;
        border: 1px solid #fecaca;
        border-radius: 8px;
        color: #991b1b;
        font-size: 0.9rem;
    }

    .isla-validation-error p {
        margin: 4px 0;
        line-height: 1.4;
    }

    .isla-validation-error p:first-child {
        margin-top: 0;
    }

    .isla-validation-error p:last-child {
        margin-bottom: 0;
    }


/* --- inline loading feedback on UI buttons --- */
.isla-busy {
    opacity: .6;
    pointer-events: none;
}

.isla-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    border-radius: 50%;
    border: 2px solid #cfd8e3; /* light ring */
    border-top-color: #ca1a20; /* accent */
    animation: isla-spin .8s linear infinite;
    vertical-align: text-bottom;
}

@keyframes isla-spin {
    to {
        transform: rotate(360deg);
    }
}

/* subtle inline 'thinking' line under the picker */
.isla-thinking {
    margin-top: 8px;
    font-size: .9rem;
    color: #667085;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .isla-thinking::before {
        content: "";
        width: 12px;
        height: 12px;
        border: 2px solid #cfd8e3;
        border-top-color: #ca1a20;
        border-radius: 50%;
        animation: isla-spin .8s linear infinite;
    }
.isla-busy {
    opacity: .75;
    position: relative;
}

.isla-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 8px;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,.15);
    border-top-color: rgba(0,0,0,.45);
    animation: isla-spin 0.8s linear infinite;
    vertical-align: -2px;
}

@keyframes isla-spin {
    to {
        transform: rotate(360deg);
    }
}

.isla-thinking {
    margin-top: 8px;
    font-size: .9rem;
    color: #6b7280;
}