﻿/* ========================================
   GLOBAL STYLES - NO SCROLLBARS
======================================== */
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

/* ========================================
   GLOBAL CONTAINER STYLES
======================================== */
.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
    width: 100% !important;
    padding-right: 3rem !important;
    padding-left: 3rem !important;
    margin-right: auto !important;
    margin-left: auto !important;
    margin-top: 2rem;
}

.right-section {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.mainBody {
    height: 80vh;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 1rem;
    overflow: hidden;
}

.header-nav {
    font-size: 22px;
    font-weight: 600;
}

.header-divider {
    display: none;
}

/* ========================================
   KENDO SPLITTER STYLES
======================================== */
div#splitterMarketingUrl {
    width: 100% !important;
    height: 100% !important;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border: none !important;
    overflow: hidden !important;
}

div#splitterMarketingUrl.k-splitter {
    width: 100% !important;
    height: 100% !important;
    border-radius: 10px;
    border: none !important;
    overflow: hidden !important;
}

div#splitterMarketingUrl .k-pane {
    width: 100% !important;
    height: 100% !important;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    overflow: hidden !important;
}

div#splitterMarketingUrl iframe.k-content-frame {
    width: 100% !important;
    height: 100% !important;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border: none !important;
    overflow: hidden !important;
}

div#splitterMarketingUrl,
div#splitterMarketingUrl .k-splitter,
div#splitterMarketingUrl .k-pane,
div#splitterMarketingUrl iframe.k-content-frame {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

div#splitterMarketingUrl::-webkit-scrollbar,
div#splitterMarketingUrl .k-splitter::-webkit-scrollbar,
div#splitterMarketingUrl .k-pane::-webkit-scrollbar,
div#splitterMarketingUrl iframe.k-content-frame::-webkit-scrollbar {
    display: none;
}

/* ========================================
   FOOTER SECTION STYLES
======================================== */
.fixedBottom {
    position: absolute !important;
    bottom: 14px !important;
    left: 3rem !important;
    right: 50% !important;
    z-index: 1030 !important;
    padding-right: 2rem !important;
}

/* ========================================
   DESKTOP STYLES (992px and above)
======================================== */
@media (min-width: 992px) {
    .desktop-layout {
        display: flex !important;
        height: 100vh;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        padding-left: 3rem;
        padding-right: 3rem;
        gap: 2rem;
    }

    .left-section {
        flex: 0 0 calc(50% - 1rem);
        max-width: calc(50% - 1rem);
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .right-section {
        flex: 0 0 calc(50% - 1rem);
        max-width: calc(50% - 1rem);
        border-radius: 10px;
        padding: 0.3rem;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
        cursor: pointer;
        overflow: hidden;
        transform-origin: center center;
    }

    .right-section:hover {
        transform: scale(1.03);
        z-index: 10;
    }

    .promo-container {
        width: 100% !important;
        height: 100% !important;
        overflow: hidden !important;
        transition: transform 0.3s ease-in-out;
    }

    .mobile-footer {
        display: none !important;
    }

    body:has(.right-section:hover) {
        overflow: hidden;
    }

    .frmTextField {
        font-family: Montserrat, sans-serif;
        width: 100%;
        max-width: 425px;
    }

    .dvErrorMessage {
        font-family: Montserrat, sans-serif;
        width: 100%;
        max-width: 425px;
        margin-top: 8px;
    }
}

/* ========================================
   FALLBACK FOR BROWSERS WITHOUT :has() SUPPORT
======================================== */
@media (min-width: 992px) {
    body.hover-zoom-active {
        overflow: hidden !important;
    }

    .desktop-layout.hover-zoom-active {
        overflow: hidden !important;
    }

    .right-section.zoom-active {
        transform: scale(1.03);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
        z-index: 10;
    }
}

/* ========================================
   TABLET STYLES (768px to 991.98px)
======================================== */
@media (min-width: 768px) and (max-width: 991.98px) {
    .desktop-layout {
        display: flex !important;
        flex-direction: column !important;
        height: 100vh !important;
        overflow: hidden !important;
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }

    .container {
        width: 100% !important;
        margin-top: 0.5rem !important;
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }

    .header-flex {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 1rem !important;
        margin-bottom: 1rem !important;
        padding: 1rem 0;
    }

    .header-flex img {
        max-width: 280px;
        height: auto;
    }

    .header-nav {
        margin-right: 0 !important;
        font-weight: 600;
        font-size: 22px;
        gap: 2.5rem;
        justify-content: center;
    }

    .header-nav a {
        font-size: 22px !important;
    }

    .header-divider {
        display: block !important;
        width: 100% !important;
        height: 1px !important;
        background-color: #000 !important;
        opacity: 1.0;
        border: none !important;
    }

    .mainBody {
        height: auto !important;
        padding: 1rem 0;
        margin-bottom: 1rem;
        flex: 1;
        overflow: hidden;
    }

    .left-section {
        order: 1;
        display: flex;
        flex-direction: column;
        flex: 0 0 auto;
        min-height: 0;
        overflow: hidden;
    }

    .right-section {
        order: 2;
        background-color: #d6ebf5 !important;
        border-radius: 10px;
        padding: 0.5rem !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        flex: 1;
        display: block !important;
        margin: 0 !important;
        transform: none !important;
        transition: none !important;
        cursor: default !important;
    }

    .right-section:hover {
        transform: none !important;
    }

    .mobile-footer {
        order: 3;
        position: static !important;
        padding: 0.5rem 2rem;
        width: 100% !important;
        text-align: center !important;
        flex-shrink: 0;
    }

    .fixedBottom {
        display: none !important;
    }

    .promo-container {
        width: 100% !important;
        height: 100% !important;
        padding: 0 !important;
        text-align: center;
        overflow: visible !important;
    }

    .footerText {
        font-size: 0.8rem !important;
        text-align: center !important;
        padding: 0 0.5rem !important;
    }

    .footerText a {
        font-size: 0.8rem !important;
    }
}

/* ========================================
   MOBILE STYLES (576px to 767.98px)
======================================== */
@media (min-width: 576px) and (max-width: 767.98px) {
    .desktop-layout {
        display: flex !important;
        flex-direction: column !important;
        height: 100vh !important;
        overflow: hidden !important;
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }

    .container {
        width: 100% !important;
        margin-top: 0.5rem !important;
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }

    .header-flex {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 1rem !important;
        margin-bottom: 1rem !important;
        padding: 1rem 0;
    }

    .header-flex img {
        max-width: 280px;
        height: auto;
    }

    .header-nav {
        margin-right: 0 !important;
        font-weight: 600;
        font-size: 22px;
        gap: 2rem;
        justify-content: center;
    }

    .header-nav a {
        font-size: 22px !important;
    }

    .header-divider {
        display: block !important;
        width: 100% !important;
        height: 1px !important;
        background-color: #000 !important;
        opacity: 1.0;
        border: none !important;
    }

    .mainBody {
        height: auto !important;
        padding: 1rem 0;
        margin-bottom: 1rem;
        flex: 1;
        overflow: hidden;
    }

    .left-section {
        order: 1;
        display: flex;
        flex-direction: column;
        flex: 0 0 auto;
        min-height: 0;
        overflow: hidden;
    }

    .right-section {
        order: 2;
        background-color: #d6ebf5 !important;
        border-radius: 10px;
        padding: 0.5rem !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        flex: 1;
        display: block !important;
        margin: 0 !important;
        transform: none !important;
        transition: none !important;
        cursor: default !important;
    }

    .right-section:hover {
        transform: none !important;
    }

    .mobile-footer {
        order: 3;
        position: static !important;
        padding: 0.5rem 2rem;
        width: 100% !important;
        text-align: center !important;
        flex-shrink: 0;
    }

    .fixedBottom {
        display: none !important;
    }

    .promo-container {
        width: 100% !important;
        height: 100% !important;
        padding: 0 !important;
        text-align: center;
        overflow: visible !important;
    }

    .footerText {
        font-size: 0.7rem !important;
        text-align: center !important;
        padding: 0 0.5rem !important;
    }

    .footerText a {
        font-size: 0.8rem !important;
    }
}

/* ========================================
   SMALL MOBILE STYLES (up to 575.98px)
======================================== */
@media (max-width: 575.98px) {
    .desktop-layout {
        display: flex !important;
        flex-direction: column !important;
        height: 100vh !important;
        overflow: hidden !important;
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    .container {
        width: 100% !important;
        margin-top: 0.5rem !important;
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    .header-flex {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .header-nav {
        margin-right: 0 !important;
        font-weight: 600;
        font-size: 22px;
        justify-content: center;
    }

    .header-nav a {
        font-size: 22px !important;
    }

    .header-divider {
        display: block !important;
        width: 100% !important;
        height: 1px !important;
        background-color: #000 !important;
        opacity: 1.0;
        border: none !important;
    }

    .mainBody {
        height: auto !important;
        padding: 1rem 0;
        margin-bottom: 1rem;
        flex: 1;
        overflow: hidden;
    }

    .left-section {
        order: 1;
        display: flex;
        flex-direction: column;
        flex: 0 0 auto;
        min-height: 0;
        overflow: hidden;
    }

    .right-section {
        order: 2;
        background-color: #d6ebf5 !important;
        border-radius: 10px;
        padding: 0.5rem !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        flex: 1;
        display: block !important;
        margin: 0 !important;
        transform: none !important;
        transition: none !important;
        cursor: default !important;
    }

    .right-section:hover {
        transform: none !important;
    }

    .mobile-footer {
        order: 3;
        position: static !important;
        padding: 0.5rem 1.5rem;
        width: 100% !important;
        text-align: center !important;
        flex-shrink: 0;
    }

    .fixedBottom {
        display: none !important;
    }

    .promo-container {
        width: 100% !important;
        height: 100% !important;
        padding: 0 !important;
        text-align: center;
        overflow: visible !important;
    }

    .footerText {
        font-size: 0.65rem !important;
        text-align: center !important;
        padding: 0 0.3rem !important;
        line-height: 1.3;
    }

    .footerText a {
        font-size: 0.65rem !important;
    }

    .footerText br {
        display: block;
    }
}