/* City Educators SMS - shared Exam module theme */
body.exam-module-page {
    --exam-navy: #0b4c91;
    --exam-navy-dark: #072e5f;
    --exam-ink: #102a4c;
    --exam-line: #c7dff8;
    --exam-soft: #edf7ff;
    --exam-warm: #fffaf0;
}

body.exam-module-page .app-main > .app-container {
    width: min(var(--ce-container), calc(100% - 32px));
}

body.exam-module-page .examPage,
body.exam-module-page .changePage,
body.exam-module-page .deadlinePage,
body.exam-module-page .page.exam-admin-page,
body.exam-module-page .exam-main-page {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.exam-module-nav-shell {
    position: relative;
    z-index: 20;
    margin-top: 14px;
}

.exam-module-nav {
    display: flex;
    align-items: center;
    gap: 7px;
    width: 100%;
    padding: 10px;
    overflow-x: auto;
    border: 1px solid var(--exam-line);
    border-radius: 16px;
    background: linear-gradient(90deg, var(--exam-soft), var(--exam-warm));
    box-shadow: 0 10px 25px rgba(8,42,83,.08);
    box-sizing: border-box;
}

.exam-module-nav a {
    flex: 0 0 auto;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border: 1px solid #0b4c91;
    border-radius: 11px;
    background: #0b4c91;
    color: #fff !important;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none !important;
    white-space: nowrap;
}

.exam-module-nav a:hover,
.exam-module-nav a:focus {
    background: #073b70;
    border-color: #073b70;
    outline: none;
}

body.exam-module-page .changeHero,
body.exam-module-page .deadlineHero,
body.exam-module-page .examHero,
body.exam-module-page .hero,
body.exam-module-page .exam-main-hero {
    width: 100% !important;
    max-width: none !important;
    border-radius: 22px !important;
    background: linear-gradient(110deg,#0b3f79,#0d3764 62%,#b99b45) !important;
    box-shadow: 0 18px 35px rgba(8,42,83,.16) !important;
    box-sizing: border-box;
}

body.exam-module-page .changeCard,
body.exam-module-page .deadlineCard,
body.exam-module-page .card,
body.exam-module-page .exam-main-section,
body.exam-module-page .examResources {
    width: 100% !important;
    max-width: none !important;
    border: 1px solid var(--exam-line) !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 14px 34px rgba(8,42,83,.08) !important;
    box-sizing: border-box;
}

body.exam-module-page .changeCardHead,
body.exam-module-page .deadlineCardHead,
body.exam-module-page .card-head,
body.exam-module-page .exam-main-section-head,
body.exam-module-page .sectionTitle {
    background: linear-gradient(90deg,var(--exam-soft),var(--exam-warm)) !important;
    border-bottom: 1px solid var(--exam-line) !important;
    color: var(--exam-ink) !important;
}

body.exam-module-page .btn,
body.exam-module-page .exam-action,
body.exam-module-page .uci-button,
body.exam-module-page .deadlinePage input[type=submit],
body.exam-module-page .changeGrid input[type=submit] {
    border: 1px solid var(--exam-navy) !important;
    border-radius: 11px !important;
    background: var(--exam-navy) !important;
    color: #fff !important;
    font-family: 'Segoe UI',Tahoma,Arial,sans-serif !important;
    font-weight: 800 !important;
    box-shadow: 0 8px 18px rgba(11,76,145,.14);
}

body.exam-module-page .btn:hover,
body.exam-module-page .exam-action:hover,
body.exam-module-page .uci-button:hover,
body.exam-module-page .deadlinePage input[type=submit]:hover,
body.exam-module-page .changeGrid input[type=submit]:hover {
    background: #073b70 !important;
    border-color: #073b70 !important;
}

body.exam-module-page .btn.danger,
body.exam-module-page input.btn.danger,
body.exam-module-page .changeGrid input[type=submit][value=Rejected] {
    background: #a82c2c !important;
    border-color: #a82c2c !important;
}

body.exam-module-page .btn.secondary,
body.exam-module-page input.btn.secondary {
    background: #e9f4ff !important;
    border-color: #b8d7f6 !important;
    color: #0b3f79 !important;
    box-shadow: none;
}

body.exam-module-page .examNav {
    display: none !important;
}

/* Legacy Exam pages */
body.exam-module-page #MainContent {
    display: block;
    width: 100%;
    color: var(--exam-ink);
    font-family: 'Segoe UI',Tahoma,Arial,sans-serif;
}

body.exam-module-page #MainContent > table {
    width: 100% !important;
    max-width: none !important;
    margin: 18px 0 0 !important;
    border: 1px solid var(--exam-line);
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(8,42,83,.08);
    overflow: hidden;
    box-sizing: border-box;
}

body.exam-module-page #MainContent > table:first-child {
    margin-top: 18px !important;
}

body.exam-module-page #MainContent td.style129,
body.exam-module-page #MainContent .style129 {
    width: auto !important;
    min-height: 90px;
    padding: 24px 28px !important;
    border: 0 !important;
    background: linear-gradient(110deg,#0b3f79,#0d3764 62%,#b99b45) !important;
    color: #fff !important;
    text-align: left !important;
    font-family: 'Segoe UI',Tahoma,Arial,sans-serif !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
}

body.exam-module-page #MainContent td.style999,
body.exam-module-page #MainContent td.style178[style*="DEB887"],
body.exam-module-page #MainContent td.style178[style*="deb887"] {
    display: none !important;
}

body.exam-module-page #MainContent table td {
    color: var(--exam-ink);
}

body.exam-module-page #MainContent > table > tbody > tr:not(.style132) > td {
    padding: 10px 12px;
}

body.exam-module-page #MainContent input[type=text],
body.exam-module-page #MainContent input[type=password],
body.exam-module-page #MainContent select,
body.exam-module-page #MainContent textarea {
    min-height: 42px;
    max-width: 100%;
    padding: 9px 11px !important;
    border: 1px solid #bdd3ec !important;
    border-radius: 11px !important;
    background: #fbfdff !important;
    color: var(--exam-ink) !important;
    font-family: 'Segoe UI',Tahoma,Arial,sans-serif !important;
    box-sizing: border-box;
}

body.exam-module-page #MainContent input[type=submit],
body.exam-module-page #MainContent input[type=button] {
    min-height: 40px !important;
    width: auto !important;
    padding: 9px 14px !important;
    border: 1px solid var(--exam-navy) !important;
    border-radius: 10px !important;
    background: var(--exam-navy) !important;
    color: #fff !important;
    font-family: 'Segoe UI',Tahoma,Arial,sans-serif !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    cursor: pointer;
}

body.exam-module-page #MainContent input[type=submit]:hover,
body.exam-module-page #MainContent input[type=button]:hover {
    background: #073b70 !important;
    border-color: #073b70 !important;
}

body.exam-module-page #MainContent table[id*="GridView"],
body.exam-module-page #MainContent table[id*="gv_"],
body.exam-module-page #MainContent table.changeGrid,
body.exam-module-page #MainContent table.rulesGrid,
body.exam-module-page #MainContent table.grid {
    width: 100% !important;
    border: 0 !important;
    border-collapse: collapse !important;
    background: #fff !important;
    font-size: 13px !important;
}

body.exam-module-page #MainContent table[id*="GridView"] th,
body.exam-module-page #MainContent table[id*="gv_"] th {
    padding: 10px 9px !important;
    border: 0 !important;
    background: #123d6d !important;
    color: #fff !important;
    text-align: left !important;
    font-weight: 800 !important;
}

body.exam-module-page #MainContent table[id*="GridView"] td,
body.exam-module-page #MainContent table[id*="gv_"] td {
    padding: 9px !important;
    border: 0 !important;
    border-bottom: 1px solid #d7e7f8 !important;
    background: #fff !important;
    color: var(--exam-ink) !important;
}

body.exam-module-page #MainContent table[id*="GridView"] tr:nth-child(even) td,
body.exam-module-page #MainContent table[id*="gv_"] tr:nth-child(even) td {
    background: #f7fbff !important;
}

body.exam-module-page #MainContent table.ce-floating-ribbon-grid {
    width: 100% !important;
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 10px !important;
    background: transparent !important;
    color: var(--exam-ink) !important;
    font-size: 14px !important;
}

body.exam-module-page #MainContent table.ce-floating-ribbon-grid th {
    padding: 12px 16px !important;
    border: 0 !important;
    background: #104a83 !important;
    color: #fff !important;
    text-align: left !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    white-space: nowrap;
    text-decoration: none !important;
}

body.exam-module-page #MainContent table.ce-floating-ribbon-grid th:first-child {
    border-radius: 12px 0 0 12px !important;
}

body.exam-module-page #MainContent table.ce-floating-ribbon-grid th:last-child {
    border-radius: 0 12px 12px 0 !important;
}

body.exam-module-page #MainContent table.ce-floating-ribbon-grid th a,
body.exam-module-page #MainContent table.ce-floating-ribbon-grid th a:visited {
    color: #fff !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

body.exam-module-page #MainContent table.ce-floating-ribbon-grid td {
    padding: 14px 16px !important;
    border-top: 1px solid var(--exam-line) !important;
    border-bottom: 1px solid var(--exam-line) !important;
    background: #f7fbff !important;
    color: var(--exam-ink) !important;
    font-size: 14px !important;
    font-weight: 650 !important;
    line-height: 1.25 !important;
    vertical-align: middle !important;
}

body.exam-module-page #MainContent table.ce-floating-ribbon-grid tr:nth-child(even) td {
    background: #f1f8ff !important;
}

body.exam-module-page #MainContent table.ce-floating-ribbon-grid tr:not(:first-child) td:first-child {
    border-left: 5px solid var(--exam-navy) !important;
    border-radius: 12px 0 0 12px !important;
}

body.exam-module-page #MainContent table.ce-floating-ribbon-grid tr:not(:first-child) td:last-child {
    border-right: 1px solid var(--exam-line) !important;
    border-radius: 0 12px 12px 0 !important;
}

body.exam-module-page #MainContent table.ce-floating-ribbon-grid a {
    color: #0b4c91 !important;
    font-weight: 750 !important;
    text-decoration: none !important;
}

body.exam-module-page #MainContent table.ce-floating-ribbon-grid a:hover {
    text-decoration: underline !important;
}

body.exam-module-page #MainContent table.ce-floating-ribbon-grid .ce-action-link,
body.exam-module-page #MainContent table.ce-floating-ribbon-grid .grid-action-link,
body.exam-module-page #MainContent table.ce-floating-ribbon-grid input[type=submit],
body.exam-module-page #MainContent table.ce-floating-ribbon-grid input[type=button] {
    min-height: 40px !important;
    padding: 9px 18px !important;
    border: 1px solid var(--exam-navy) !important;
    border-radius: 10px !important;
    background: var(--exam-navy) !important;
    color: #fff !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    box-shadow: 0 8px 18px rgba(11,76,145,.14) !important;
}

body.exam-module-page #MainContent a {
    color: #0b4c91;
    font-weight: 700;
}

/* Structured Exam module pages */
.exam-structured-page {
    width: 100%;
    color: var(--exam-ink);
    font-family: 'Segoe UI',Tahoma,Arial,sans-serif;
}

.exam-structured-hero {
    position: relative;
    overflow: hidden;
    margin: 18px 0;
    padding: 25px 28px;
    border-radius: 22px;
    background: linear-gradient(110deg,#0b3f79,#0d3764 62%,#b99b45);
    color: #fff;
    box-shadow: 0 18px 35px rgba(8,42,83,.16);
}

.exam-structured-hero::after {
    content: "";
    position: absolute;
    right: -42px;
    top: -70px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
}

.exam-structured-kicker {
    position: relative;
    z-index: 1;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.exam-structured-hero h1 {
    position: relative;
    z-index: 1;
    margin: 8px 0 4px;
    font-size: 30px;
    line-height: 1.12;
}

.exam-structured-hero p {
    position: relative;
    z-index: 1;
    max-width: 850px;
    margin: 0;
    font-size: 14px;
}

.exam-structured-card {
    margin: 0 0 18px;
    overflow: hidden;
    border: 1px solid var(--exam-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(8,42,83,.08);
}

.exam-structured-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--exam-line);
    background: linear-gradient(90deg,var(--exam-soft),var(--exam-warm));
}

.exam-structured-card-head h2 {
    margin: 0;
    color: var(--exam-ink);
    font-size: 20px;
}

.exam-structured-card-head span {
    color: #86620a;
    font-size: 12px;
    font-weight: 800;
}

.exam-structured-body {
    padding: 22px;
}

.exam-structured-page .ajax__calendar_container,
body.exam-module-page .ajax__calendar_container {
    z-index: 10000 !important;
    width: 276px !important;
    padding: 0 !important;
    border: 1px solid #c8ddf5 !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 18px 38px rgba(8,42,83,.18) !important;
    overflow: hidden !important;
    font-family: 'Segoe UI',Tahoma,Arial,sans-serif !important;
}

.exam-structured-page .ajax__calendar_header,
body.exam-module-page .ajax__calendar_header {
    height: 44px !important;
    padding: 0 14px !important;
    background: #eaf4ff !important;
    border-bottom: 1px solid #c8ddf5 !important;
    color: var(--exam-ink) !important;
    font-weight: 800 !important;
    line-height: 44px !important;
}

.exam-structured-page .ajax__calendar_title,
body.exam-module-page .ajax__calendar_title {
    color: var(--exam-ink) !important;
    font-weight: 800 !important;
}

.exam-structured-page .ajax__calendar_prev,
.exam-structured-page .ajax__calendar_next,
body.exam-module-page .ajax__calendar_prev,
body.exam-module-page .ajax__calendar_next {
    top: 12px !important;
}

.exam-structured-page .ajax__calendar_body,
body.exam-module-page .ajax__calendar_body {
    width: 248px !important;
    height: 226px !important;
    padding: 12px 14px !important;
    background: #fff !important;
}

.exam-structured-page .ajax__calendar_days,
.exam-structured-page .ajax__calendar_months,
.exam-structured-page .ajax__calendar_years,
body.exam-module-page .ajax__calendar_days,
body.exam-module-page .ajax__calendar_months,
body.exam-module-page .ajax__calendar_years {
    width: 248px !important;
    height: 206px !important;
}

.exam-structured-page .ajax__calendar_dayname,
body.exam-module-page .ajax__calendar_dayname {
    width: 31px !important;
    height: 24px !important;
    color: #0a2d5a !important;
    font-weight: 800 !important;
    text-align: center !important;
}

.exam-structured-page .ajax__calendar_day,
body.exam-module-page .ajax__calendar_day {
    width: 31px !important;
    height: 28px !important;
    border-radius: 8px !important;
    color: var(--exam-ink) !important;
    font-weight: 700 !important;
    line-height: 28px !important;
    text-align: center !important;
}

.exam-structured-page .ajax__calendar_month,
.exam-structured-page .ajax__calendar_year,
body.exam-module-page .ajax__calendar_month,
body.exam-module-page .ajax__calendar_year {
    width: 50px !important;
    height: 32px !important;
    margin: 5px !important;
    border-radius: 9px !important;
    background: #f3f7ff !important;
    color: var(--exam-ink) !important;
    font-weight: 800 !important;
    line-height: 32px !important;
    text-align: center !important;
}

.exam-structured-page .ajax__calendar_active .ajax__calendar_day,
.exam-structured-page .ajax__calendar_active .ajax__calendar_month,
.exam-structured-page .ajax__calendar_active .ajax__calendar_year,
.exam-structured-page .ajax__calendar_day:hover,
.exam-structured-page .ajax__calendar_month:hover,
.exam-structured-page .ajax__calendar_year:hover,
body.exam-module-page .ajax__calendar_active .ajax__calendar_day,
body.exam-module-page .ajax__calendar_active .ajax__calendar_month,
body.exam-module-page .ajax__calendar_active .ajax__calendar_year,
body.exam-module-page .ajax__calendar_day:hover,
body.exam-module-page .ajax__calendar_month:hover,
body.exam-module-page .ajax__calendar_year:hover {
    background: #2f83f6 !important;
    color: #fff !important;
}

.exam-structured-page .ajax__calendar_other .ajax__calendar_day,
body.exam-module-page .ajax__calendar_other .ajax__calendar_day {
    color: #91a5c0 !important;
}

.exam-structured-page .ajax__calendar_footer,
body.exam-module-page .ajax__calendar_footer {
    height: 38px !important;
    border-top: 1px solid #c8ddf5 !important;
    background: #fbfdff !important;
    color: var(--exam-ink) !important;
    font-weight: 800 !important;
    line-height: 38px !important;
}

.exam-structured-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 16px 18px;
}

.exam-structured-grid.three {
    grid-template-columns: repeat(3,minmax(0,1fr));
}

.exam-structured-field {
    min-width: 0;
}

.exam-structured-field.full {
    grid-column: 1 / -1;
}

.exam-structured-field > label,
.exam-structured-label {
    display: block;
    margin-bottom: 7px;
    color: #173a63;
    font-size: 13px;
    font-weight: 800;
}

.exam-structured-field input[type=text],
.exam-structured-field select,
.exam-structured-field textarea {
    width: 100% !important;
}

.exam-step-label {
    margin-bottom: 3px;
    color: #607c9c;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.exam-required {
    color: #b00020;
}

.exam-field-help {
    margin-top: 6px;
    color: #607c9c;
    font-size: 11px;
    line-height: 1.4;
}

.exam-validation {
    display: block;
    margin-top: 5px;
    color: #b42318;
    font-size: 11px;
    font-weight: 800;
}

.exam-validation-summary {
    margin-top: 18px;
    padding: 13px 16px;
    border: 1px solid #efb1ac;
    border-radius: 12px;
    background: #fff4f2;
    color: #9d2118;
    font-size: 12px;
}

.exam-choice-panel {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 16px 18px;
    border: 1px solid var(--exam-line);
    border-radius: 14px;
    background: linear-gradient(90deg,#f4f9ff,#fffaf0);
}

.exam-choice-panel strong {
    display: block;
    color: var(--exam-ink);
    font-size: 14px;
}

.exam-choice-panel p {
    margin: 5px 0 0;
    color: #607c9c;
    font-size: 12px;
}

.exam-radio-options {
    width: auto !important;
    border-collapse: separate !important;
    border-spacing: 8px 0 !important;
}

.exam-radio-options td {
    padding: 0 !important;
    white-space: nowrap;
}

.exam-radio-options label {
    margin-right: 12px;
    font-weight: 800;
}

.exam-lookup-banner {
    display: grid;
    grid-template-columns: minmax(0,1.4fr) minmax(320px,.8fr);
    gap: 18px;
    align-items: stretch;
}

.exam-lookup-main {
    display: grid;
    grid-template-columns: minmax(180px,.65fr) minmax(260px,1fr);
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--exam-line);
    border-radius: 15px;
    background: #fff;
}

.exam-lookup-metrics {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px;
}

.exam-metric {
    display: flex;
    min-height: 86px;
    flex-direction: column;
    justify-content: center;
    padding: 14px;
    border: 1px solid var(--exam-line);
    border-radius: 15px;
    background: var(--exam-soft);
}

.exam-metric span {
    color: #607c9c;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.exam-metric span + span,
.exam-metric > span + [id],
.exam-metric [id] {
    margin-top: 7px;
    color: var(--exam-ink);
    font-size: 15px;
    font-weight: 900;
}

.exam-candidate-form {
    display: block;
}

.exam-uci-control {
    display: grid;
    grid-template-columns: minmax(0,1fr) 190px;
    gap: 10px;
}

.exam-support-panel {
    display: block;
    margin-top: 16px;
    padding: 16px;
    border: 1px solid var(--exam-line);
    border-radius: 15px;
    background: var(--exam-soft);
}

.exam-support-panel textarea {
    min-height: 110px !important;
    resize: vertical;
}

.exam-search-note {
    margin-bottom: 16px;
}

.exam-search-grid {
    padding: 2px;
}

.exam-empty-state {
    width: 100%;
    padding: 28px 20px;
    border: 1px dashed #a9c9e9;
    border-radius: 14px;
    background: #f7fbff;
    color: #607c9c;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    box-sizing: border-box;
}

.exam-register-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding: 15px 17px;
    border: 1px solid var(--exam-line);
    border-radius: 15px;
    background: linear-gradient(90deg,var(--exam-soft),var(--exam-warm));
}

.exam-register-toolbar strong,
.exam-register-toolbar span {
    display: block;
}

.exam-register-toolbar strong {
    color: var(--exam-ink);
    font-size: 14px;
}

.exam-register-toolbar span {
    margin-top: 4px;
    color: #607c9c;
    font-size: 11px;
}

/* Shared polished Ajax calendar for all Exam module date fields */
body.exam-module-page .ajax__calendar_container {
    width: 270px !important;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid #b8d3ef !important;
    border-radius: 14px !important;
    background: #fff !important;
    color: var(--exam-ink) !important;
    font-family: 'Segoe UI',Tahoma,Arial,sans-serif !important;
    box-shadow: 0 16px 34px rgba(8,42,83,.18) !important;
}

body.exam-module-page .ajax__calendar_header {
    height: 42px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 10px !important;
    border-bottom: 1px solid #cfe2f5;
    background: #eaf4ff;
}

body.exam-module-page .ajax__calendar_title {
    color: #0b3f79 !important;
    font-size: 13px !important;
    font-weight: 900 !important;
}

body.exam-module-page .ajax__calendar_prev,
body.exam-module-page .ajax__calendar_next {
    top: 12px !important;
    color: #0b4c91 !important;
}

body.exam-module-page .ajax__calendar_body {
    width: 246px !important;
    height: 190px !important;
    margin: 10px 12px 4px !important;
}

body.exam-module-page .ajax__calendar_days,
body.exam-module-page .ajax__calendar_months,
body.exam-module-page .ajax__calendar_years {
    width: 246px !important;
    height: 190px !important;
}

body.exam-module-page .ajax__calendar_dayname,
body.exam-module-page .ajax__calendar_day,
body.exam-module-page .ajax__calendar_month,
body.exam-module-page .ajax__calendar_year {
    color: #173a63 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
}

body.exam-module-page .ajax__calendar_dayname {
    font-weight: 900 !important;
}

body.exam-module-page .ajax__calendar_month,
body.exam-module-page .ajax__calendar_year {
    width: 57px !important;
    height: 38px !important;
    margin: 2px !important;
    border-radius: 9px;
    background: #f3f8ff;
}

body.exam-module-page .ajax__calendar_active .ajax__calendar_day,
body.exam-module-page .ajax__calendar_active .ajax__calendar_month,
body.exam-module-page .ajax__calendar_active .ajax__calendar_year {
    border-radius: 8px;
    background: #1e73c9 !important;
    color: #fff !important;
}

body.exam-module-page .ajax__calendar_hover .ajax__calendar_day,
body.exam-module-page .ajax__calendar_hover .ajax__calendar_month,
body.exam-module-page .ajax__calendar_hover .ajax__calendar_year {
    border-radius: 8px;
    background: #e3f1ff !important;
    color: #0b4c91 !important;
}

body.exam-module-page .ajax__calendar_today {
    padding: 8px 10px !important;
    border-top: 1px solid #d4e5f6;
    background: #f8fbff;
    color: #0b4c91 !important;
    font-size: 11px !important;
    font-weight: 900 !important;
}

/* Admin Candidate Entry deliberately mirrors Admission_Public/StudentEntry.aspx */
.exam-public-entry-page {
    display: block;
    align-self: stretch;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 18px 12px 36px;
    color: #102a4c;
    font-family: 'Segoe UI',Tahoma,Arial,sans-serif;
    box-sizing: border-box;
}

body.exam-module-page .app-main > .app-container > .exam-public-entry-page {
    width: 100% !important;
    max-width: none !important;
}

.public-entry-hero {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border-radius: 24px;
    background: linear-gradient(135deg,#072e5f,#0b4a8d 62%,#c5a04a);
    color: #fff;
    box-shadow: 0 18px 45px rgba(3,31,68,.22);
}

.public-entry-hero::after {
    content: "";
    position: absolute;
    right: -70px;
    top: -70px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: rgba(255,255,255,.13);
}

.public-entry-brand,
.public-entry-hero h1,
.public-entry-hero p,
.public-entry-notice {
    position: relative;
    z-index: 1;
}

.public-entry-brand {
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: .92;
}

.public-entry-hero h1 {
    margin: 8px 0 4px;
    color: #fff;
    font-size: 30px;
    line-height: 1.1;
}

.public-entry-hero p {
    max-width: 760px;
    margin: 0;
    font-size: 15px;
    opacity: .94;
}

.public-entry-notice {
    margin-top: 14px;
    padding: 11px 13px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 16px;
    background: rgba(255,255,255,.13);
    font-size: 13px;
    font-weight: 700;
}

.public-entry-card {
    display: block;
    margin-top: 16px;
    overflow: hidden;
    border: 1px solid #d7e7f8;
    border-radius: 24px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 14px 35px rgba(11,48,91,.12);
}

.public-entry-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 22px;
    border-bottom: 1px solid #dbe9f6;
    background: linear-gradient(90deg,#edf6ff,#fffaf0);
}

.public-entry-card-head h2 {
    margin: 0;
    color: #082a53;
    font-size: 20px;
}

.public-entry-card-head span {
    color: #8a6a17;
    font-size: 12px;
    font-weight: 700;
}

.public-entry-body {
    padding: 22px;
}

.public-entry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 18px;
}

.public-entry-field {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 7px;
}

.public-entry-field.full {
    grid-column: 1 / -1;
}

.public-entry-field label {
    color: #173a63;
    font-size: 13px;
    font-weight: 800;
}

.public-entry-must {
    color: #b00020;
}

.exam-public-entry-page .public-entry-input,
.exam-public-entry-page input[type=text],
.exam-public-entry-page select,
.exam-public-entry-page textarea,
body.exam-module-page #MainContent .exam-public-entry-page .public-entry-input,
body.exam-module-page #MainContent .exam-public-entry-page input[type=text],
body.exam-module-page #MainContent .exam-public-entry-page select,
body.exam-module-page #MainContent .exam-public-entry-page textarea {
    width: 100% !important;
    min-height: 46px !important;
    padding: 12px 13px !important;
    border: 1px solid #bdd3ec !important;
    border-radius: 14px !important;
    outline: none;
    background: #fbfdff !important;
    color: #102a4c !important;
    font-family: 'Segoe UI',Tahoma,Arial,sans-serif !important;
    font-size: 15px !important;
    transition: .15s;
    box-sizing: border-box;
}

.exam-public-entry-page .public-entry-input:focus,
.exam-public-entry-page input[type=text]:focus,
.exam-public-entry-page select:focus,
.exam-public-entry-page textarea:focus,
body.exam-module-page #MainContent .exam-public-entry-page input[type=text]:focus,
body.exam-module-page #MainContent .exam-public-entry-page select:focus,
body.exam-module-page #MainContent .exam-public-entry-page textarea:focus {
    border-color: #0b62b4 !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(11,98,180,.14);
}

.exam-public-entry-page textarea,
body.exam-module-page #MainContent .exam-public-entry-page textarea {
    min-height: 92px !important;
    resize: vertical;
}

.public-entry-hint {
    color: #637d9b;
    font-size: 12px;
    line-height: 1.45;
}

.public-entry-soft-note {
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px solid #cde2f7;
    border-radius: 14px;
    background: #eef7ff;
    color: #21486f;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.45;
}

.public-entry-conditional {
    margin-top: 14px;
    padding: 16px;
    border: 1px solid #d7e7f8;
    border-radius: 18px;
    background: linear-gradient(135deg,#f7fbff,#fffdf7);
}

.public-entry-collapsible {
    max-height: 0;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
    border-width: 0;
    opacity: 0;
    transition: max-height .28s ease, opacity .22s ease, margin .22s ease, padding .22s ease;
}

.public-entry-collapsible.is-open {
    max-height: 520px;
    margin-top: 14px;
    padding: 16px;
    border-width: 1px;
    opacity: 1;
}

.public-entry-panel-grid,
.public-entry-guardian-grid {
    margin-top: 16px;
}

.public-entry-uci-row {
    display: grid;
    grid-template-columns: minmax(0,1fr) 150px;
    gap: 10px;
}

.public-entry-choice {
    display: block;
    width: auto !important;
}

.public-entry-choice table {
    width: auto !important;
    border-collapse: collapse !important;
}

.public-entry-choice td {
    padding: 3px 18px 3px 0 !important;
    white-space: nowrap;
}

.public-entry-choice label {
    margin-left: 6px;
    color: #173a63;
    font-size: 13px;
    font-weight: 800;
}

.public-entry-validation {
    display: block;
    color: #b00020;
    font-size: 12px;
    font-weight: 700;
}

.public-entry-validation ul {
    margin: 6px 0 0 18px;
    padding: 0;
}

.exam-duplicate-notice {
    padding: 14px 16px;
    border: 1px solid #e8c76f;
    border-radius: 16px;
    background: #fff9e9;
    color: #654a05;
    line-height: 1.45;
}

.exam-duplicate-notice strong,
.exam-duplicate-notice span {
    display: block;
}

.exam-duplicate-notice span {
    margin-top: 4px;
    font-size: 12px;
}

.exam-entry-review-list {
    margin-top: 18px;
    padding: 18px;
    border: 1px solid #c7dff8;
    border-radius: 16px;
    background: linear-gradient(135deg,#f2f8ff,#fffdf8);
    box-shadow: 0 12px 28px rgba(8,42,83,.08);
}

.exam-entry-review-list .sectionTitle {
    margin-bottom: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid #d6e6f6;
}

.exam-entry-review-list .exam-grid-wrap {
    overflow-x: auto;
    padding: 2px 2px 8px;
}

.exam-entry-review-list table.ce-floating-ribbon-grid {
    width: 100% !important;
    min-width: 900px;
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 9px !important;
    background: transparent !important;
}

.exam-entry-review-list .ce-floating-ribbon-grid th {
    padding: 11px 13px !important;
    border: 0 !important;
    background: #123d6d !important;
    color: #fff !important;
    font-size: 12px;
    font-weight: 800;
    text-align: left;
    white-space: nowrap;
}

.exam-entry-review-list .ce-floating-ribbon-grid th:first-child {
    border-radius: 10px 0 0 10px;
}

.exam-entry-review-list .ce-floating-ribbon-grid th:last-child {
    border-radius: 0 10px 10px 0;
}

.exam-entry-review-list .ce-floating-ribbon-grid tr:not(:first-child) td {
    padding: 12px 13px !important;
    border-top: 1px solid #d8e8f8 !important;
    border-bottom: 1px solid #d8e8f8 !important;
    background: #fff !important;
    color: #173a63;
    box-shadow: 0 8px 18px rgba(8,42,83,.07);
    vertical-align: middle;
}

.exam-entry-review-list .ce-floating-ribbon-grid tr.ce-ribbon-alt-row td {
    background: #f7fbff !important;
}

.exam-entry-review-list .ce-floating-ribbon-grid tr:not(:first-child) td:first-child {
    border-left: 4px solid #0b4c91 !important;
    border-radius: 11px 0 0 11px;
}

.exam-entry-review-list .ce-floating-ribbon-grid tr:not(:first-child) td:last-child {
    border-right: 1px solid #d8e8f8 !important;
    border-radius: 0 11px 11px 0;
    white-space: nowrap;
}

.exam-entry-review-list .ce-floating-ribbon-grid tr:not(:first-child):hover td {
    background: #edf7ff !important;
    box-shadow: 0 12px 24px rgba(8,42,83,.12);
}

.exam-entry-review-total {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    color: #173a63;
    font-weight: 800;
}

.exam-entry-review-total strong {
    min-width: 110px;
    padding: 9px 13px;
    border: 1px solid #c7dff8;
    border-radius: 12px;
    background: #fff;
    color: #082a53;
    text-align: right;
}

.exam-entry-review-list .exam-row-action,
body.exam-module-page #MainContent .exam-row-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    margin: 2px;
    padding: 7px 11px;
    border: 1px solid #b8d5f3;
    border-radius: 9px;
    background: #eaf4ff;
    color: #0a477f;
    font-weight: 800;
    text-decoration: none;
}

.exam-entry-review-list .exam-row-action.danger,
body.exam-module-page #MainContent .exam-row-action.danger {
    border-color: #efc2c2;
    background: #fff0f0;
    color: #9a1717;
}

.exam-master-upload-page {
    padding-top: 18px !important;
    padding-bottom: 36px !important;
}

.exam-master-message {
    display: block;
    margin-top: 16px;
    padding: 13px 15px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 800;
}

.exam-master-message.ok {
    border: 1px solid #bde9ca;
    background: #e9f8ef;
    color: #145d2c;
}

.exam-master-message.err {
    border: 1px solid #f1b7b7;
    background: #fff1f1;
    color: #9a1717;
}

.exam-master-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.exam-master-stats > div {
    min-height: 86px;
    padding: 14px;
    border: 1px solid #c7dff8;
    border-radius: 14px;
    background: #f8fbff;
}

.exam-master-stats span,
.exam-master-stats strong {
    display: block;
}

.exam-master-stats span {
    margin-bottom: 8px;
    color: #637d9b;
    font-size: 12px;
    font-weight: 700;
}

.exam-master-stats strong {
    color: #082a53;
    font-size: 17px;
}

.exam-master-file {
    width: 100%;
    min-height: 48px;
    padding: 9px;
    border: 1px solid #bdd3ec;
    border-radius: 14px;
    background: #fbfdff;
    color: #102a4c;
}

.exam-master-confirm {
    justify-content: center;
}

.exam-master-confirm input[type=checkbox] {
    margin-right: 7px;
}

.exam-master-danger {
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px solid #efc77a;
    border-radius: 14px;
    background: #fff9e9;
    color: #654a05;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.45;
}

@media (max-width: 760px) {
    .exam-master-stats {
        grid-template-columns: 1fr;
    }
}

.public-entry-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 18px;
    padding: 16px;
    border: 1px solid #d7e7f8;
    border-radius: 20px;
    background: linear-gradient(90deg,#edf7ff,#fffaf1);
}

.exam-public-entry-page .public-entry-btn,
body.exam-module-page #MainContent .exam-public-entry-page .public-entry-btn {
    min-height: 46px !important;
    padding: 13px 28px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg,#062d5c,#0b4f96 70%,#c2a24d) !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    box-shadow: 0 12px 24px rgba(6,45,92,.25) !important;
}

.public-entry-hidden {
    display: none !important;
}

.public-dob-wrap {
    position: relative;
}

.public-dob-picker {
    position: absolute;
    left: 0;
    top: 52px;
    z-index: 99999;
    display: none;
    width: 270px;
    padding: 8px;
    border: 1px solid #c9dcf6;
    border-radius: 14px;
    background: #f8fbff;
    box-shadow: 0 14px 30px rgba(11,48,91,.18);
}

.public-dob-picker.is-open {
    display: block;
}

.public-dob-head {
    height: 36px;
    display: grid;
    grid-template-columns: 32px 1fr 32px;
    align-items: center;
    margin-bottom: 10px;
    border: 1px solid #d7e7f8;
    border-radius: 12px;
    background: #eaf3ff;
}

.public-dob-head > div {
    color: #001f4f;
    font-size: 14px;
    font-weight: 900;
    line-height: 36px;
    text-align: center;
}

body.exam-module-page #MainContent .public-dob-head button,
.public-dob-head button {
    width: 32px !important;
    min-height: 34px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #0b4a8d !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    box-shadow: none !important;
}

.public-dob-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 9px;
    padding: 2px 6px 8px;
}

.public-dob-grid.days {
    grid-template-columns: repeat(7,1fr);
    gap: 4px;
    padding: 0 2px 8px;
}

body.exam-module-page #MainContent .public-dob-cell,
.public-dob-cell {
    min-height: 34px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #f2f6ff !important;
    color: #001f4f !important;
    font-family: 'Segoe UI',Tahoma,Arial,sans-serif !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    box-shadow: none !important;
}

body.exam-module-page #MainContent .public-dob-grid.days .public-dob-cell,
.public-dob-grid.days .public-dob-cell {
    min-height: 28px !important;
    border-radius: 50% !important;
    background: transparent !important;
}

body.exam-module-page #MainContent .public-dob-cell:hover,
.public-dob-cell:hover {
    background: #eaf3ff !important;
    color: #0b4a8d !important;
}

body.exam-module-page #MainContent .public-dob-cell.selected,
.public-dob-cell.selected {
    background: #2f80ed !important;
    color: #fff !important;
}

body.exam-module-page #MainContent .public-dob-cell.other,
.public-dob-cell.other {
    color: #99a7c0 !important;
}

.public-dob-day-name {
    padding: 5px 0;
    color: #17375f;
    font-size: 11px;
    font-weight: 900;
    text-align: center;
}

.public-dob-footer {
    margin-top: 4px;
    padding: 9px 0 2px;
    border-top: 1px solid #d7e7f8;
    color: #001f4f;
    font-size: 11px;
    font-weight: 900;
    text-align: center;
}

.exam-inline-action {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 9px;
    align-items: center;
}

.exam-structured-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
    padding: 15px;
    border: 1px solid var(--exam-line);
    border-radius: 16px;
    background: linear-gradient(90deg,var(--exam-soft),var(--exam-warm));
}

.exam-soft-note,
.exam-option-summary {
    padding: 13px 14px;
    border: 1px solid var(--exam-line);
    border-radius: 14px;
    background: var(--exam-soft);
    color: #21476f;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}

.exam-option-summary {
    background: var(--exam-warm);
    border-color: #e9cd83;
}

.exam-summary-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px;
    margin-top: 11px;
}

.exam-summary-item {
    padding: 11px 12px;
    border: 1px solid var(--exam-line);
    border-radius: 12px;
    background: #fff;
}

.exam-summary-item span {
    display: block;
    color: #607c9c;
    font-size: 11px;
    font-weight: 700;
}

.exam-summary-item strong {
    display: block;
    margin-top: 3px;
    color: var(--exam-ink);
    font-size: 14px;
}

.exam-grid-wrap {
    width: 100%;
    overflow-x: auto;
}

/* CE Floating Ribbon Grid */
body.exam-module-page #MainContent table.ce-floating-ribbon-grid {
    width: 100% !important;
    min-width: 840px;
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 9px !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.exam-module-page #MainContent .ce-floating-ribbon-grid th {
    padding: 11px 13px !important;
    border: 0 !important;
    background: #123d6d !important;
    color: #fff !important;
    text-align: left !important;
    white-space: nowrap;
}

body.exam-module-page #MainContent .ce-floating-ribbon-grid th:first-child {
    border-radius: 10px 0 0 10px;
}

body.exam-module-page #MainContent .ce-floating-ribbon-grid th:last-child {
    border-radius: 0 10px 10px 0;
}

body.exam-module-page #MainContent .ce-floating-ribbon-grid tr.ce-ribbon-row td,
body.exam-module-page #MainContent .ce-floating-ribbon-grid tr.ce-ribbon-alt-row td,
body.exam-module-page #MainContent .ce-floating-ribbon-grid tr:not(:first-child) td {
    padding: 12px 13px !important;
    border-top: 1px solid #d8e8f8 !important;
    border-bottom: 1px solid #d8e8f8 !important;
    background: #fff !important;
    box-shadow: 0 8px 18px rgba(8,42,83,.07);
    transition: transform .15s ease,box-shadow .15s ease;
}

body.exam-module-page #MainContent .ce-floating-ribbon-grid tr.ce-ribbon-alt-row td {
    background: #f7fbff !important;
}

body.exam-module-page #MainContent .ce-floating-ribbon-grid tr:nth-child(odd):not(:first-child) td {
    background: #f7fbff !important;
}

body.exam-module-page #MainContent .ce-floating-ribbon-grid tr.ce-ribbon-row td:first-child,
body.exam-module-page #MainContent .ce-floating-ribbon-grid tr.ce-ribbon-alt-row td:first-child,
body.exam-module-page #MainContent .ce-floating-ribbon-grid tr:not(:first-child) td:first-child {
    border-left: 4px solid #0b4c91 !important;
    border-radius: 11px 0 0 11px;
}

body.exam-module-page #MainContent .ce-floating-ribbon-grid tr.ce-ribbon-row td:last-child,
body.exam-module-page #MainContent .ce-floating-ribbon-grid tr.ce-ribbon-alt-row td:last-child,
body.exam-module-page #MainContent .ce-floating-ribbon-grid tr:not(:first-child) td:last-child {
    border-right: 1px solid #d8e8f8 !important;
    border-radius: 0 11px 11px 0;
}

body.exam-module-page #MainContent .ce-floating-ribbon-grid tr.ce-ribbon-row:hover td,
body.exam-module-page #MainContent .ce-floating-ribbon-grid tr.ce-ribbon-alt-row:hover td,
body.exam-module-page #MainContent .ce-floating-ribbon-grid tr:not(:first-child):hover td {
    background: #edf7ff !important;
    box-shadow: 0 12px 24px rgba(8,42,83,.12);
}

body.exam-module-page #MainContent .ce-floating-ribbon-grid td {
    vertical-align: middle !important;
}

body.exam-module-page #MainContent .ce-floating-ribbon-grid td:first-child a,
body.exam-module-page #MainContent .ce-floating-ribbon-grid td:first-child input[type=submit] {
    display: inline-flex;
    min-height: 30px !important;
    align-items: center;
    justify-content: center;
    padding: 6px 10px !important;
    border-radius: 8px !important;
    background: #e9f4ff !important;
    color: #0b4c91 !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    text-decoration: none;
    box-shadow: none !important;
}

/* Final Exam module normalisation: keep every GridView and calendar in the same visual language. */
body.exam-module-page #MainContent table.ce-floating-ribbon-grid {
    width: 100% !important;
    min-width: 840px;
    border-collapse: separate !important;
    border-spacing: 0 9px !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--exam-ink) !important;
    font-size: 14px !important;
}

body.exam-module-page #MainContent table.ce-floating-ribbon-grid th {
    padding: 11px 13px !important;
    border: 0 !important;
    background: #123d6d !important;
    color: #fff !important;
    text-align: left !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    white-space: nowrap;
    text-decoration: none !important;
}

body.exam-module-page #MainContent table.ce-floating-ribbon-grid th:first-child {
    border-radius: 10px 0 0 10px !important;
}

body.exam-module-page #MainContent table.ce-floating-ribbon-grid th:last-child {
    border-radius: 0 10px 10px 0 !important;
}

body.exam-module-page #MainContent table.ce-floating-ribbon-grid th a,
body.exam-module-page #MainContent table.ce-floating-ribbon-grid th a:visited {
    color: #fff !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

body.exam-module-page #MainContent table.ce-floating-ribbon-grid tr.ce-ribbon-row td,
body.exam-module-page #MainContent table.ce-floating-ribbon-grid tr.ce-ribbon-alt-row td,
body.exam-module-page #MainContent table.ce-floating-ribbon-grid tr:not(:first-child) td {
    padding: 12px 13px !important;
    border-top: 1px solid #d8e8f8 !important;
    border-bottom: 1px solid #d8e8f8 !important;
    background: #fff !important;
    color: var(--exam-ink) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.28 !important;
    vertical-align: middle !important;
    box-shadow: 0 8px 18px rgba(8,42,83,.07);
    transition: transform .15s ease,box-shadow .15s ease;
}

body.exam-module-page #MainContent table.ce-floating-ribbon-grid tr.ce-ribbon-alt-row td,
body.exam-module-page #MainContent table.ce-floating-ribbon-grid tr:nth-child(odd):not(:first-child) td {
    background: #f7fbff !important;
}

body.exam-module-page #MainContent table.ce-floating-ribbon-grid tr.ce-ribbon-row td:first-child,
body.exam-module-page #MainContent table.ce-floating-ribbon-grid tr.ce-ribbon-alt-row td:first-child,
body.exam-module-page #MainContent table.ce-floating-ribbon-grid tr:not(:first-child) td:first-child {
    border-left: 4px solid #0b4c91 !important;
    border-radius: 11px 0 0 11px !important;
}

body.exam-module-page #MainContent table.ce-floating-ribbon-grid tr.ce-ribbon-row td:last-child,
body.exam-module-page #MainContent table.ce-floating-ribbon-grid tr.ce-ribbon-alt-row td:last-child,
body.exam-module-page #MainContent table.ce-floating-ribbon-grid tr:not(:first-child) td:last-child {
    border-right: 1px solid #d8e8f8 !important;
    border-radius: 0 11px 11px 0 !important;
}

body.exam-module-page #MainContent table.ce-floating-ribbon-grid tr.ce-ribbon-row:hover td,
body.exam-module-page #MainContent table.ce-floating-ribbon-grid tr.ce-ribbon-alt-row:hover td,
body.exam-module-page #MainContent table.ce-floating-ribbon-grid tr:not(:first-child):hover td {
    background: #edf7ff !important;
    box-shadow: 0 12px 24px rgba(8,42,83,.12);
}

body.exam-module-page #MainContent table.ce-floating-ribbon-grid a {
    color: #0b4c91 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

body.exam-module-page #MainContent table.ce-floating-ribbon-grid a:hover {
    text-decoration: underline !important;
}

body.exam-module-page #MainContent table.ce-floating-ribbon-grid td:first-child a,
body.exam-module-page #MainContent table.ce-floating-ribbon-grid td:first-child input[type=submit],
body.exam-module-page #MainContent table.ce-floating-ribbon-grid .ce-action-link,
body.exam-module-page #MainContent table.ce-floating-ribbon-grid .grid-action-link {
    display: inline-flex;
    min-height: 34px !important;
    align-items: center;
    justify-content: center;
    padding: 7px 14px !important;
    border: 1px solid #9fd0ff !important;
    border-radius: 10px !important;
    background: #e9f4ff !important;
    color: #0b4c91 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

body.exam-module-page #MainContent .candidate-results-grid table.ce-floating-ribbon-grid {
    min-width: 0 !important;
    max-width: 100% !important;
    border-spacing: 0 7px !important;
}

body.exam-module-page #MainContent .candidate-results-grid {
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
}

body.exam-module-page #MainContent .candidate-results-grid table.ce-floating-ribbon-grid th {
    padding: 10px 14px !important;
}

body.exam-module-page #MainContent .candidate-results-grid table.ce-floating-ribbon-grid tr.ce-ribbon-row td,
body.exam-module-page #MainContent .candidate-results-grid table.ce-floating-ribbon-grid tr.ce-ribbon-alt-row td,
body.exam-module-page #MainContent .candidate-results-grid table.ce-floating-ribbon-grid tr:not(:first-child) td {
    padding: 10px 14px !important;
    min-height: 0 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    box-shadow: 0 6px 16px rgba(8,42,83,.06);
}

body.exam-module-page #MainContent .candidate-results-grid table.ce-floating-ribbon-grid tr.ce-ribbon-row td:first-child,
body.exam-module-page #MainContent .candidate-results-grid table.ce-floating-ribbon-grid tr.ce-ribbon-alt-row td:first-child,
body.exam-module-page #MainContent .candidate-results-grid table.ce-floating-ribbon-grid tr:not(:first-child) td:first-child {
    border-left: 5px solid #0b8a8a !important;
}

body.exam-module-page #MainContent .candidate-results-grid table.ce-floating-ribbon-grid tr:nth-child(odd):not(:first-child) td:first-child {
    border-left-color: #ed9a08 !important;
}

body.exam-module-page #MainContent table.ce-floating-ribbon-grid td:first-child a.ce-candidate-row-link,
body.exam-module-page #MainContent table.ce-floating-ribbon-grid a.ce-candidate-row-link {
    display: inline !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #0b4c91 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

body.exam-module-page #MainContent table.ce-floating-ribbon-grid a.ce-candidate-row-link:hover {
    color: #073d73 !important;
    text-decoration: underline !important;
}

body.exam-module-page #MainContent table.ce-candidate-ribbon-grid {
    width: calc(100% - 2px) !important;
    max-width: 100% !important;
    min-width: 0 !important;
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 10px !important;
    table-layout: fixed !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

body.exam-module-page #MainContent table.ce-candidate-ribbon-grid th {
    padding: 10px 14px !important;
    border: 0 !important;
    background: #104a83 !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-align: left !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    line-height: 1.2 !important;
    box-sizing: border-box !important;
}

body.exam-module-page #MainContent table.ce-candidate-ribbon-grid th:first-child {
    border-radius: 10px 0 0 10px !important;
}

body.exam-module-page #MainContent table.ce-candidate-ribbon-grid th:last-child {
    border-radius: 0 10px 10px 0 !important;
}

body.exam-module-page #MainContent table.ce-candidate-ribbon-grid tr.ce-ribbon-row td,
body.exam-module-page #MainContent table.ce-candidate-ribbon-grid tr.ce-ribbon-alt-row td,
body.exam-module-page #MainContent table.ce-candidate-ribbon-grid tr:not(:first-child) td {
    padding: 10px 12px !important;
    border-top: 1px solid #cfe4fb !important;
    border-bottom: 1px solid #cfe4fb !important;
    background: #f8fbff !important;
    color: #123a68 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    vertical-align: middle !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    box-shadow: 0 8px 18px rgba(8,42,83,.06) !important;
    box-sizing: border-box !important;
}

body.exam-module-page #MainContent table.ce-candidate-ribbon-grid tr.ce-ribbon-alt-row td,
body.exam-module-page #MainContent table.ce-candidate-ribbon-grid tr:nth-child(even):not(:first-child) td {
    background: #eef7ff !important;
    border-color: #c8def5 !important;
}

body.exam-module-page #MainContent table.ce-candidate-ribbon-grid tr.ce-ribbon-row td:first-child,
body.exam-module-page #MainContent table.ce-candidate-ribbon-grid tr.ce-ribbon-alt-row td:first-child,
body.exam-module-page #MainContent table.ce-candidate-ribbon-grid tr:not(:first-child) td:first-child {
    border-left: 6px solid #0b4c91 !important;
    border-radius: 13px 0 0 13px !important;
}

body.exam-module-page #MainContent table.ce-candidate-ribbon-grid tr.ce-ribbon-alt-row td:first-child,
body.exam-module-page #MainContent table.ce-candidate-ribbon-grid tr:nth-child(even):not(:first-child) td:first-child {
    border-left-color: #436d9d !important;
}

body.exam-module-page #MainContent table.ce-candidate-ribbon-grid tr.ce-ribbon-row td:last-child,
body.exam-module-page #MainContent table.ce-candidate-ribbon-grid tr.ce-ribbon-alt-row td:last-child,
body.exam-module-page #MainContent table.ce-candidate-ribbon-grid tr:not(:first-child) td:last-child {
    border-right: 1px solid #cfe4fb !important;
    border-radius: 0 13px 13px 0 !important;
}

body.exam-module-page #MainContent table.ce-candidate-ribbon-grid tr.ce-ribbon-alt-row td:last-child,
body.exam-module-page #MainContent table.ce-candidate-ribbon-grid tr:nth-child(even):not(:first-child) td:last-child {
    border-right-color: #c8def5 !important;
}

body.exam-module-page #MainContent table.ce-candidate-ribbon-grid tr:not(:first-child):hover td {
    background: #edf7ff !important;
    box-shadow: 0 12px 22px rgba(8,42,83,.12) !important;
}

body.exam-module-page .ajax__calendar_container {
    z-index: 10000 !important;
    width: 276px !important;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid #b8d3ef !important;
    border-radius: 14px !important;
    background: #fff !important;
    color: var(--exam-ink) !important;
    font-family: 'Segoe UI',Tahoma,Arial,sans-serif !important;
    box-shadow: 0 16px 34px rgba(8,42,83,.18) !important;
}

body.exam-module-page .ajax__calendar_header {
    height: 44px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 12px !important;
    border-bottom: 1px solid #cfe2f5 !important;
    background: #eaf4ff !important;
}

body.exam-module-page .ajax__calendar_title {
    color: #0b3f79 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
}

body.exam-module-page .ajax__calendar_prev,
body.exam-module-page .ajax__calendar_next {
    top: 12px !important;
    color: #0b4c91 !important;
}

body.exam-module-page .ajax__calendar_body {
    width: 248px !important;
    height: 226px !important;
    margin: 10px 14px 0 !important;
}

body.exam-module-page .ajax__calendar_days,
body.exam-module-page .ajax__calendar_months,
body.exam-module-page .ajax__calendar_years {
    width: 248px !important;
    height: 206px !important;
}

body.exam-module-page .ajax__calendar_dayname,
body.exam-module-page .ajax__calendar_day,
body.exam-module-page .ajax__calendar_month,
body.exam-module-page .ajax__calendar_year {
    color: #173a63 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

body.exam-module-page .ajax__calendar_dayname {
    width: 31px !important;
    height: 24px !important;
    font-weight: 800 !important;
}

body.exam-module-page .ajax__calendar_day {
    width: 31px !important;
    height: 28px !important;
    line-height: 28px !important;
    border-radius: 8px !important;
}

body.exam-module-page .ajax__calendar_month,
body.exam-module-page .ajax__calendar_year {
    width: 50px !important;
    height: 32px !important;
    margin: 4px 5px !important;
    line-height: 32px !important;
    border-radius: 9px !important;
    background: #f3f8ff !important;
}

body.exam-module-page .ajax__calendar_active .ajax__calendar_day,
body.exam-module-page .ajax__calendar_active .ajax__calendar_month,
body.exam-module-page .ajax__calendar_active .ajax__calendar_year,
body.exam-module-page .ajax__calendar_day:hover,
body.exam-module-page .ajax__calendar_month:hover,
body.exam-module-page .ajax__calendar_year:hover,
body.exam-module-page .ajax__calendar_hover .ajax__calendar_day,
body.exam-module-page .ajax__calendar_hover .ajax__calendar_month,
body.exam-module-page .ajax__calendar_hover .ajax__calendar_year {
    background: #2f83f6 !important;
    color: #fff !important;
}

body.exam-module-page .ajax__calendar_other .ajax__calendar_day {
    color: #91a5c0 !important;
}

body.exam-module-page .ajax__calendar_footer,
body.exam-module-page .ajax__calendar_today {
    height: 38px !important;
    padding: 9px 10px !important;
    border-top: 1px solid #d4e5f6 !important;
    background: #f8fbff !important;
    color: #0b4c91 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
}

body.exam-module-page #MainContent .ajax__tab_header {
    display: flex !important;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 16px !important;
    border-bottom: 1px solid var(--exam-line);
    border-radius: 18px 18px 0 0;
    background: linear-gradient(90deg,var(--exam-soft),var(--exam-warm));
    font-family: 'Segoe UI',Tahoma,Arial,sans-serif !important;
}

body.exam-module-page #MainContent .ajax__tab_outer,
body.exam-module-page #MainContent .ajax__tab_inner,
body.exam-module-page #MainContent .ajax__tab_tab {
    background: none !important;
}

body.exam-module-page #MainContent .ajax__tab_tab {
    display: inline-flex !important;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0 18px !important;
    border: 1px solid #9fd0ff !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #0b4c91 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0;
    box-shadow: none !important;
}

body.exam-module-page #MainContent .ajax__tab_active .ajax__tab_tab {
    border-color: #08345f !important;
    background: #0b4c91 !important;
    color: #fff !important;
    font-weight: 800 !important;
    box-shadow: 0 10px 22px rgba(8,42,83,.16) !important;
}

body.exam-module-page #MainContent .ajax__tab_body {
    border: 1px solid var(--exam-line) !important;
    border-top: 0 !important;
    border-radius: 0 0 18px 18px !important;
    background: #fff !important;
}

/* Tames the remaining very large legacy edit page without changing its controls. */
.exam-legacy-workspace {
    width: 100%;
}

.exam-legacy-workspace > table {
    width: 100% !important;
    margin: 0 !important;
}

.exam-legacy-workspace .ajax__tab_container {
    width: 100% !important;
}

.exam-details-workspace > .exam-structured-body {
    padding: 18px;
}

.exam-workspace-guide {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.exam-workspace-guide > div {
    padding: 15px;
    border: 1px solid var(--exam-line);
    border-radius: 14px;
    background: #f8fbff;
}

.exam-workspace-guide strong,
.exam-workspace-guide span {
    display: block;
}

.exam-workspace-guide strong {
    color: var(--exam-ink);
    font-size: 13px;
}

.exam-workspace-guide span {
    margin-top: 4px;
    color: #607c9c;
    font-size: 11px;
    line-height: 1.4;
}

.exam-details-workspace .ajax__tab_header {
    display: flex !important;
    gap: 7px;
    min-height: 48px;
    padding: 8px !important;
    border: 1px solid var(--exam-line);
    border-bottom: 0;
    border-radius: 14px 14px 0 0;
    background: linear-gradient(90deg,var(--exam-soft),var(--exam-warm)) !important;
}

.exam-details-workspace .ajax__tab_outer,
.exam-details-workspace .ajax__tab_inner,
.exam-details-workspace .ajax__tab_tab {
    height: auto !important;
    background: none !important;
}

.exam-details-workspace .ajax__tab_tab {
    min-height: 38px !important;
    display: inline-flex !important;
    align-items: center;
    padding: 0 15px !important;
    border: 1px solid #b9d6f3 !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #0b4c91 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
}

.exam-details-workspace .ajax__tab_active .ajax__tab_tab {
    border-color: #0b4c91 !important;
    background: #0b4c91 !important;
    color: #fff !important;
}

.exam-legacy-workspace .ajax__tab_body {
    padding: 20px !important;
    border: 1px solid var(--exam-line) !important;
    border-radius: 0 0 14px 14px;
    background: #fbfdff;
}

.exam-details-workspace .ajax__tab_body > div > table,
.exam-details-workspace .ajax__tab_body table[style*="width: 100%"] {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 10px !important;
}

.exam-details-workspace .ajax__tab_body tr.style132,
.exam-details-workspace .ajax__tab_body td.style129,
.exam-details-workspace .ajax__tab_body td.style133:empty {
    display: none !important;
}

.exam-details-workspace .ajax__tab_body td.style140 {
    width: 155px !important;
    padding: 10px 12px !important;
    color: #173a63 !important;
    font-size: 12px;
    font-weight: 900;
    vertical-align: middle;
}

.exam-details-workspace .ajax__tab_body td.style140 input[readonly] {
    border: 0 !important;
    background: transparent !important;
    color: #173a63 !important;
    font-weight: 900;
}

.exam-details-workspace .ajax__tab_body td.style140 + td {
    display: grid;
    grid-template-columns: minmax(220px,1fr) auto;
    gap: 10px;
    align-items: center;
}

.exam-details-workspace .ajax__tab_body td.style140 + td > input[type=text] {
    width: 100% !important;
}

.exam-details-workspace .ajax__tab_body .style141 {
    padding: 14px 16px !important;
    border-radius: 10px;
    background: #123d6d !important;
    color: #fff !important;
    font-family: 'Segoe UI',Tahoma,Arial,sans-serif !important;
    font-size: 14px !important;
    text-align: left !important;
}

.exam-details-workspace .ajax__tab_body .style143 {
    width: 120px !important;
    padding: 10px 9px !important;
    border: 0 !important;
    background: transparent !important;
    color: #173a63 !important;
    font-size: 11px !important;
    font-weight: 900 !important;
}

.exam-details-workspace .ajax__tab_body .style144 {
    padding: 8px !important;
    background: transparent !important;
}

.exam-detail-legacy-table > tbody > tr:nth-child(1),
.exam-detail-legacy-table > tbody > tr:nth-child(2) {
    display: none;
}

.exam-detail-legacy-table > tbody > tr > td:first-child,
.exam-detail-legacy-table > tbody > tr > td:last-child {
    width: 0 !important;
    padding: 0 !important;
}

.exam-detail-legacy-table > tbody > tr > td:nth-child(2) {
    width: 100% !important;
    padding: 18px !important;
}

.exam-structured-card > table {
    width: 100% !important;
}

.exam-structured-card > table td {
    padding: 8px 10px;
    vertical-align: top;
}

.exam-structured-card > table td[class*="style1"],
.exam-structured-card > table td[class*="style2"] {
    color: var(--exam-ink);
}

.exam-structured-page .exam-structured-card > table,
.exam-structured-page .exam-structured-card > table > tbody {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 10px !important;
}

.exam-structured-page .exam-structured-card td[style*="#CCCCCC"],
.exam-structured-page .exam-structured-card td[style*="#cccccc"] {
    width: 160px !important;
    padding: 15px 10px 5px !important;
    background: transparent !important;
    color: #173a63 !important;
    text-align: left !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

.exam-structured-page .exam-structured-card td.style179 {
    padding: 17px 20px !important;
    border-bottom: 1px solid var(--exam-line);
    background: linear-gradient(90deg,var(--exam-soft),var(--exam-warm)) !important;
    color: var(--exam-ink) !important;
    text-align: left !important;
    font-family: 'Segoe UI',Tahoma,Arial,sans-serif !important;
    font-size: 20px !important;
}

.exam-structured-page .exam-structured-card input[type=text],
.exam-structured-page .exam-structured-card select,
.exam-structured-page .exam-structured-card textarea {
    width: 100% !important;
    min-height: 43px;
}

.exam-structured-page .exam-structured-card input[type=radio] {
    margin-right: 6px;
}

@media (max-width: 900px) {
    .exam-module-nav-shell {
        margin-top: 8px;
    }

    body.exam-module-page .app-main > .app-container {
        width: calc(100% - 20px);
    }

    body.exam-module-page #MainContent > table {
        display: block;
        overflow-x: auto;
    }

    .exam-structured-grid,
    .exam-structured-grid.three,
    .exam-summary-grid {
        grid-template-columns: 1fr;
    }

    .exam-structured-card-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .exam-choice-panel,
    .exam-lookup-banner,
    .exam-lookup-main,
    .exam-lookup-metrics,
    .exam-uci-control,
    .exam-workspace-guide {
        grid-template-columns: 1fr;
    }

    .exam-register-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .exam-public-entry-page {
        padding: 10px;
    }

    .public-entry-hero {
        padding: 18px;
        border-radius: 18px;
    }

    .public-entry-hero h1 {
        font-size: 24px;
    }

    .public-entry-grid,
    .public-entry-uci-row {
        grid-template-columns: 1fr;
    }

    .public-entry-card-head {
        align-items: flex-start;
        flex-direction: column;
        padding: 15px;
    }

    .public-entry-body {
        padding: 15px;
    }

    .public-entry-actions {
        justify-content: stretch;
    }

    body.exam-module-page #MainContent .exam-public-entry-page .public-entry-btn {
        width: 100% !important;
    }
}
