.zz-ui-v2.zz-candidate-shell-v2 {
    min-width: 0;
    min-height: 100vh;
    margin: 0;
    color: var(--zz-color-text, #172b4d);
    background:
        radial-gradient(circle at 8% 0, rgba(37, 99, 235, 0.16), transparent 32rem),
        radial-gradient(circle at 96% 4%, rgba(8, 145, 178, 0.12), transparent 28rem),
        #eef3f8;
}

.zz-ui-v2.zz-candidate-shell-v2,
.zz-ui-v2.zz-candidate-shell-v2 input,
.zz-ui-v2.zz-candidate-shell-v2 select,
.zz-ui-v2.zz-candidate-shell-v2 textarea,
.zz-ui-v2.zz-candidate-shell-v2 button {
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}

.zz-ui-v2.zz-candidate-shell-v2 #form2,
.zz-ui-v2.zz-candidate-shell-v2 #aspnetForm {
    display: flex !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    flex-direction: column;
}

.zz-ui-v2.zz-candidate-shell-v2 .zz-candidate-page-v2 {
    position: relative;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 12px 16px 20px;
    flex: 1 0 auto !important;
}

.zz-ui-v2.zz-candidate-shell-v2 .zz-candidate-main {
    min-width: 0;
    outline: none;
}

.zz-ui-v2.zz-candidate-shell-v2 .zz-candidate-page-header,
.zz-ui-v2.zz-candidate-shell-v2 .zz-candidate-page-actions {
    width: 100%;
    max-width: none;
    margin-inline: 0;
}

.zz-ui-v2.zz-candidate-shell-v2 .zz-candidate-page-header h1 {
    margin: 0 0 14px;
    color: #102d46;
    font-size: clamp(1.35rem, 2.5vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .015em;
}

.zz-ui-v2.zz-candidate-shell-v2 .zz-candidate-page-header h1:empty,
.zz-ui-v2.zz-candidate-shell-v2 .zz-candidate-page-actions__left:empty,
.zz-ui-v2.zz-candidate-shell-v2 .zz-candidate-page-actions__right:empty {
    display: none;
}

.zz-ui-v2.zz-candidate-shell-v2 .zz-candidate-page-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
}

.zz-ui-v2.zz-candidate-shell-v2 .zz-candidate-page-actions--empty {
    display: none !important;
}

.zz-ui-v2.zz-candidate-shell-v2 .zz-candidate-page-actions__left:not(:empty),
.zz-ui-v2.zz-candidate-shell-v2 .zz-candidate-page-actions__right:not(:empty) {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid rgba(148, 163, 184, .42);
    border-radius: 12px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 8px 24px rgba(15, 35, 58, .08);
}

.zz-ui-v2.zz-candidate-shell-v2 .zz-candidate-skip-link {
    position: fixed;
    z-index: 2147483647;
    top: 8px;
    left: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    color: #fff;
    background: #0f4c81;
    transform: translateY(-160%);
    transition: transform 120ms ease;
}

.zz-ui-v2.zz-candidate-shell-v2 .zz-candidate-skip-link:focus {
    transform: translateY(0);
}

.zz-ui-v2.zz-candidate-shell-v2 .student-page,
.zz-ui-v2.zz-candidate-shell-v2 .submit-image-container,
.zz-ui-v2.zz-candidate-shell-v2 .zz-candidate-main > .border.rounded,
.zz-ui-v2.zz-candidate-shell-v2 .zz-candidate-main > div > .border.rounded {
    width: 100%;
    max-width: none;
    margin-inline: 0 !important;
    border: 1px solid rgba(148, 163, 184, 0.42) !important;
    border-radius: 18px !important;
    background-color: rgba(255, 255, 255, 0.97);
    box-shadow: 0 18px 48px rgba(15, 35, 58, 0.14);
    overflow: hidden;
}

.zz-ui-v2.zz-candidate-shell-v2 .student-page.text-white {
    color: #172b4d !important;
}

.zz-ui-v2.zz-candidate-shell-v2 .student-page .page-title {
    color: #102d46 !important;
    text-shadow: none !important;
}

.zz-ui-v2.zz-candidate-shell-v2 .student-page .page-caption {
    color: #0f4c81 !important;
    text-shadow: none !important;
}

/* Legacy candidate pages often placed `text-white` on every label because
   their old student panel was dark.  V2 uses a white surface, so those labels
   must become dark unless they are actually inside a coloured header. */
.zz-ui-v2.zz-candidate-shell-v2 .student-page .text-white:not(.btn):not(.badge):not(.bg-primary):not(.bg-secondary):not(.bg-success):not(.bg-danger):not(.bg-info):not(.bg-dark) {
    color: #172b4d !important;
    text-shadow: none !important;
}

.zz-ui-v2.zz-candidate-shell-v2 .student-page .bg-primary.text-white,
.zz-ui-v2.zz-candidate-shell-v2 .student-page .bg-secondary.text-white,
.zz-ui-v2.zz-candidate-shell-v2 .student-page .bg-success.text-white,
.zz-ui-v2.zz-candidate-shell-v2 .student-page .bg-danger.text-white,
.zz-ui-v2.zz-candidate-shell-v2 .student-page .bg-info.text-white,
.zz-ui-v2.zz-candidate-shell-v2 .student-page .bg-dark.text-white,
.zz-ui-v2.zz-candidate-shell-v2 .student-page .bg-primary .text-white,
.zz-ui-v2.zz-candidate-shell-v2 .student-page .bg-secondary .text-white,
.zz-ui-v2.zz-candidate-shell-v2 .student-page .bg-success .text-white,
.zz-ui-v2.zz-candidate-shell-v2 .student-page .bg-danger .text-white,
.zz-ui-v2.zz-candidate-shell-v2 .student-page .bg-info .text-white,
.zz-ui-v2.zz-candidate-shell-v2 .student-page .bg-dark .text-white {
    color: #ffffff !important;
}

.zz-ui-v2.zz-candidate-shell-v2 .student-page > .bg-primary,
.zz-ui-v2.zz-candidate-shell-v2 .student-page > .d-flex.bg-primary,
.zz-ui-v2.zz-candidate-shell-v2 .student-page .bg-primary:first-child {
    background: linear-gradient(135deg, #0f4c81, #1768a0) !important;
}

.zz-ui-v2.zz-candidate-shell-v2 .card {
    border-color: #dbe4ee;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(15, 35, 58, 0.08);
}

.zz-ui-v2.zz-candidate-shell-v2 .card-header {
    border-bottom-color: #dbe4ee;
    background: #f7fafc;
}

.zz-ui-v2.zz-candidate-shell-v2 .page-title,
.zz-ui-v2.zz-candidate-shell-v2 .login-title {
    line-height: 1.2;
    letter-spacing: 0.015em;
}

/* The login page keeps the legacy `text-white` utility on its heading, but
   the modern candidate shell uses a pale background.  Force a dark heading
   so the title remains readable in both activation and sign-in states. */
.zz-ui-v2.zz-candidate-shell-v2 .login-title,
.zz-ui-v2.zz-candidate-shell-v2 .login-title.text-white {
    color: #102d46 !important;
    text-shadow: none !important;
}

/* The legacy input selector treats unclassified submit controls as neutral
   buttons.  Login actions are primary actions and must retain the blue/white
   contrast instead of becoming a white button on a white card. */
.zz-ui-v2.zz-candidate-shell-v2 input.btnSubmit:not(.btn-google),
.zz-ui-v2.zz-candidate-shell-v2 button.btnSubmit:not(.btn-google),
.zz-ui-v2.zz-candidate-shell-v2 a.btnSubmit:not(.btn-google),
.zz-ui-v2.zz-candidate-shell-v2 .btnSubmit:not(.btn-google) {
    color: #ffffff !important;
    background: #1558c0 !important;
    border: 1px solid #1558c0 !important;
    text-shadow: none !important;
}

.zz-ui-v2.zz-candidate-shell-v2 input.btnSubmit:not(.btn-google):hover,
.zz-ui-v2.zz-candidate-shell-v2 button.btnSubmit:not(.btn-google):hover,
.zz-ui-v2.zz-candidate-shell-v2 a.btnSubmit:not(.btn-google):hover,
.zz-ui-v2.zz-candidate-shell-v2 .btnSubmit:not(.btn-google):focus {
    color: #ffffff !important;
    background: #10479f !important;
    border-color: #10479f !important;
}

.zz-ui-v2.zz-candidate-shell-v2 .alert-warning {
    color: #4a2600 !important;
    background: #ffe8b8 !important;
    border: 1px solid #d99a2b !important;
    text-shadow: none !important;
}

.zz-ui-v2.zz-candidate-shell-v2 .alert-warning a {
    color: #4a2600 !important;
}

.zz-ui-v2.zz-candidate-shell-v2 input[type="text"],
.zz-ui-v2.zz-candidate-shell-v2 input[type="password"],
.zz-ui-v2.zz-candidate-shell-v2 input[type="email"],
.zz-ui-v2.zz-candidate-shell-v2 input[type="number"],
.zz-ui-v2.zz-candidate-shell-v2 select,
.zz-ui-v2.zz-candidate-shell-v2 textarea {
    max-width: 100%;
    min-height: 42px;
    border: 1px solid #b8c5d3;
    border-radius: 9px;
    color: #172b4d;
    background: #fff;
}

.zz-ui-v2.zz-candidate-shell-v2 input:focus,
.zz-ui-v2.zz-candidate-shell-v2 select:focus,
.zz-ui-v2.zz-candidate-shell-v2 textarea:focus,
.zz-ui-v2.zz-candidate-shell-v2 button:focus,
.zz-ui-v2.zz-candidate-shell-v2 a:focus {
    outline: 3px solid rgba(37, 99, 235, 0.28);
    outline-offset: 2px;
}

.zz-ui-v2.zz-candidate-shell-v2 .btn,
.zz-ui-v2.zz-candidate-shell-v2 input[type="submit"],
.zz-ui-v2.zz-candidate-shell-v2 input[type="button"],
.zz-ui-v2.zz-candidate-shell-v2 button {
    min-height: 42px;
    border-radius: 9px;
    font-weight: 650;
}

.zz-ui-v2.zz-candidate-shell-v2 table {
    max-width: 100%;
}

.zz-ui-v2.zz-candidate-shell-v2 img,
.zz-ui-v2.zz-candidate-shell-v2 video,
.zz-ui-v2.zz-candidate-shell-v2 canvas,
.zz-ui-v2.zz-candidate-shell-v2 iframe {
    max-width: 100%;
}

.zz-ui-v2.zz-candidate-shell-v2 footer {
    flex: 0 0 auto;
    padding: 12px 16px;
    color: #dce8f3 !important;
    background: #102d46;
}

@media (max-width: 720px) {
    .zz-ui-v2.zz-candidate-shell-v2 .zz-candidate-page-v2 {
        padding: 8px;
    }

    .zz-ui-v2.zz-candidate-shell-v2 .student-page,
    .zz-ui-v2.zz-candidate-shell-v2 .submit-image-container,
    .zz-ui-v2.zz-candidate-shell-v2 .zz-candidate-main > .border.rounded,
    .zz-ui-v2.zz-candidate-shell-v2 .zz-candidate-main > div > .border.rounded {
        border-radius: 12px !important;
    }

    .zz-ui-v2.zz-candidate-shell-v2 .p-5,
    .zz-ui-v2.zz-candidate-shell-v2 .p-md-5 {
        padding: 14px !important;
    }

    .zz-ui-v2.zz-candidate-shell-v2 .px-5,
    .zz-ui-v2.zz-candidate-shell-v2 .px-md-5 {
        padding-right: 14px !important;
        padding-left: 14px !important;
    }

    .zz-ui-v2.zz-candidate-shell-v2 .py-5,
    .zz-ui-v2.zz-candidate-shell-v2 .py-md-5 {
        padding-top: 14px !important;
        padding-bottom: 14px !important;
    }

    .zz-ui-v2.zz-candidate-shell-v2 .pt-5,
    .zz-ui-v2.zz-candidate-shell-v2 .pt-md-5 {
        padding-top: 14px !important;
    }

    .zz-ui-v2.zz-candidate-shell-v2 .pb-5,
    .zz-ui-v2.zz-candidate-shell-v2 .pb-md-5 {
        padding-bottom: 14px !important;
    }

    .zz-ui-v2.zz-candidate-shell-v2 .student-page > [style*="min-height"] {
        min-height: 0 !important;
    }

    .zz-ui-v2.zz-candidate-shell-v2 .student-page .bg-primary:first-child {
        padding: 12px !important;
    }

    .zz-ui-v2.zz-candidate-shell-v2 .page-title,
    .zz-ui-v2.zz-candidate-shell-v2 .login-title {
        font-size: clamp(1.35rem, 7vw, 1.8rem) !important;
    }

    .zz-ui-v2.zz-candidate-shell-v2 .zz-candidate-page-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .zz-ui-v2.zz-candidate-shell-v2 .table-responsive,
    .zz-ui-v2.zz-candidate-shell-v2 .table-scroll,
    .zz-ui-v2.zz-candidate-shell-v2 .grid-view {
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (prefers-reduced-motion: reduce) {
    .zz-ui-v2.zz-candidate-shell-v2 *,
    .zz-ui-v2.zz-candidate-shell-v2 *::before,
    .zz-ui-v2.zz-candidate-shell-v2 *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
