html {
    font-size: 14px;
}


@media (min-width: 768px) {

    html {
        font-size: 14px;
    }
}


.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: none;
}


html {
    position: relative;
    min-height: 100%;
}

.container,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
    max-width: 100%;
    background-color: #fff;
    padding: 10px;
    border-radius: 8px;
}

@keyframes fluidBg {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

body {
    margin-bottom: 60px;
    background-color: #dceaf5;
    min-height: 100vh;
    padding: 40px 16px;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    color: #0f172a;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.qnb-shell,
.qnb-actions,
.survey-container,
.button-container {
    overflow: hidden;
}

.qnb-shell {
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
}

.qnb-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 32px;
    box-shadow: 0 32px 64px -12px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    overflow: hidden;
}

.qnb-headerbar {
    padding: 24px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    justify-content: center;
}

.qnb-main {
    padding: 32px 24px;
    background-color: transparent;
}

@media (min-width: 768px) {
    .qnb-main {
        padding: 48px 40px;
    }
}

.qnb-footer {
    padding: 12px 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.qnb-main p {
    line-height: 1.5;
}

.qnb-main .form-control,
.qnb-main .form-check-input,
.qnb-main textarea,
.qnb-main input[type="text"],
.qnb-main input[type="password"] {
    border-radius: 10px;
}

.qnb-main .form-control:focus,
.qnb-main textarea:focus,
.qnb-main input[type="text"]:focus,
.qnb-main input[type="password"]:focus {
    border-color: rgba(2, 90, 149, 0.55);
    box-shadow: 0 0 0 4px rgba(0, 156, 222, 0.18);
}

.qnb-main hr {
    opacity: 0.12;
}

/* Auth (Login) */
.qnb-auth {
    display: grid;
    place-items: center;
    min-height: 52vh;
    padding: 10px 0;
}

.qnb-auth__card {
    width: 100%;
    max-width: 520px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(2, 8, 23, 0.14);
    padding: 18px 18px;
}

.qnb-auth__header {
    margin-bottom: 14px;
}

.qnb-auth__title {
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.qnb-auth__subtitle {
    margin-top: 4px;
    font-size: 13px;
    color: rgba(15, 23, 42, 0.65);
}

.qnb-label {
    display: block;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 8px;
    color: rgba(15, 23, 42, 0.85);
}

.qnb-input {
    padding: 10px 12px;
    border-radius: 12px;
}

.qnb-btn--full {
    width: 100%;
}

.qnb-auth__form {
    display: grid;
    gap: 12px;
}

.scantron-footer {
    min-width: 100px;
    max-width: 150px;
}



/* Bug 2 — QNB Logo Sizing Fix */

.header-logo,
.qnb-headerbar .header-logo,
.logo-container img,
header img[class*="qnb"],
header img[src*="qnb"],
header img[alt*="QNB"] {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: auto !important;
    height: 85px !important;
    max-width: 220px !important;
    border: none !important;
    padding: 0 !important;
}

.header-logo img,
header img[class*="qnb"],
header img[alt*="Logo"] {
    height: 100% !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
}

/* Footer Logo Styling - Smaller than header */
.qnb-footer img,
.footer-logo,
footer img[alt*="Logo"],
footer .scantron-footer {
    height: 50px !important;
    width: auto !important;
    max-width: 180px !important;
    object-fit: contain !important;
}

/* Mobile logo size overrides */
@media (max-width: 768px) {

    .header-logo,
    header img[alt*="QNB"],
    header img[src*="logo"] {
        height: 65px !important;
        max-width: 170px !important;
    }

    .qnb-footer img,
    footer img[alt*="Logo"] {
        height: 40px !important;
        max-width: 140px !important;
    }
}

.introText,
.introdText {
    text-wrap: pretty;
    font-size: 1.15rem;
    color: #334155;
    line-height: 1.6;
}

.btn-begin {
    padding: 12px 28px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    background-color: #025a95;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
    box-shadow: 0 4px 12px rgba(2, 90, 149, 0.2);
    will-change: auto;
    transform: none !important;
    animation: none !important;
}

/*.btn-begin:hover,
.btn-begin:focus {
    box-shadow: 0 6px 16px rgba(2, 90, 149, 0.3);
    background-color: #014f83;
}*/

.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    border-bottom: 2px solid;
    max-height: 80px;
    min-height: 25px;
    padding: 0px;
    margin-bottom: -14px;
}

@media screen and (max-width:767px) {
    body {
        width: 100%;
        padding: 16px 12px;
    }

    .introText {
        font-size: 14px;
    }

    .textbox-accesscode {
        width: 100% !important;
        margin-top: 12px;
    }
}

@media screen and (min-width:319px) and (max-width: 338px) {
    .introText {
        font-size: 8.8px;
    }

    .textbox-accesscode {
        width: 37% !important;
    }

    .textIntro {
        margin-left: -7px;
    }
}

@media (min-width: 768px) {
    body {
        padding: 28px 18px;
    }

    .qnb-main {
        padding: 26px 26px;
    }

    .qnb-headerbar,
    .qnb-footer {
        padding-left: 26px;
        padding-right: 26px;
    }
}

@media (min-width: 1200px) {
    body {
        padding: 34px 22px;
    }
}