@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg)
    }

    to {
        -webkit-transform: rotate(360deg)
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(360deg)
    }
}

@font-face {
    font-family:Karla-Bold;src:url(Karla-Bold.woff2);font-display:swap
}

@font-face {
    font-family:Karla;src:url(Karla-Regular.woff2);font-display:swap
}

#footer,body {
    flex-direction: column
}

:root {
    touch-action: pan-x pan-y;
    height: 100%;
}

body {
    isolation: isolate;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

#footer {
    text-align: center;
    padding: 5px;
    background-color: #000;
    color: #fff;
    justify-content: center
}

.bottomHeader {
    margin: 0
}

#footer,.termsAndPolicy,body {
    display: flex;
    align-items: center
}

#footer,.termsAndPolicy {
    width: 100%
}

.termsAndPolicy {
    justify-content: space-around;
    margin: 5px 0;
    max-width: 450px
}

.termsAndPolicy a {
    text-decoration: none;
    color: #fff;
    font-size: .8em
}

.poweredBy {
    flex-direction: row;
    margin-bottom: 7px;
    width: 100%;
    justify-content: center
}

.poweredBy p {
    margin: 12px 0 0;
    font-size: 13px
}

.poweredBy img {
    margin-left: 8px;
    width: 30px
}

#footer p {
    margin: 5px 0 0;
    font-size: .8em
}

* {
    -webkit-font-smoothing: antialiased;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: "Karla",sans-serif
}

#results,.loadingText,.poweredBy,footer {
    display: flex;
    align-items: center
}

#results,footer {
    flex-direction: column;
    width: 100%
}

.custom-completion {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 20px;
}

.customMessageCard {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.customCompletionLogo {
    max-width: 180px;
    display: block;
    margin: 0 auto;
}

.customMessageBody {
    font-size: 1.1em;
    color: var(--me-text, #0b2089);
    line-height: 1.5;
    white-space: pre-line;
    margin: 0;
}

.loadingText {
    flex-direction: column;
    justify-content: space-evenly
}

input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid #0b2089;
    padding: .3125em;
    margin: 4px 0 6px;
    color: #000;
    width: 100%;
    height: auto;
    border-radius: 5px
}

.tipsModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.5);
    z-index: 1000;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none
}

.tipsModal::-webkit-scrollbar {
    display: none
}

.tipsModalContent {
    background-color: #fff;
    margin: 5%auto 0;
    padding: 25px 45px;
    border-radius: 8px;
    max-width: 545px;
    box-shadow: 0 4px 8px rgba(0,0,0,.2)
}

.tipsContentHead b {
    font-size: 1.5em;
    display: block;
    margin-bottom: 10px
}

.tipsContentBody h2 {
    margin-top: 20px
}

.tipsModalActions {
    text-align: right;
    margin-top: 20px
}

.bodySection {
    display: flex;
    flex-direction: column;
    margin: 25px 0
}

#openTips {
    display: flex;
    align-items: center;
    position: absolute;
    right: -28px;
    color: gray;
    cursor: pointer;
    user-select: none
}

#openTips img {
    width: 27px
}

#tipsModal p {
    margin: 0;
    line-height: 1.4em
}

.goodAndBadPics {
    margin-top: 25px;
    width: 100%;
    display: flex;
    justify-content: space-around
}

.goodAndBadPics img {
    width: 150px;
    height: 100%
}

.generateCustomerInfo {
    max-width: 650px;
    padding: 3px
}

#generate,#input {
    width: 100%;
    display: flex;
    flex-direction: column
}

#input {
    align-items: center;
    max-width: 650px
}

#generate {
    height: 100%;
    overflow: hidden
}

:focus {
    outline: 0
}

.modal,.modal-content {
    width: 100%;
    align-items: center;
    justify-content: center
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    background-color: rgba(0,0,0,.5);
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: opacity .3s ease,visibility .3s ease
}

.modal.show {
    display: flex!important;
    visibility: visible;
    opacity: 1
}

.modal-content {
    background: #fff;
    padding: 14px 20px;
    position: absolute;
    bottom: 0;
    display: flex
}

.modal-content h2 {
    margin-top: 0
}

.textarea {
    resize: none;
    border-radius: 5px;
    margin-right: 30px
}

.textarea p,.tool-contact-intro h2,body {
    margin: 0
}

.modal-actions button {
    color: #fff;
    border: 0;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%
}

.modal-actions button:hover {
    background: #0a1d77
}

#login_form {
    z-index: 500
}

#login_form input {
    border-radius: 5px;
    padding: .5em
}

.loginSubmit {
    background-color: #0b2089;
    color: #fff;
    cursor: pointer
}

.loginPageTop {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0
}

.loginPageTop img {
    width: 70%;
    max-width: 550px
}

.inputLogin,.loginPageTop {
    position: relative;
    margin: 15px 30px
}

.bottom {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    padding-bottom: 20px;
    margin-top: 40px;
}
.all-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-bottom: 10px;
    width: 100%;
    align-items: center;
}

.bottom {
    max-width: 1669px
}

.contentArea {
    background-color: #fff;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 0 10px 0#333;
    padding: 10px 5px
}

.button:active {
    background-color: #0a1d77;
    cursor: grabbing
}

.checked {
    color: orange
}

#finalSummaryBox,.topnav {
    display: flex;
    align-items: center
}

.topnav {
    justify-content: space-between;
    position: relative;
    width: 100%;
    max-width: unset;
    margin-top: 0;
    padding: 15px 44px 0;
    background-color: #fff
}

#finalSummaryBox {
    flex-direction: column;
    justify-content: center
}

.topnav .icon {
    display: none
}

.topnav img {
    max-width: 320px;
    width: unset;
    min-width: 78px;
    user-select: none
}

#snackbar,.topnav a {
    text-align: center
}

.loginInputSection,textarea {
    width: 100%;
    color: #000
}

textarea {
    border: .0625em solid #0b2089;
    padding: .3125em;
    margin: 4px 0 6px;
    height: auto
}

form input,textarea {
    font-size: 18px
}

.contact {
    position: relative
}

.error_text {
    display: none;
    color: #f06060;
    font-style: italic
}

.formDiv {
    max-width: 650px;
    margin: 0 auto
}

.formDiv label {
    font-size: 20px;
    color: #0b2089
}

.roomMeta {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap
}

.roomMeta1 {
    width: calc(50% - 10px)
}

.r_name {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 15px;
}

.button {
    width: fit-content;
    background-color: #0b2089;
    color: #fff;
    padding: 10px 55px;
    border: 0;
    cursor: pointer;
    margin: 15px 0;
    text-decoration: none;
    user-select: none;
    font-size: 18px;
    border-radius: 5px
}

.bottomButtons,.room {
    width: 100%;
    padding: 1px
}

.bottomButtons {
    display: none;
    flex-direction: column;
    align-items: center
}

.roomSelect {
    min-width: 180px
}

.bottomButtons button {
    width: 190px;
    padding: 10px 12px;
    margin: 5px
}

.picturesForRoom {
    display: flex;
    align-items: center;
    justify-content: center
}

#snackbar {
    display: none;
    min-width: 250px;
    background-color: #333;
    color: #fff;
    padding: 16px;
    position: fixed;
    z-index: 1000;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    box-shadow: 0 4px 8px rgba(0,0,0,.3);
    word-wrap: break-word
}

#snackbar.show {
    display: block;
    -webkit-animation: fadein .5s,fadeout .5s 2.5s;
    animation: fadein .5s,fadeout .5s 2.5s
}

.button:focus,.button:hover {
    background-color: #0a1d77
}

.loader {
    border: 5px solid #f3f3f3;
    border-radius: 100%;
    border-top: 5px solid #0b2089;
    width: 20px;
    height: 20px;
    -webkit-animation: spin 1.5s linear infinite;
    animation: spin 1.5s linear infinite
}

.menu-icon {
    display: none;
    cursor: pointer;
    color: #000;
    font-size: 43px;
    position: absolute;
    right: 20px;
    top: 40px;
    transform: translateY(-50%);
    z-index: 101
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 55px;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,.1);
    padding: 15px;
    z-index: 100
}

.mobile-menu a.login-btn {
    display: block;
    width: 100%;
    margin: 0;
    text-align: center
}

.nav-links {
    display: flex;
    align-items: center
}

@keyframes pulse-border {
    0%   { box-shadow: 0 0 0 rgba(255,0,0,0); }
    50%  { box-shadow: 0 0 8px rgba(255,0,0,0.8); }
    100% { box-shadow: 0 0 0 rgba(255,0,0,0); }
}

.__highlight__ {
    animation: pulse-border 1.5s ease-out;
}

@media screen and (max-width:768px) {
    .nav-links .login-btn {
        display: none
    }

    .menu-icon,.mobile-menu.active {
        display: block
    }

    .topnav {
        text-align: center;
        justify-content: center
    }

    #nextAfterCusInfo {
        width: 100%
    }
    
    .bottom {
        padding-bottom: 10px;
        margin-top: 0 !important;
    }
    
    footer {
        margin-top: auto;
    }
}

@media screen and (max-width:410px) {
    .swiperMobileImage {
        display: block
    }

    .swiperDesktopImage {
        display: none
    }

    .tipsModalContent {
        padding: 25px
    }
}

@media screen and (max-width:600px) {
    .bottomButtons {
        flex-direction: column;
        align-items: center;
        width: 100%
    }

    .bottomButtons button, .room, .roomMeta1, .summary table {
        width: 100%
    }

    .imageSelector {
        padding: 10px
    }

    .summary {
        text-align: center
    }

    .modal-content, .summary {
        flex-direction: column
    }

    .modal-actions {
        width: 100%;
        margin-top: 10px
    }

    .loginPageTop img {
        width: 90%
    }

    .r_name {
        margin: 0;
    }
}
@media screen and (max-width:700px) {
    #input,#results {
        width: 90%
    }
}

.contactRows input,.d_r,.roomSelect {
    padding: 12px 15px;
    border: 1px solid #6ce1fe;
    width: 100%;
    margin: 10px 0;
    box-shadow: 0 0 2px 0#6ce1fe
}

.contactRows input {
    border-radius: 8px;
    color: #0b2089;
    font-size: 1.2rem
}

.d_r,.roomSelect {
    border-radius: 9px;
    background-color: #fff;
    font-size: 18px
}

.d_r {
    text-align: center;
    font-weight: 700
}

.contactRows input::placeholder {
    text-align: center
}

#nextAfterCusInfo {
    margin: 2px 0 0;
    padding: 15px;
    font-weight: 700;
    border-radius: 8px;
    width: 100%;
    box-shadow: 1px 1px 3px 0#6ce1fe
}

#waitingMessage {
    margin: 3px 0 4px;
    font-size: 16px;
    color: red
}

#waitingMessage,.tool-contact-intro,th[colspan="2"] {
    text-align: center
}

.tool-contact-intro p {
    margin: 10px 0;
    line-height: 26px;
    font-size: 17px;
}

.nextbuttoncontainer {
    text-align: center;
    padding: 3px
}

.step-container {
    width: 100%;
    margin: 10px 0;
    max-width: 650px;
    position: relative
}

.step-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px
}

.step-number {
    font-weight: 700;
}

.step-progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden
}

.step-progress-fill {
    height: 100%;
    background-color: #6ce1fe;
    width: 33%;
    transition: width .3s
}

.select-wrapper {
    position: relative;
    width: 100%
}

.select-wrapper::after,.select-wrapper::before {
    position: absolute;
    top: 60%;
    pointer-events: none;
    z-index: 1
}

.select-wrapper::before {
    content: "";
    left: 17px;
    transform: translateY(-50%);
    width: 25px;
    height: 28px;
    background-size: contain;
    background-image: url(../icons/toolNavbar/LayerIcon.svg);
    background-repeat: no-repeat;
    background-position: center
}

.select-wrapper::after {
    content: "›";
    right: 25px;
    transform: translateY(-50%) rotate(90deg);
    color: #06c;
    font-size: 30px
}

.styled-select {
    background-color: #fff;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    color: #06c;
    font-weight: 500;
    font-size: 18px;
    text-align: center
}

.styled-select:hover {
    border-color: rgba(0,150,255,.5)
}

.styled-select:focus {
    outline: 0;
    border-color: rgba(0,150,255,.7);
    box-shadow: 0 2px 12px rgba(0,150,255,.2)
}

.styled-select::-ms-expand {
    display: none
}

.roomLabel{
    font-size: 17px;
    margin: 4px 0 -2px 8px;
    display: block;
}

.roomPictures{
    margin-top: 15px;
}

.roomNameLabel{
    font-size: 1.3em;
    font-weight: 700;
}

.bottomButtons .button,.imageSelector {
    margin: 7px 0;
    padding: 11px 15px;
    font-weight: 700;
    border-radius: 8px;
    width: 100%;
    box-shadow: 1px 1px 3px 0#6ce1fe
}

.buttonwithimg img {
    height: 27px;
    margin-right: 12px
}

.buttonwithimg {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 15px;
}

.completebutton {
    padding: 18px!important;
    width: max-content!important;
    font-size: 24px;
    color: #6ce1fe;
}

.completebutton img {
    height: 45px
}

.photoCount {
    margin-left: 10px
}

.roomPicturesPreview {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #f2f2f2;
}

.imageWrapper {
    position: relative;
    height: 160px;
    overflow: hidden;
    border-radius: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
    margin: 5px;
}

.foldedImages{
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    justify-content: start;
    max-height: 195px;
    width: 100%;
    background-color: #e5e5e5;
    border-radius: 12px;
}

.foldedImage{
    width:100%;
    background: #efefef;
    padding: 4px;
    margin-bottom: 4px;
    cursor: pointer;
}

.removeOverlay {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgb(154 154 154 / 59%);
    color: #ffffffa6;
    font-size: 39px;
    padding: 2px 5px;
    border-radius: 2%;
    cursor: pointer;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
}

.removeOverlay:hover {
    background-color: rgb(127 127 127 / 52%);
}

@media screen and (max-width:700px) {
    .step-container {
        width: 90%
    }
}

#totalSummaryBox {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    max-width: 650px
}

#finalSummaryBox {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,.1)
}

.finalTotalTable,.totalSummaryTable {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial,sans-serif;
    background-color: #fff;
    text-align: left;
}
.finalTotalTable th, .finalTotalTable tr, .finalTotalTable td {
    border: none !important;
}

.totalSummaryTable tbody tr {
    border-bottom: 1px solid #c9f4ff;
    border-left: 1px solid #c9f4ff;
    border-right: 1px solid #c9f4ff
}

th {
    background-color: #e6f1f9;
    color: #0b3d89;
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #c9f4ff
}

td {
    padding: 10px 15px;
    border-bottom: 1px solid #c9f4ff
}

td:first-child {
    color: #0b3d89
}

td:nth-child(2) {
    text-align: right;
    color: #0b3d89;
    font-weight: 500
}

tbody tr:nth-child(odd) {
    background-color: #fff
}

tbody tr:nth-child(even) {
    background-color: rgba(108,225,254,.1)
}

.finalTotalTable th {
    background-color: #6ce1fe;
    color: #000;
    text-align: center
}

.finalTotalTable td:first-child {
    font-weight: 700;
    text-align: right;
}

#contactButton {
    padding: 16px 32px;
    border: 0;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    margin: 24px auto;
    display: block;
    font-size: 16px
}

#finalSummaryBox,#totalSummaryBox.summary {
    display: block!important
}

.roomName {
    font-size: 125%;
    border: 0;
    background-color:white;
    color:black;
    padding:0;
    display: flex;
    align-items: center
}

.roomName img {
    width: 45px;
    margin-right: 10px
}

/* ---------------- dynamic overrides ---------------- */
body{background-color:var(--me-bg);}
input,textarea,select{background:#fff;color:var(--me-hover)!important;border:.0625em solid var(--me-bg);}
p,.step-info,.explanationSection p{color:var(--me-text)!important;}
.button{background:var(--me-button);color:var(--me-button-text);}
.button:hover,.button:focus{background-color:var(--me-hover);color:var(--me-hover-text)!important;}
.totalSummaryTable tr{border-bottom:1px solid var(--me-button)!important;border-left:1px solid var(--me-button)!important;border-right:1px solid var(--me-button)!important;}
.modal-actions button:hover{background-color:var(--me-hover);}
.totalSummaryTable th{background-color:var(--me-hover);color:#fff;}
.finalTotalTable td{color:var(--me-text)!important;}
.step-progress-fill{background-color:var(--me-button);}
.contactRows input{border:1px solid var(--me-button);box-shadow:0 0 2px 0 var(--me-button);}
.contactRows input::placeholder,.d_r::placeholder,.roomSelect::placeholder{color:var(--me-hover);font-weight:700;font-size:1.2rem;}
#nextAfterCusInfo{box-shadow:1px 1px 3px 0 var(--me-button);}
.d_r,.roomSelect{border:1px solid var(--me-button);box-shadow:0 0 2px 0 var(--me-button);background-color:#fff;}
.bottomButtons .button,.imageSelector{box-shadow:1px 1px 3px 0 var(--me-button);}
.totalSummaryTable,.finalTotalTable{background-color:var(--me-bg);}
.totalSummaryTable td{color:var(--me-text)!important;}
td{border-bottom:1px solid var(--me-button)!important;}
.completebutton{color:var(--me-button-text);}
.loader-big{border-top:5px solid var(--me-button);}
/* Removed loader styles - no longer needed */

/* Button text layout */
#nextAfterCusInfo {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-weight: 600;
    min-height: 48px;
    padding: 12px 24px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

/* Add a subtle pulse animation for disabled state */
#nextAfterCusInfo:disabled::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Enhanced button styling */
#nextAfterCusInfo:not(:disabled) {
    background: var(--me-button);
    color: var(--me-button-text);
    border: 1px solid var(--me-button);
    box-shadow: 1px 1px 3px 0 var(--me-button);
}

#nextAfterCusInfo:not(:disabled):hover {
    background: var(--me-hover);
    color: var(--me-hover-text);
    transform: translateY(-1px);
    box-shadow: 2px 2px 6px 0 var(--me-button);
}

#nextAfterCusInfo:not(:disabled):active {
    transform: translateY(0);
    box-shadow: 1px 1px 3px 0 var(--me-button);
}

/* NUCLEAR OPTION - Force disabled button styling with maximum specificity */
body .nextbuttoncontainer #nextAfterCusInfo:disabled,
body .nextbuttoncontainer #nextAfterCusInfo:disabled:hover,
body .nextbuttoncontainer #nextAfterCusInfo:disabled:focus,
body .nextbuttoncontainer #nextAfterCusInfo:disabled:active,
html body .nextbuttoncontainer #nextAfterCusInfo:disabled,
html body .nextbuttoncontainer #nextAfterCusInfo:disabled:hover,
html body .nextbuttoncontainer #nextAfterCusInfo:disabled:focus,
html body .nextbuttoncontainer #nextAfterCusInfo:disabled:active {
    background: #e0e0e0 !important;
    background-color: #e0e0e0 !important;
    color: #999 !important;
    cursor: not-allowed !important;
    opacity: 0.7 !important;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1) !important;
    border: 1px solid #d0d0d0 !important;
    pointer-events: none !important;
    transform: none !important;
    outline: none !important;
    font-weight: 500 !important;
}

/* Override ALL button disabled states with maximum specificity */
html body .button:disabled,
html body .button:disabled:hover,
html body .button:disabled:focus,
html body .button:disabled:active,
body .button:disabled,
body .button:disabled:hover,
body .button:disabled:focus,
body .button:disabled:active {
    background: #e0e0e0 !important;
    background-color: #e0e0e0 !important;
    color: #999 !important;
    cursor: not-allowed !important;
    opacity: 0.7 !important;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1) !important;
    border: 1px solid #d0d0d0 !important;
    pointer-events: none !important;
    font-weight: 500 !important;
    transform: none !important;
    outline: none !important;
}

/* Success state */
.verification-success .status-icon .loader {
    display: none;
}

.verification-success .status-icon::before {
    content: "✓";
    font-size: 16px;
    color: #34A853;
    font-weight: bold;
}

.verification-success {
    background: rgba(52, 168, 83, 0.1);
    color: #34A853;
}

/* Error state */
.verification-error .status-icon .loader {
    display: none;
}

.verification-error .status-icon::before {
    content: "⚠";
    font-size: 16px;
    color: #EA4335;
    font-weight: bold;
}

.verification-error {
    background: rgba(234, 67, 53, 0.1);
    color: #EA4335;
}