body {
    background: url('../assets/main-background.svg') center top no-repeat #333;
}

.col6 {
    padding: 100px 24px 30px;
}

.logo {
    width: 180px;
}

.text-date {
    margin-top: 0px;
}

.sign-in-btn {
    margin-top: 0px;
}

.btn-primary.rounded {
    background: #1800e7;
    padding: 10px 30px;
    font-size: 32px;
    text-transform: uppercase;
    width: 400px;
    max-width: 100%;
    border-radius: 50px !important;
}

.masthead {
    margin: 0px auto;
}

.masthead-wrapper p {
    padding: 30px 0px;
    font-size: 24px;
    text-align: center;
}

.date-wrapper {
    text-align: center;
    width: 800px;
    max-width: 100%;
}

.date {
    color: #1800E7;
    font-size: 60px;
    font-weight: 400;
    padding: 30px 0px;
}

#countdown {
    display: block;
    color: #1800E7;
    padding: 20px 0px;
    text-transform: uppercase;
}

#countdown .col-3 {
    position: relative;
}

#countdown .col-3::before {
    content: '';
    height: 80%;
    border-left: #CCC solid 1px;
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translate(0, -50%);
}

#countdown .col-3.no-border::before {
    display: none;
}

#countdown .digit {
    font-size: 64px;
}

#countdown .desc {
    background: rgba(24, 0, 231, 0.5);
    display: inline-block;
    color: white;
    padding: 0px 10px;
    border-radius: 5px;
}

@media (max-width: 767px) {
    .masthead-wrapper p {
        font-size: 20px;
    }

    .masthead-wrapper p br {
        display: none;
    }

    .date {
        font-size: 36px;
    }

    .btn-primary.rounded {
        font-size: 20px;
        width: 300px;
    }

    #countdown .digit {
        font-size: 50px;
    }

    #countdown .desc {
        font-size: 14px;
    }
}

/* ── Welcome page ────────────────────────────────────────── */
body.page-welcome {
    background: #333;
}

body.page-welcome .col6 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 24px 40px;
    gap: 10px;
}

body.page-welcome .logo {
    width: 90px;
}

body.page-welcome .masthead {
    max-width: 280px;
    width: 100%;
}

body.page-welcome .masthead-wrapper p {
    padding: 25px 0px 0px 0px;
    font-size: 14px;
}

body.page-welcome .date-wrapper {
    padding: 5px 0px;
}

body.page-welcome .date {
    font-size: 30px;
    font-weight: 300;
    padding: 25px 0px 0px 0px;
}

body.page-welcome .venue {
    font-size: 18px;
    text-align: center;
    color: #333;
    padding: 5px 0px;
}

@media (max-width: 767px) {
    body.page-welcome .col6 {
        padding: 40px 20px 30px;
    }
}

/* ── Register page ────────────────────────────────────────── */
body.page-register {
    background: #333;
}

body.page-welcome .container {
    background: url('../assets/main-background.svg') center top no-repeat #333;
    background-size: cover;
    min-height: 100vh;
}

body.page-register .container {
    background: url('../assets/sub-background.svg') center top no-repeat #FFF;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 0;
}

body.page-register .col6 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    gap: 24px;
    flex: 1;
}

.logo-wrapper {
    display: flex;
    width: 100%;
    max-width: 500px;
}

body.page-register .logo {
    position: static;
    margin-left: 0;
    translate: none;
    width: 100px;
    height: auto;
}

body.page-register .card {
    width: 100%;
    max-width: 500px;
    padding: 10px 24px;
    border-radius: 24px;
    gap: 0;
    background: white;
    display: flex;
    flex-direction: column;
}

body.page-register .card .mb-3 {
    margin-bottom: 16px;
}

body.page-register .form-label {
    font-size: 16px;
    margin-bottom: 6px;
}

body.page-register .form-control {
    padding: 12px 16px;
    border-radius: 12px;
    background: #e8e8e8;
    border: none;
    font-size: 16px;
}

body.page-register .btn-primary.rounded {
    font-size: 20px;
    width: 300px;
    /* padding: 14px 30px; */
}

.footer {
    align-self: center;
}

@media (max-width: 767px) {
    body.page-register .logo {
        width: 80px;
    }

    .btn-continue {
        height: auto;
        width: 300px;
    }
}

/* ── Scan page ────────────────────────────────────────── */
body.page-scan {
    padding: 0px;
    background: #333;
}

body.page-scan .container {
    background: white;
}

body.page-scan .col6 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px 30px 30px 30px;
    /* gap: 30px; */
}

body.page-scan .logo,
body.page-scan .lipsum {
    position: static;
}

body.page-scan .logo-wrapper {
    display: flex;
    width: 887px;
    max-width: 100%;
}

body.page-scan .text-wrapper {
    padding: 0px 0px 30px 0px;
}

body.page-scan .text-wrapper h3 {
    font-size: 60px;
    font-weight: 400;
}

body.page-scan p {
    font-size: 14px;
}

body.page-scan .frame {
    width: 100%;
    height: auto;
}

body.page-scan .face-wrapper {
    position: relative;
}

body.page-scan .temp-face {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

body.page-scan .btn-primary.rounded {
    margin: 50px 0px 30px 0px;
    background: #1800e7;
    padding: 10px 30px;
    font-size: 32px;
    text-transform: uppercase;
    width: 400px;
    max-width: 100%;
    border-radius: 50px !important;
}

@media (max-width: 767px) {
    body.page-scan .logo {
        width: 70px;
    }

    body.page-scan .text-wrapper h3 {
        font-size: 30px;
    }

    body.page-scan .btn-primary.rounded {
        font-size: 20px;
        width: 300px;
    }
}

/* ── Scanning page ────────────────────────────────────────── */
html:has(body.page-scanning) {
    overflow: hidden;
    width: 100%;
}

html:has(body.page-scanning)::-webkit-scrollbar,
body.page-scanning::-webkit-scrollbar {
    display: none;
    width: 0;
}

body.page-scanning {
    margin: 0;
    padding: 0;
    gap: 0;
    background: #000;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    scrollbar-width: none;
    position: static;
    display: block;
}

body.page-scanning .col6 {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* padding: 30px; */
    padding: 0px 30px;
    gap: 20px;
    height: 100%;
    position: relative;
    z-index: 1;
}

body.page-scanning .container {
    background: url('../assets/selfie-image.jpg') center center no-repeat #000;
    background-size: cover;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    padding: 0;
    max-width: 100vw;
    margin: 0;
    overflow: hidden;
}

body.page-scanning .logo-wrapper {
    display: flex;
    width: 887px;
    max-width: 100%;
}

body.page-scanning .logo {
    position: static;
    margin-left: 0px;
    translate: none;
}

body.page-scanning .circle-progress {
    width: 600px;
    max-width: 100%;
    margin: 0px auto;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

body.page-scanning .circle-progress h3 {
    font-size: 50px;
    font-weight: 400;
    text-align: center;
    padding-bottom: 20px;
}

body.page-scanning .circle-progress .svg-wrapper {
    overflow: hidden;
    clip-path: inset(0);
    width: 100%;
    max-width: 100%;
    contain: layout paint;
}

body.page-scanning .circle-progress svg {
    width: 100%;
    max-width: 300px;
    margin: 0px auto;
    height: auto;
    display: block;
}

body.page-scanning .circle-progress .scan-result {
    height: 80px;
}

body.page-scanning .continue-button {
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translate(-50%, 0);
}

body.page-scanning,
body.page-scanning .container {
    height: 100%;
}

body.page-scanning svg {
    transform: rotate(-90deg);
}

body.page-scanning .percent {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
}

body.page-scanning .percent.start {
    animation: progress 5s linear forwards;
}

body.page-scanning .btn-continue {
    margin-top: 30px;
    margin: 0px;
    display: block;
}

body.page-scanning .dummy-overlay {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 230px, rgba(255,255,255,0.5) 231px);
    z-index: 0;
    transition: background 0.5s ease-in-out;
}

body.page-scanning .dummy-overlay.complete {
/*    background: rgba(255, 255, 255, 0.9);*/
    background: radial-gradient(circle at 50% 50%, transparent 140px, rgba(255, 255, 255, 0.9) 141px);
}

body.page-scanning .hidden {
    display: none !important;
}

body.page-scanning .btn-primary.rounded {
    background: #1800e7;
    padding: 10px 30px;
    font-size: 32px;
    text-transform: uppercase;
    width: 400px;
    max-width: 100%;
    border-radius: 50px !important;
}

body.page-scanning .icon-complete {
    width: 50px;
    position: absolute;
    right: 15%;
    top: 10%;
    z-index: 1;
}

body.page-scanning .scan-result .verified {
    font-size: 24px;
}

body.page-scanning .circle-progress .scan-result h3 {
    font-size: 36px;
    font-weight: 500;
}

@keyframes progress {
    to {
        stroke-dashoffset: 0;
    }
}

body.page-scanning .video-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
}

body.page-scanning #scannerVideo {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
}

@media (max-width: 767px) {
    body.page-scanning .container {
        background-size: auto 100%;
    }

    body.page-scanning .logo {
        width: 70px;
    }

    body.page-scanning .circle-progress {
        width: 100%;
        padding: 20px;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    body.page-scanning .btn-continue {
        width: 300px;
    }

    body.page-scanning .circle-progress svg {
        width: 100%;
        max-width: 300px;
    }

    body.page-scanning .circle-progress h3 {
        font-size: 30px;
        line-height: 60px;
        height: 60px;
        padding-bottom: 0px;
        margin-bottom: 20px;
    }

    body.page-scanning .dummy-overlay {
        background: radial-gradient(circle at 50% 50%, transparent 140px, rgba(255,255,255,0.5) 141px);
    }

    body.page-scanning .btn-primary.rounded {
        font-size: 20px;
        width: 300px;
    }

    body.page-scanning .circle-progress .scan-result h3 {
        font-size: 24px;
    }
}

/* ── Survey page ────────────────────────────────────────── */
body.page-survey {
    padding: 0px;
    background: #333;
}

body.page-survey .col6 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 20px 0px;
    gap: 12px;
    background: transparent;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

body.page-survey .chat-col {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    width: 100%;
}

body.page-survey .container {
    background: #e3e3e3;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-left: 0;
    padding-right: 0;
}

body.page-survey .logo-wrapper {
    display: flex;
    width: 887px;
    max-width: 100%;
}

body.page-survey .logo {
    position: static;
    width: 80px;
}

body.page-survey .chat-row {
    width: 100%;
    padding: 0px 20px;
}

body.page-survey .chat-wrapper {
    display: inline-block;
    padding: 12px 16px;
    background: white;
    border-radius: 16px;
    width: 75%;
    position: relative;
}

body.page-survey .chat-wrapper p {
    font-size: 14px;
    position: relative;
    z-index: 1;
}

body.page-survey .chat-wrapper::after {
    display: block;
    width: 20px;
    height: 20px;
    content: '';
    background: url('../assets/chat-tail.png') left top no-repeat;
    background-size: 100%;
    position: absolute;
    left: 0px;
    bottom: 0px;
    z-index: 0;
}

body.page-survey .chat-row.client {
    text-align: right;
}

body.page-survey .client .chat-wrapper {
    background: #1800E7;
    color: white;
    text-align: left;
}

body.page-survey .client .chat-wrapper::after {
    background-image: url('../assets/chat-tail-client.png');
    left: auto;
    right: 0px;
}

body.page-survey .footer {
    margin: 0px;
    padding: 6px 0px;
    background: white;
    border-radius: 20px 20px 0px 0px;
    gap: unset;
    flex-shrink: 0;
    width: 100%;
}

body.page-survey .footer-btn-send {
    width: 550px;
    max-width: 100%;
    height: auto;
    margin: 0px auto;
}

body.page-survey a.send-button {
    margin-top: 6px;
}

body.page-survey .form-wrapper {
    padding: 0px 20px;
    border-top: #CCC solid 1px;
}

body.page-survey .no-border {
    border: none !important;
}

body.page-survey .form-check {
    line-height: 32px;
    margin: 0px;
}

body.page-survey .form-check .form-check-input {
    line-height: 32px;
    float: none;
    vertical-align: middle;
    display: none;
}

body.page-survey .form-check-label {
    font-size: 14px;
    font-weight: 400;
    width: 100%;
    vertical-align: middle;
    padding-left: 32px;
    position: relative;
}

body.page-survey label.form-check-label::before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    /* background: #CCC;
    border: #212529 solid 2px; */
    background: #ffffff;
    border: #9a9b9c solid 2px;
    border-radius: 30px;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translate(0px, -50%);
}

body.page-survey .form-check-input:checked+label.form-check-label::before {
    background: #1800E7;
}

body.page-survey .chat-board {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 12px;
}

body.page-survey .btn-primary.rounded {
    background: #1800e7;
    padding: 10px 30px;
    font-size: 18px;
    text-transform: uppercase;
    width: 90%;
    max-width: 400px;
    border-radius: 50px !important;
    margin: 15px auto;
    
}

@media (max-width: 767px) {
    body.page-survey .logo {
        width: 70px;
        margin-left: 30px;
    }

    body.page-survey .col6 {
        padding: 0px 0px 0px 0px;
    }

    body.page-survey .chat-wrapper {
        width: 80%;
    }

    body.page-survey .form-check {
        padding-left: 0px;
        line-height: 50px;
    }

    body.page-survey .form-check-label {
        font-size: 20px;
    }

    body.page-survey .footer {
        padding: 0px 0px 80px;
    }

    body.page-survey a.send-button {
        margin-top: 10px;
        padding: 0px 20px;
    }

    body.page-survey .chat-board {
        min-height: 0;
    }

    body.page-survey .btn-primary.rounded {
        font-size: 20px;
        width: 300px;
    }
}

/* ── Dashboard page ─────────────────────────────────────── */
body.page-dashboard {
    padding: 0px;
    gap: unset;
    background: #333;
}

body.page-dashboard p {
    font-size: 24px;
    text-align: center;
}

body.page-dashboard .col6 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    gap: 20px;
    background: transparent;
    position: static;
    width: 100%;
    transform: none;
    translate: none;
    margin: 0px auto;
}

body.page-dashboard .logo-wrapper {
    display: flex;
    width: 887px;
    max-width: 100%;
    justify-content: space-between;
}

body.page-dashboard .container {
    background: url('../assets/dashboard-bg.svg') center top no-repeat #FFF;
    background-color: white;
    background-size: 100%;
}

body.page-dashboard .venue-details {
    padding: 30px 0px;
}

body.page-dashboard .date {
    color: #1800E7;
    font-size: 60px;
    font-weight: 400;
    padding: 30px 0px;
}

body.page-dashboard .venue-details .date {
    text-align: center;
    padding: 0px;
}

body.page-dashboard .venue-details .location {
    padding-bottom: 20px;
}

body.page-dashboard .slider {
    margin-top: 10px;
    position: relative;
}

body.page-dashboard .slider-nav {
    top: auto;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%, 0);
}

body.page-dashboard .slider-arrow-right {
    top: 30%;
    left: auto;
    right: -30px;
    transform: translate(0, -50%);
}

body.page-dashboard .container.top-container {
    padding-bottom: 60px;
}

body.page-dashboard .bottom-container.container {
    background: white;
    border-radius: 80px 80px 0px 0px;
    margin-top: -70px;
}

body.page-dashboard .text2,
body.page-dashboard .text3 {
    margin: 10px 0px;
}

body.page-dashboard .widget1,
body.page-dashboard .widget2,
body.page-dashboard .widget3 {
    margin-top: 10px;
    background: none;
    box-shadow: rgba(0, 0, 0, 0.3) 5px 8px 20px;
    border-radius: 50px;
    height: auto;
    display: flex;
    gap: 20px;
    align-items: center;
}

body.page-dashboard .widget-graphic,
body.page-dashboard .widget-graphic2 {
    position: static;
}

body.page-dashboard .rect {
    display: none;
}

body.page-dashboard .widget-clip-path,
body.page-dashboard .widget-clip-path2 {
    position: static;
    width: 100%;
}

body.page-dashboard .description {
    padding-right: 15px;
}

body.page-dashboard .description h3 {
    font-size: 30px;
    padding-bottom: 15px;
}

body.page-dashboard .description p {
    text-align: left;
    font-size: 20px;
}

@media (max-width: 767px) {
    body.page-dashboard p {
        font-size: 20px;
    }

    body.page-dashboard .container {
        background-size: 100% 100%;
    }

    body.page-dashboard .logo {
        width: 90px;
    }

    body.page-dashboard .date {
        font-size: 36px;
    }

    body.page-dashboard .slider-arrow-right {
        width: 16px;
    }

    body.page-dashboard .widget1,
    body.page-dashboard .widget2,
    body.page-dashboard .widget3 {
        display: block;
    }

    body.page-dashboard .widget-graphic,
    body.page-dashboard .widget-graphic2 {
        position: static;
        width: 100%;
        height: auto;
        padding: 30px 20px 20px;
    }

    body.page-dashboard .hamburger {
        width: 36px;
    }

    body.page-dashboard .description {
        padding: 20px;
    }

    body.page-dashboard .description h3 {
        font-size: 20px;
    }

    body.page-dashboard .description p {
        font-size: 16px;
    }
}