#app {
    min-height: 100vh;
}

body {
    background: #f5f7fa;
}

.app-navbar {
    background:
        radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.36), transparent 28%),
        linear-gradient(110deg, #124e66 0%, #1b7891 42%, #7bc7ea 76%, #124e66 100%) !important;
    background-size: 220% 220% !important;
    box-shadow: 0 12px 28px rgba(18, 78, 102, 0.24), 0 2px 8px rgba(18, 78, 102, 0.18) !important;
    overflow: hidden;
    position: relative;
    width: 100%;
    animation: skyShift 13s ease-in-out infinite;
}

.app-navbar::after {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
    content: "";
    height: 100%;
    left: -45%;
    position: absolute;
    top: 0;
    transform: skewX(-18deg);
    width: 32%;
    animation: navbarShine 5.5s ease-in-out infinite;
}

.navbar-inner {
    align-items: center;
    display: flex;
    min-height: 64px;
    padding-left: 24px;
    padding-right: 24px;
    position: relative;
    z-index: 1;
}

.navbar-brand {
    align-items: center;
    color: inherit;
    display: inline-flex;
    gap: 9px;
    line-height: 1;
    min-width: 0;
    text-decoration: none;
}

.navbar-title {
    font-weight: 700;
    overflow-wrap: anywhere;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
}

@keyframes skyShift {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes navbarShine {
    0%, 55% {
        left: -45%;
        opacity: 0;
    }

    70% {
        opacity: 1;
    }

    100% {
        left: 115%;
        opacity: 0;
    }
}

.main-shell {
    background:
        linear-gradient(180deg, rgba(18, 78, 102, 0.08) 0, rgba(18, 78, 102, 0) 260px),
        #f5f7fa;
    min-height: 100vh;
    padding: 96px 18px 48px;
}

.bact-public-navbar {
    background: rgba(18, 52, 63, 0.94) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    animation: navDrop 520ms ease-out both;
}

.bact-public-nav-inner {
    align-items: center;
    display: flex;
    gap: 18px;
    min-height: 72px;
    padding-left: 22px;
    padding-right: 22px;
}

.bact-public-brand {
    align-items: center;
    color: white !important;
    display: inline-flex;
    gap: 12px;
    min-width: 0;
    overflow: visible;
    position: relative;
    text-decoration: none;
}

.bact-public-brand img {
    --logo-y: 15px;
    animation: logoPulse 3.8s ease-in-out infinite;
    background: transparent;
    border-radius: 50%;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.28));
    height: 78px;
    object-fit: contain;
    padding: 0;
    transform: translateY(var(--logo-y));
    width: 78px;
    z-index: 2;
}

.bact-public-brand span {
    color: white;
    font-size: 1.35rem;
    font-weight: 900;
}

.bact-public-links {
    align-items: center;
    display: flex;
    gap: 6px;
    margin-left: 10px;
}

.bact-public-links .mud-nav-link,
.bact-public-links .mud-button-root {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.92rem;
    font-weight: 800;
    text-decoration: none;
    text-transform: none;
    white-space: nowrap;
}

.bact-public-links .mud-nav-link {
    border-radius: 8px;
    min-height: 38px;
    min-width: max-content;
    padding: 9px 10px;
}

.bact-public-links .mud-button-root {
    min-width: max-content;
    padding-left: 12px;
    padding-right: 12px;
}

.bact-public-links .mud-nav-link:hover,
.bact-public-links .mud-button-root:hover {
    background: rgba(255, 255, 255, 0.1);
}

.bact-public-links .mud-nav-link.active {
    background: rgba(242, 201, 76, 0.18) !important;
    color: #f2c94c !important;
    box-shadow: inset 0 -2px 0 #f2c94c;
}

.bact-public-links .mud-nav-link.active .mud-nav-link-text {
    color: #f2c94c !important;
}

.bact-public-cta {
    white-space: nowrap;
}

.lookup-page,
.report-page {
    width: 100%;
}

.lookup-panel,
.student-panel,
.report-sheet {
    border: 1px solid rgba(18, 78, 102, 0.14);
    border-radius: 8px;
    padding: 32px;
}

.page-heading {
    color: #12343f;
    font-weight: 700;
    margin-bottom: 6px;
}

.request-type-group .mud-radio-group {
    gap: 12px;
}

.student-actions {
    flex-wrap: wrap;
}

.slip-letterhead {
    align-items: center;
    display: grid;
    gap: 14px;
    grid-template-columns: 92px 1fr 92px;
}

.bact-logo {
    height: 84px;
    object-fit: contain;
    width: 84px;
}

.letterhead-text {
    text-align: center;
}

.academy-title {
    color: #12343f;
    font-weight: 800;
}

.bact-home-page {
    background: #f6faf8;
    color: #12343f;
    margin: -96px -18px -48px;
}

.bact-home-hero {
    background:
        linear-gradient(90deg, rgba(10, 35, 44, 0.88), rgba(10, 35, 44, 0.58), rgba(10, 35, 44, 0.2)),
        url("/images/site/slider-1.jpg") center / cover;
    background-position: center top;
    min-height: 620px;
    transition: background-image 600ms ease, background-position 600ms ease;
}

.bact-home-hero-overlay {
    align-items: center;
    display: flex;
    min-height: 620px;
    padding-top: 96px;
}

.bact-home-hero-inner {
    width: 100%;
}

.bact-home-hero-copy {
    color: white;
    max-width: 760px;
    padding: 42px 0;
    animation: fadeUp 720ms ease-out both;
}

.bact-home-kicker {
    color: #f2c94c;
    font-weight: 900;
}

.bact-home-hero h1 {
    color: white;
    font-size: clamp(2.8rem, 6vw, 5.8rem);
    font-weight: 900;
    line-height: 0.98;
    margin: 12px 0 20px;
    max-width: 860px;
}

.bact-home-hero p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.22rem;
    line-height: 1.65;
    max-width: 680px;
}

.bact-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.bact-home-main {
    padding-bottom: 58px;
    padding-top: 54px;
}

.bact-home-section {
    animation: fadeUp 720ms ease-out both;
    animation-timeline: view();
    animation-range: entry 0 cover 28%;
    margin-bottom: 58px;
}

.bact-section-heading {
    margin-bottom: 22px;
    max-width: 760px;
}

.bact-section-heading span,
.bact-activity-band span,
.bact-message-card span,
.bact-home-footer span {
    color: #0f766e;
    display: block;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.bact-section-heading h2,
.bact-activity-band h2,
.bact-message-card h2 {
    color: #12343f;
    font-size: clamp(1.7rem, 3vw, 2.55rem);
    font-weight: 900;
    line-height: 1.12;
    margin: 6px 0 0;
}

.bact-update-list {
    display: grid;
    gap: 12px;
}

.bact-update-item {
    align-items: center;
    background: white;
    border: 1px solid rgba(18, 78, 102, 0.12);
    border-left: 5px solid #f2c94c;
    border-radius: 8px;
    color: #12343f;
    display: grid;
    gap: 14px;
    grid-template-columns: 34px 1fr;
    padding: 16px 18px;
    text-decoration: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.bact-update-item:hover {
    border-left-color: #0f766e;
    box-shadow: 0 12px 28px rgba(18, 78, 102, 0.12);
    transform: translateY(-2px);
}

.bact-update-item .mud-icon-root {
    color: #0f766e;
}

.bact-update-item strong {
    align-items: center;
    display: block;
    font-size: 1rem;
    font-weight: 900;
}

.bact-update-item em {
    background: #ef4444;
    border-radius: 999px;
    color: white;
    display: inline-block;
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 900;
    margin-left: 8px;
    padding: 2px 8px;
    vertical-align: middle;
}

.bact-update-item p {
    color: #64748b;
    margin: 3px 0 0;
}

.bact-service-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bact-service-card {
    background: white;
    border: 1px solid rgba(18, 78, 102, 0.12);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 220ms ease, transform 220ms ease;
}

.bact-service-card:hover,
.bact-info-card:hover,
.bact-contact-card:hover,
.bact-message-card:hover {
    box-shadow: 0 18px 38px rgba(18, 78, 102, 0.14);
    transform: translateY(-4px);
}

.bact-service-card > img {
    background: #e8f3f0;
    height: 155px;
    object-fit: contain;
    padding: 30px;
    width: 100%;
}

.bact-service-card > div {
    padding: 20px;
}

.bact-service-card .mud-icon-root {
    color: #0f766e;
    font-size: 2rem;
    margin-bottom: 10px;
}

.bact-service-card h3 {
    color: #12343f;
    font-size: 1.16rem;
    font-weight: 900;
    margin: 0 0 8px;
}

.bact-service-card p,
.bact-message-card p,
.bact-home-footer p {
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

.bact-message-section {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bact-message-card {
    background: white;
    border: 1px solid rgba(18, 78, 102, 0.12);
    border-radius: 8px;
    display: grid;
    gap: 22px;
    grid-template-columns: 170px 1fr;
    overflow: hidden;
    padding: 24px;
    transition: box-shadow 220ms ease, transform 220ms ease;
}

.bact-message-card img {
    align-self: end;
    height: 220px;
    object-fit: contain;
    width: 170px;
}

.bact-message-card-alt {
    background: #12343f;
}

.bact-message-card-alt h2,
.bact-message-card-alt p {
    color: white;
}

.bact-message-card-alt span {
    color: #f2c94c;
}

.bact-activity-band {
    align-items: center;
    background:
        linear-gradient(90deg, rgba(18, 52, 63, 0.94), rgba(15, 118, 110, 0.88)),
        url("/images/site/course-01.jpg") center / cover;
    border-radius: 8px;
    color: white;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    padding: 34px;
}

.bact-activity-band h2,
.bact-activity-band span {
    color: white;
}

.bact-facts-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bact-fact-tile {
    background: white;
    border: 1px solid rgba(18, 78, 102, 0.12);
    border-radius: 8px;
    padding: 28px;
    text-align: center;
}

.bact-fact-tile strong {
    color: #0f766e;
    display: block;
    font-size: 2.7rem;
    font-weight: 900;
    line-height: 1;
}

.bact-fact-tile span {
    color: #12343f;
    display: block;
    font-weight: 900;
    margin-top: 8px;
}

.bact-home-footer {
    background: #102f38;
    color: white;
    padding: 38px 0;
}

.bact-footer-inner {
    display: grid;
    gap: 28px;
    grid-template-columns: 2fr 1fr 1fr;
}

.bact-home-footer img {
    background: white;
    border-radius: 8px;
    height: 58px;
    margin-bottom: 12px;
    object-fit: contain;
    padding: 6px;
    width: 58px;
}

.bact-home-footer strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.bact-home-footer p {
    color: rgba(255, 255, 255, 0.78);
}

.bact-home-footer .mud-link {
    color: rgba(255, 255, 255, 0.82);
    display: block;
    margin-top: 8px;
}

.bact-inner-page {
    background: #f6faf8;
    animation: softPageIn 420ms ease-out both;
    margin: -96px -18px -48px;
    min-height: 100vh;
}

.bact-inner-hero {
    background:
        linear-gradient(90deg, rgba(18, 52, 63, 0.92), rgba(15, 118, 110, 0.8)),
        url("/images/site/slider-2.jpg") center / cover;
    color: white;
    padding: 150px 0 72px;
}

.bact-inner-hero .mud-container {
    animation: fadeUp 620ms ease-out both;
}

.bact-inner-hero span {
    color: #f2c94c;
    display: block;
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.bact-inner-hero h1 {
    color: white;
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1;
    margin: 8px 0 14px;
}

.bact-inner-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 760px;
}

.bact-inner-content {
    padding-bottom: 60px;
    padding-top: 42px;
}

.bact-text-panel {
    background: white;
    border: 1px solid rgba(18, 78, 102, 0.12);
    border-radius: 8px;
    margin-bottom: 22px;
    padding: 28px;
}

.bact-text-panel p {
    color: #475569;
    font-size: 1.02rem;
    line-height: 1.75;
    margin: 0 0 14px;
}

.bact-text-panel p:last-child {
    margin-bottom: 0;
}

.bact-card-grid,
.bact-contact-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bact-info-card,
.bact-contact-card,
.bact-list-panel {
    background: white;
    border: 1px solid rgba(18, 78, 102, 0.12);
    border-radius: 8px;
    padding: 24px;
    transition: box-shadow 220ms ease, transform 220ms ease;
}

.bact-info-card .mud-icon-root,
.bact-contact-card .mud-icon-root,
.bact-list-row .mud-icon-root {
    color: #0f766e;
    font-size: 2rem;
}

.bact-info-card h2,
.bact-contact-card h2 {
    color: #12343f;
    font-size: 1.18rem;
    font-weight: 900;
    margin: 12px 0 8px;
}

.bact-info-card p,
.bact-contact-card p {
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

.bact-list-panel {
    display: grid;
    gap: 12px;
}

.bact-list-row {
    align-items: center;
    border: 1px solid rgba(18, 78, 102, 0.12);
    border-radius: 8px;
    display: grid;
    gap: 14px;
    grid-template-columns: 34px 1fr;
    padding: 16px;
    transition: border-color 180ms ease, transform 180ms ease;
}

.bact-list-row:hover {
    border-color: rgba(15, 118, 110, 0.35);
    transform: translateX(3px);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes softPageIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes navDrop {
    from {
        opacity: 0;
        transform: translateY(-14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes logoPulse {
    0%, 100% {
        transform: translateY(var(--logo-y)) scale(1);
    }

    50% {
        transform: translateY(var(--logo-y)) scale(1.045);
    }
}

.bact-list-row strong {
    color: #12343f;
    font-size: 1rem;
}

.cms-thumb {
    border-radius: 6px;
    height: 54px;
    object-fit: cover;
    width: 96px;
}

.cms-person-preview {
    align-self: flex-start;
    border: 1px solid rgba(18, 78, 102, 0.14);
    border-radius: 8px;
    height: 150px;
    object-fit: contain;
    width: 130px;
}

.report-divider {
    margin: 12px 0;
}

.student-photo {
    align-items: center;
    background: #f3f6f8;
    border: 1px solid #d7e1e6;
    border-radius: 8px;
    color: #60717a;
    display: flex;
    font-size: 0.82rem;
    height: 132px;
    justify-content: center;
    overflow: hidden;
    width: 112px;
}

.student-photo img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.slip-title-block {
    margin-bottom: 12px;
    text-align: center;
}

.test-title {
    background: linear-gradient(135deg, #e5e6e5, #a1d6f9);
    border-radius: 12px;
    color: #12343f;
    font-weight: 800;
    margin-bottom: 6px;
    padding: 6px 12px;
}

.roll-number {
    background: linear-gradient(135deg, #0d2d3a, #12706d);
    border: 1px solid rgba(13, 45, 58, 0.18);
    border-radius: 8px;
    box-shadow: 0 10px 22px rgba(13, 45, 58, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: inline-block;
    font-size: 1.65rem;
    font-weight: 900;
    line-height: 1.1;
    margin-top: 4px;
    padding: 8px 22px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.24);
}

.candidate-grid {
    margin-top: 0;
}

.candidate-section {
    align-items: start;
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr 112px;
}

.report-field {
    border: 1px solid #dfe7eb;
    border-radius: 8px;
    min-height: 62px;
    padding: 9px 12px;
}

.report-field span {
    color: #60717a;
    display: block;
    font-size: 0.78rem;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.report-field strong {
    color: #12343f;
    display: block;
    font-size: 1.02rem;
    overflow-wrap: anywhere;
}

.slip-note,
.slip-warning {
    color: #1f333d;
    margin-top: 10px;
}

.section-heading {
    color: #12343f;
    font-weight: 800;
}

.slip-note ul {
    margin: 5px 0 0;
    padding-left: 22px;
}

.slip-note li {
    margin-bottom: 4px;
}

.slip-warning {
    background: #fff4e5;
    border: 1px solid #f2c178;
    border-radius: 8px;
    padding: 9px 12px;
}

.venue-qr-block {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 12px;
    text-align: center;
}

.venue-qr {
    border: 1px solid #d7e1e6;
    border-radius: 8px;
    height: 118px;
    padding: 6px;
    width: 118px;
}

.venue-qr.empty {
    align-items: center;
    background: #f3f6f8;
    color: #60717a;
    display: flex;
    justify-content: center;
}

.report-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 18px;
}

.result-report-page {
    display: grid;
    gap: 14px;
    justify-items: center;
    width: 100%;
}

.result-report-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 4px;
}

.result-a4-page {
    background: white;
    border: 1px solid #d7e1e6;
    border-radius: 4px;
    box-sizing: border-box;
    color: #111827;
    min-height: 297mm;
    padding: 12mm;
    width: 210mm;
}

.result-letterhead,
.result-compact-header {
    align-items: center;
    border-bottom: 3px solid #12343f;
    display: grid;
    gap: 14px;
    grid-template-columns: 80px 1fr;
    padding-bottom: 12px;
    text-align: center;
}

.result-letterhead img,
.result-compact-header img {
    height: 72px;
    object-fit: contain;
    width: 72px;
}

.result-letterhead h1 {
    color: #12343f;
    font-size: 1.55rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 4px;
}

.result-letterhead p,
.result-compact-header p {
    color: #374151;
    font-size: 0.9rem;
    font-weight: 700;
    margin: 2px 0;
}

.result-title-panel {
    background: linear-gradient(135deg, #eaf6f8, #f7fbfc);
    border: 1px solid #cddfe5;
    border-radius: 8px;
    margin: 16px 0;
    padding: 16px;
    text-align: center;
}

.result-title-panel span {
    color: #2e8a99;
    display: block;
    font-size: 0.92rem;
    font-weight: 900;
    text-transform: uppercase;
}

.result-title-panel h2 {
    color: #12343f;
    font-size: 1.6rem;
    font-weight: 900;
    margin: 4px 0 0;
}

.result-marks-card {
    border-radius: 8px;
    margin: 0 auto 18px;
    max-width: 360px;
    padding: 18px;
    text-align: center;
}

.result-marks-card span {
    display: block;
    font-size: 0.92rem;
    font-weight: 900;
    text-transform: uppercase;
}

.result-marks-card strong {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    margin-top: 8px;
}

.result-marks-card.status-marks {
    background: #ecfdf5;
    border: 2px solid #10b981;
    color: #065f46;
}

.result-marks-card.status-absent {
    background: #fff7ed;
    border: 2px solid #f59e0b;
    color: #92400e;
}

.result-marks-card.status-ufm {
    background: #fef2f2;
    border: 2px solid #ef4444;
    color: #991b1b;
}

.result-info-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr;
}

.result-info-grid div {
    border: 1px solid #dfe7eb;
    border-radius: 8px;
    min-height: 58px;
    padding: 9px 12px;
}

.result-info-grid .wide {
    grid-column: 1 / -1;
}

.result-info-grid span {
    color: #60717a;
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.result-info-grid strong {
    color: #12343f;
    display: block;
    font-size: 1rem;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.result-footer-note {
    background: #f8fafc;
    border: 1px solid #dfe7eb;
    border-radius: 8px;
    color: #374151;
    display: flex;
    gap: 8px;
    margin-top: 18px;
    padding: 12px;
}

.result-compact-header {
    grid-template-columns: 64px 1fr;
    margin-bottom: 14px;
}

.result-compact-header img {
    height: 58px;
    width: 58px;
}

.result-compact-header h2 {
    color: #12343f;
    font-size: 1.4rem;
    font-weight: 900;
    margin: 0;
}

.result-key-grid {
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(6, 1fr);
}

.result-key-grid div {
    align-items: center;
    border: 1px solid #111827;
    border-radius: 4px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 30px;
    overflow: hidden;
}

.result-key-grid span,
.result-key-grid strong {
    display: grid;
    font-weight: 900;
    height: 100%;
    place-items: center;
}

.result-key-grid span {
    background: #eef6f8;
    border-right: 1px solid #111827;
    color: #12343f;
    font-size: 0.82rem;
}

.result-key-grid strong {
    color: #111827;
    font-size: 1rem;
}

.result-empty-panel {
    align-items: center;
    border: 1px dashed #9eb3bd;
    border-radius: 8px;
    color: #60717a;
    display: flex;
    font-weight: 800;
    justify-content: center;
    min-height: 180px;
    text-align: center;
}

.result-sheet-image-frame {
    align-items: center;
    border: 1px solid #d7e1e6;
    border-radius: 8px;
    box-sizing: border-box;
    display: flex;
    height: 242mm;
    justify-content: center;
    overflow: hidden;
    padding: 4mm;
}

.result-sheet-image-frame img {
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    width: 100%;
}

.result-sheet-image-frame div {
    color: #60717a;
    font-weight: 800;
}

.admin-page {
    width: 100%;
}

.admin-navbar {
    background: #12343f !important;
}

.admin-navbar-title {
    font-weight: 800;
}

.admin-sidebar {
    border-right: 1px solid #dfe7eb;
}

.admin-sidebar-brand {
    align-items: center;
    display: flex;
    gap: 12px;
    padding: 18px 16px;
}

.admin-sidebar-brand img {
    height: 42px;
    object-fit: contain;
    width: 42px;
}

.admin-sidebar-brand strong,
.admin-sidebar-brand span {
    display: block;
}

.admin-sidebar-brand strong {
    color: #12343f;
    font-size: 1rem;
}

.admin-sidebar-brand span {
    color: #60717a;
    font-size: 0.82rem;
}

.admin-nav-menu {
    padding: 0 8px 16px;
}

.admin-main-shell {
    background: #f5f7fa;
    min-height: 100vh;
    padding: 86px 22px 42px;
}

.admin-panel {
    border: 1px solid rgba(18, 78, 102, 0.14);
    border-radius: 8px;
    padding: 32px;
}

.admin-dashboard-card,
.admin-stat-card,
.report-action-card {
    border: 1px solid rgba(18, 78, 102, 0.14);
    border-radius: 8px;
    height: 100%;
    padding: 18px;
}

.admin-dashboard-card,
.report-action-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-dashboard-link {
    display: block;
    height: 100%;
    text-decoration: none !important;
}

.admin-dashboard-link:hover {
    text-decoration: none !important;
}

.admin-dashboard-card {
    color: white;
    cursor: pointer;
    justify-content: space-between;
    min-height: 176px;
    overflow: hidden;
    position: relative;
    transition: transform .18s ease, box-shadow .18s ease;
}

.admin-dashboard-card::after {
    background: rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    content: "";
    height: 118px;
    position: absolute;
    right: -34px;
    top: -42px;
    width: 118px;
}

.admin-dashboard-link:hover .admin-dashboard-card {
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.18);
    transform: translateY(-3px);
}

.admin-dashboard-card.reports {
    background: linear-gradient(135deg, #2563eb, #60a5fa);
    border-color: #1d4ed8;
}

.admin-dashboard-card.students {
    background: linear-gradient(135deg, #0891b2, #22d3ee);
    border-color: #0e7490;
}

.admin-dashboard-card.tests {
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
    border-color: #6d28d9;
}

.admin-dashboard-card.keys {
    background: linear-gradient(135deg, #d97706, #fbbf24);
    border-color: #b45309;
}

.admin-dashboard-card.results {
    background: linear-gradient(135deg, #4f46e5, #38bdf8);
    border-color: #4338ca;
}

.admin-dashboard-card.activity {
    background: linear-gradient(135deg, #0f766e, #2dd4bf);
    border-color: #0f766e;
}

.admin-dashboard-card.sms {
    background: linear-gradient(135deg, #059669, #34d399);
    border-color: #047857;
}

.admin-dashboard-card.logs {
    background: linear-gradient(135deg, #475569, #94a3b8);
    border-color: #334155;
}

.admin-dashboard-card.password {
    background: linear-gradient(135deg, #dc2626, #fb7185);
    border-color: #b91c1c;
}

.admin-dashboard-card-top {
    align-items: center;
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.admin-dashboard-icon {
    align-items: center;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 8px;
    display: flex;
    height: 48px;
    justify-content: center;
    width: 48px;
}

.admin-dashboard-icon .mud-icon-root {
    color: white;
    font-size: 1.7rem;
}

.admin-dashboard-arrow {
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    transition: transform .18s ease;
    z-index: 1;
}

.admin-dashboard-link:hover .admin-dashboard-arrow {
    transform: translateX(4px);
}

.admin-dashboard-card .mud-typography {
    color: white !important;
    position: relative;
    z-index: 1;
}

.admin-dashboard-card .mud-typography-body2 {
    color: rgba(255, 255, 255, 0.86) !important;
}

.report-action-grid {
    margin-top: 4px;
}

.report-action-card {
    background: #fbfdfc;
}

.admin-form-panel {
    border: 1px solid rgba(18, 78, 102, 0.14);
    border-radius: 8px;
    height: 100%;
    padding: 18px;
}

.admin-form-actions {
    flex-wrap: wrap;
}

.answer-key-upload-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.answer-key-upload-row input[type="file"] {
    border: 1px solid rgba(18, 78, 102, 0.18);
    border-radius: 8px;
    padding: 10px;
}

.sms-token-row,
.sms-toolbar,
.sms-log-actions {
    flex-wrap: wrap;
}

.sms-log-filters {
    background: #fbfdfc;
    border-color: rgba(4, 120, 87, 0.16);
}

.sms-log-actions {
    align-items: center;
    min-height: 56px;
}

.sms-log-stat-grid {
    margin-top: 2px;
}

.sms-log-stat-card {
    align-items: center;
    border: 1px solid;
    border-radius: 8px;
    display: grid;
    gap: 14px;
    grid-template-columns: 50px 1fr;
    min-height: 112px;
    overflow: hidden;
    padding: 18px;
    position: relative;
}

.sms-log-stat-card::after {
    content: "";
    height: 80px;
    opacity: 0.1;
    position: absolute;
    right: -20px;
    top: -24px;
    width: 80px;
    border-radius: 50%;
}

.sms-log-stat-card.total {
    background: linear-gradient(135deg, #2563eb, #60a5fa) !important;
    border-color: #1d4ed8;
    color: white;
}

.sms-log-stat-card.sent {
    background: linear-gradient(135deg, #059669, #34d399) !important;
    border-color: #047857;
    color: white;
}

.sms-log-stat-card.pending {
    background: linear-gradient(135deg, #d97706, #fbbf24) !important;
    border-color: #b45309;
    color: white;
}

.sms-log-stat-card.failed {
    background: linear-gradient(135deg, #dc2626, #fb7185) !important;
    border-color: #b91c1c;
    color: white;
}

.sms-log-stat-card.total::after,
.sms-log-stat-card.sent::after,
.sms-log-stat-card.pending::after,
.sms-log-stat-card.failed::after {
    background: currentColor;
}

.sms-log-stat-icon {
    align-items: center;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
    display: flex;
    height: 50px;
    justify-content: center;
    width: 50px;
}

.sms-log-stat-icon .mud-icon-root {
    font-size: 1.7rem;
}

.sms-log-stat-card span {
    color: rgba(255, 255, 255, 0.86);
    display: block;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.sms-log-stat-card strong {
    color: white;
    display: block;
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1;
    margin-top: 8px;
}

.sms-log-table-shell {
    border: 1px solid rgba(18, 78, 102, 0.14);
    border-radius: 8px;
    overflow: hidden;
}

.sms-log-table-heading {
    align-items: center;
    background: #fbfdfc;
    border-bottom: 1px solid rgba(18, 78, 102, 0.14);
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 16px 18px;
}

.sms-log-print-title {
    align-items: center;
    display: none;
    gap: 12px;
    margin-bottom: 16px;
}

.sms-log-print-title img {
    height: 54px;
    object-fit: contain;
    width: 54px;
}

.sms-log-print-title h2 {
    color: #12343f;
    font-size: 1.25rem;
    font-weight: 900;
    margin: 0;
}

.sms-log-print-title p {
    color: #60717a;
    margin: 2px 0 0;
}

.sms-logs-report-page {
    background: white;
    border: 1px solid #d7e1e6;
    border-radius: 4px;
    box-sizing: border-box;
    color: #111827;
    margin: 0 auto;
    min-height: 210mm;
    padding: 8mm;
    width: 297mm;
}

.sms-logs-report-header {
    align-items: center;
    border-bottom: 3px solid #12343f;
    display: grid;
    gap: 12px;
    grid-template-columns: 22mm 1fr;
    padding-bottom: 5mm;
    text-align: center;
}

.sms-logs-report-header img {
    height: 20mm;
    object-fit: contain;
    width: 20mm;
}

.sms-logs-report-header h1 {
    color: #12343f;
    font-size: 1.15rem;
    font-weight: 900;
    margin: 0;
}

.sms-logs-report-header h2 {
    color: #111827;
    font-size: 1.55rem;
    font-weight: 900;
    margin: 1mm 0;
    text-transform: uppercase;
}

.sms-logs-report-header p {
    color: #475569;
    font-size: 0.9rem;
    font-weight: 800;
    margin: 0;
}

.sms-logs-report-summary {
    display: grid;
    gap: 3mm;
    grid-template-columns: repeat(4, 1fr);
    margin: 5mm 0;
}

.sms-logs-report-summary div {
    border-radius: 8px;
    color: white;
    padding: 3mm;
}

.sms-logs-report-summary .total {
    background: linear-gradient(135deg, #2563eb, #60a5fa);
}

.sms-logs-report-summary .sent {
    background: linear-gradient(135deg, #059669, #34d399);
}

.sms-logs-report-summary .pending {
    background: linear-gradient(135deg, #d97706, #fbbf24);
}

.sms-logs-report-summary .failed {
    background: linear-gradient(135deg, #dc2626, #fb7185);
}

.sms-logs-report-summary span {
    color: rgba(255, 255, 255, 0.86);
    display: block;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
}

.sms-logs-report-summary strong {
    color: white;
    display: block;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    margin-top: 2mm;
}

.sms-logs-report-table {
    border-collapse: collapse;
    font-size: 0.68rem;
    table-layout: fixed;
    width: 100%;
}

.sms-logs-report-table th,
.sms-logs-report-table td {
    border: 1px solid #cbd5e1;
    padding: 1.8mm 2mm;
    text-align: left;
    vertical-align: top;
    word-break: break-word;
}

.sms-logs-report-table th {
    background: #f1f5f9;
    color: #0f172a;
    font-weight: 900;
}

.sms-logs-report-table th:nth-child(1),
.sms-logs-report-table td:nth-child(1) {
    width: 16mm;
}

.sms-logs-report-table th:nth-child(2),
.sms-logs-report-table td:nth-child(2) {
    width: 28mm;
}

.sms-logs-report-table th:nth-child(4),
.sms-logs-report-table td:nth-child(4) {
    width: 20mm;
}

.sms-logs-report-table th:nth-child(5),
.sms-logs-report-table td:nth-child(5),
.sms-logs-report-table th:nth-child(6),
.sms-logs-report-table td:nth-child(6) {
    width: 32mm;
}

.sms-logs-report-table th:nth-child(8),
.sms-logs-report-table td:nth-child(8) {
    text-align: center;
    width: 14mm;
}

.student-detail-grid-wrap {
    border: 1px solid rgba(18, 78, 102, 0.14);
    border-radius: 8px;
    overflow: auto;
}

.student-detail-grid {
    min-width: 2600px;
}

.student-detail-grid th {
    white-space: nowrap;
}

.student-detail-grid td {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.student-photo-upload-cell {
    min-width: 230px;
}

.student-photo-upload-cell input[type="file"] {
    max-width: 150px;
}

.admin-report-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.attendance-report {
    background: #eef2f3;
    display: grid;
    gap: 10px;
    padding: 8px;
}

.attendance-page {
    background: white;
    border: 1px solid #d7e1e6;
    border-radius: 4px;
    color: #111827;
    margin: 0 auto;
    min-height: 297mm;
    padding: 5mm;
    width: 210mm;
}

.attendance-header {
    align-items: center;
    border-bottom: 2px solid #12343f;
    display: grid;
    gap: 12px;
    grid-template-columns: 72px 1fr;
    padding-bottom: 10px;
    text-align: center;
}

.attendance-header img {
    height: 66px;
    object-fit: contain;
    width: 66px;
}

.attendance-header h1 {
    color: #12343f;
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0;
}

.attendance-header h2 {
    color: #111827;
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 0;
    margin: 5px 0;
    text-decoration: underline;
}

.attendance-header h3 {
    color: #111827;
    font-size: 1rem;
    font-weight: 800;
    margin: 4px 0;
}

.attendance-header p {
    color: #374151;
    font-size: 0.84rem;
    margin: 0;
}

.attendance-officer-row {
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr 1fr;
    margin: 10px 0;
}

.attendance-officer-row div {
    align-items: end;
    display: grid;
    gap: 8px;
    grid-template-columns: max-content 1fr;
}

.attendance-officer-row span {
    color: #111827;
    font-size: 0.82rem;
    font-weight: 800;
}

.attendance-officer-row strong {
    border-bottom: 1px solid #111827;
    display: block;
    height: 22px;
}

.attendance-meta {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(4, 1fr);
    margin: 10px 0;
}

.attendance-meta div {
    border: 1px solid #cfd9de;
    border-radius: 4px;
    padding: 6px 8px;
}

.attendance-meta span {
    color: #60717a;
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
}

.attendance-meta strong {
    color: #111827;
    display: block;
    font-size: 0.82rem;
    margin-top: 2px;
}

.attendance-table {
    border-collapse: collapse;
    font-size: 0.78rem;
    width: 100%;
}

.attendance-table th,
.attendance-table td {
    border: 1px solid #111827;
    padding: 6px 7px;
    text-align: left;
    vertical-align: middle;
}

.attendance-table th {
    background: #eef6f8;
    color: #111827;
    font-weight: 800;
}

.attendance-table tbody tr {
    height: 45px;
}

.attendance-table .serial-col {
    text-align: center;
    width: 36px;
}

.attendance-table .signature-col {
    width: 170px;
}

.cutlist-page {
    min-height: auto;
}

.cutlist-table tbody tr {
    height: 34px;
}

.cutlist-pics-table tbody tr {
    height: 58px;
}

.picture-col {
    width: 58px;
}

.cutlist-pics-table td:nth-child(2),
.cutlist-pics-table th:nth-child(2) {
    text-align: center;
    width: 58px;
}

.cutlist-photo {
    display: inline-block;
    height: 42px !important;
    max-height: 42px !important;
    max-width: 36px !important;
    object-fit: cover;
    width: 36px !important;
}

.cutlist-no-photo {
    color: #60717a;
    display: block;
    font-size: 0.68rem;
    text-align: center;
}

.envelope-title-page {
    align-items: stretch;
    background: white;
    border: 1px solid #d7e1e6;
    border-radius: 4px;
    box-sizing: border-box;
    color: #111827;
    display: flex;
    flex-direction: column;
    font-family: Arial, Helvetica, sans-serif;
    height: 297mm;
    justify-content: flex-start;
    margin: 0 auto;
    overflow: hidden;
    padding: 12mm;
    width: 210mm;
}

.envelope-title-header {
    align-items: center;
    border-bottom: 3px solid #12343f;
    display: grid;
    gap: 10mm;
    grid-template-columns: 28mm 1fr;
    padding-bottom: 6mm;
    text-align: center;
}

.envelope-title-header img {
    height: 25mm;
    object-fit: contain;
    width: 25mm;
}

.envelope-title-header h1 {
    color: #12343f;
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 0;
}

.envelope-title-header h2 {
    color: #111827;
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1;
    margin: 2mm 0 1mm;
}

.envelope-title-header p {
    color: #374151;
    font-size: 0.98rem;
    font-weight: 800;
    margin: 0;
}

.envelope-title-test {
    border: 3px solid #111827;
    color: #111827;
    font-size: 1.55rem;
    font-weight: 900;
    line-height: 1.15;
    margin: 7mm 0 6mm;
    padding: 5mm;
    text-align: center;
}

.envelope-title-grid {
    display: grid;
    gap: 3.5mm;
    grid-template-columns: 1fr 1fr;
}

.envelope-title-grid div,
.envelope-title-count,
.envelope-title-manual-grid div {
    border: 3px solid #111827;
    padding: 3.5mm;
    text-align: center;
}

.envelope-title-grid .wide {
    grid-column: 1 / -1;
}

.envelope-title-grid span,
.envelope-title-count span,
.envelope-title-manual-grid span {
    color: #60717a;
    display: block;
    font-size: 0.88rem;
    font-weight: 900;
    text-transform: uppercase;
}

.envelope-title-grid strong,
.envelope-title-count strong,
.envelope-title-manual-grid strong {
    color: #111827;
    display: block;
    font-size: 1.28rem;
    font-weight: 900;
    line-height: 1.12;
    margin-top: 1.5mm;
    overflow-wrap: anywhere;
    text-align: center;
}

.envelope-title-count {
    margin-top: 5mm;
    text-align: center;
}

.envelope-title-count strong {
    font-size: 2rem;
    line-height: 1;
}

.envelope-title-manual-grid {
    display: grid;
    gap: 4mm;
    grid-template-columns: 1fr 1fr;
    margin-top: 5mm;
}

.envelope-title-manual-grid strong {
    height: 17mm;
}

.test-summary-report {
    gap: 12px;
}

.test-summary-page {
    background: white;
    border: 1px solid #d7e1e6;
    border-radius: 4px;
    box-sizing: border-box;
    color: #111827;
    margin: 0 auto;
    min-height: 297mm;
    padding: 10mm;
    width: 210mm;
}

.test-summary-header {
    align-items: center;
    border-bottom: 4px solid #12343f;
    display: grid;
    gap: 12px;
    grid-template-columns: 24mm 1fr;
    padding-bottom: 6mm;
    text-align: center;
}

.test-summary-header img {
    height: 22mm;
    object-fit: contain;
    width: 22mm;
}

.test-summary-header h1 {
    color: #12343f;
    font-size: 1.28rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 0;
}

.test-summary-header h2 {
    color: #111827;
    font-size: 1.9rem;
    font-weight: 900;
    line-height: 1;
    margin: 2mm 0;
    text-transform: uppercase;
}

.test-summary-header p {
    color: #475569;
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
}

.test-summary-meta,
.test-summary-stat-grid {
    display: grid;
    gap: 3mm;
    margin-top: 5mm;
}

.test-summary-meta {
    grid-template-columns: 2fr 1fr 1fr 1fr;
}

.test-summary-meta div,
.test-summary-stat-grid div {
    border-radius: 8px;
    padding: 3mm;
}

.test-summary-meta div {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
}

.test-summary-meta span,
.test-summary-stat-grid span {
    display: block;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.test-summary-meta span {
    color: #64748b;
}

.test-summary-meta strong {
    color: #0f172a;
    display: block;
    font-size: 0.88rem;
    font-weight: 900;
    margin-top: 1mm;
    overflow-wrap: anywhere;
}

.test-summary-stat-grid {
    grid-template-columns: repeat(3, 1fr);
}

.test-summary-stat-grid div {
    color: white;
    min-height: 28mm;
}

.test-summary-stat-grid .paid {
    background: linear-gradient(135deg, #059669, #34d399);
}

.test-summary-stat-grid .unpaid {
    background: linear-gradient(135deg, #d97706, #fbbf24);
}

.test-summary-stat-grid .overall {
    background: linear-gradient(135deg, #2563eb, #60a5fa);
}

.test-summary-stat-grid span,
.test-summary-stat-grid em {
    color: rgba(255, 255, 255, 0.86);
}

.test-summary-stat-grid strong {
    color: white;
    display: block;
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
    margin: 2mm 0;
}

.test-summary-stat-grid em {
    display: block;
    font-size: 0.76rem;
    font-style: normal;
    font-weight: 800;
}

.test-summary-section {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    margin-top: 5mm;
    overflow: hidden;
}

.test-summary-section h3 {
    color: white;
    font-size: 1rem;
    font-weight: 900;
    margin: 0;
    padding: 3mm 4mm;
    text-transform: uppercase;
}

.test-summary-section.paid-section h3 {
    background: #059669;
}

.test-summary-section.unpaid-section h3 {
    background: #d97706;
}

.test-summary-section table {
    border-collapse: collapse;
    font-size: 0.78rem;
    width: 100%;
}

.test-summary-section th,
.test-summary-section td {
    border: 1px solid #cbd5e1;
    padding: 2.4mm 3mm;
    text-align: center;
}

.test-summary-section th {
    background: #f1f5f9;
    color: #0f172a;
    font-weight: 900;
}

.test-summary-section td:first-child,
.test-summary-section th:first-child {
    text-align: left;
}

.test-summary-section .total-row td {
    background: #ecfdf5;
    color: #064e3b;
    font-weight: 900;
}

.test-summary-section.unpaid-section .total-row td {
    background: #fffbeb;
    color: #92400e;
}

.result-report {
    gap: 12px;
}

.result-report-page {
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 70%, #f8fafc 100%);
    border: 1px solid #d7e1e6;
    border-radius: 6px;
    box-sizing: border-box;
    color: #111827;
    margin: 0 auto;
    min-height: 297mm;
    padding: 10mm;
    width: 210mm;
}

.result-report-header {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #dbe5ea;
    border-left: 5px solid #12343f;
    border-radius: 8px;
    display: grid;
    gap: 12px;
    grid-template-columns: 18mm 1fr;
    padding: 4mm 5mm;
    text-align: center;
}

.result-report-logo {
    align-items: center;
    background: white;
    border: 1px solid #d7e1e6;
    border-radius: 8px;
    display: flex;
    height: 16mm;
    justify-content: center;
    width: 16mm;
}

.result-report-logo img {
    height: 12mm;
    object-fit: contain;
    width: 12mm;
}

.result-report-header h1 {
    color: #12343f;
    font-size: 1.16rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 0;
}

.result-report-header h2 {
    color: #064e3b;
    font-size: 1.55rem;
    font-weight: 900;
    line-height: 1;
    margin: 1.5mm 0;
    text-transform: uppercase;
}

.result-report-header p {
    color: #475569;
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
}

.result-report-export-cover-page {
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 70%, #f8fafc 100%);
    border: 1px solid #d7e1e6;
    border-radius: 6px;
    box-sizing: border-box;
    color: #111827;
    display: flex;
    flex-direction: column;
    gap: 8mm;
    margin: 0 auto;
    min-height: 297mm;
    padding: 10mm;
    width: 210mm;
}

.result-report-cover-title {
    background: #12343f;
    border-radius: 8px;
    color: white;
    padding: 9mm;
    text-align: center;
}

.result-report-cover-title span,
.result-report-cover-summary-title span {
    display: block;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.result-report-cover-title strong {
    display: block;
    font-size: 1.85rem;
    font-weight: 900;
    line-height: 1.15;
    margin-top: 2mm;
}

.result-report-cover-details {
    display: grid;
    gap: 3mm;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.result-report-cover-details div {
    background: white;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 4mm;
}

.result-report-cover-details span {
    color: #64748b;
    display: block;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.result-report-cover-details strong {
    color: #0f172a;
    display: block;
    font-size: 0.95rem;
    font-weight: 900;
    margin-top: 1mm;
    overflow-wrap: anywhere;
}

.result-report-cover-summary-title {
    align-items: center;
    border-bottom: 2px solid #12343f;
    display: flex;
    justify-content: space-between;
    padding-bottom: 2mm;
}

.result-report-cover-summary-title strong {
    color: #064e3b;
    font-size: 0.95rem;
    font-weight: 900;
}

.result-report-meta {
    display: grid;
    gap: 3mm;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    margin: 5mm 0;
}

.result-report-meta div {
    background: white;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    padding: 3mm;
}

.result-report-meta span {
    color: #64748b;
    display: block;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.result-report-meta strong {
    color: #0f172a;
    display: block;
    font-size: 0.88rem;
    font-weight: 900;
    margin-top: 1mm;
    overflow-wrap: anywhere;
}

.result-report-table {
    border-collapse: collapse;
    font-size: 0.76rem;
    width: 100%;
}

.result-report-table th,
.result-report-table td {
    border: 1px solid #cbd5e1;
    padding: 2.2mm 2.5mm;
    text-align: left;
    vertical-align: middle;
}

.result-report-table th {
    background: #12343f;
    color: white;
    font-weight: 900;
}

.result-report-table tbody tr:nth-child(even) td {
    background: #f8fafc;
}

.result-report-table .marks-cell {
    color: #064e3b;
    font-weight: 900;
    text-align: center;
}

.merit-list-page {
    width: 297mm;
}

.merit-list-meta {
    grid-template-columns: 2fr 1fr 1fr 1fr 2fr 2fr;
}

.merit-list-table {
    font-size: 0.72rem;
}

.merit-list-table .position-cell {
    color: #12343f;
    font-weight: 900;
    text-align: center;
}

.result-report-cover-summary-table {
    font-size: 0.82rem;
}

.result-report-cover-summary-table th,
.result-report-cover-summary-table td {
    text-align: center;
}

.result-report-cover-summary-table th:first-child,
.result-report-cover-summary-table td:first-child {
    text-align: left;
}

.result-report-cover-total-row td {
    background: #e2e8f0 !important;
    color: #0f172a;
    font-weight: 900;
}

.provisional-page {
    min-height: auto;
}

.provisional-text {
    color: #111827;
    font-size: 1rem;
    line-height: 2;
    margin: 24px 0 18px;
}

.provisional-text span {
    border-bottom: 1px solid #111827;
    display: inline-block;
    min-width: 145px;
    padding: 0 8px;
    text-align: center;
}

.provisional-table tbody tr {
    height: 52px;
}

.provisional-allowed-by {
    color: #111827;
    display: grid;
    gap: 16px;
    margin-top: 34px;
    max-width: 620px;
}

.provisional-allowed-by strong {
    font-size: 1rem;
}

.provisional-allowed-by div {
    align-items: end;
    display: grid;
    gap: 14px;
    grid-template-columns: 120px 1fr;
}

.provisional-allowed-by span {
    font-weight: 800;
}

.provisional-allowed-by em {
    border-bottom: 1px solid #111827;
    display: block;
    height: 26px;
}

.ufm-page {
    min-height: 210mm;
    width: 297mm;
}

.ufm-meta {
    grid-template-columns: 1fr 1fr 2fr;
}

.ufm-table {
    table-layout: fixed;
}

.ufm-table th,
.ufm-table td {
    font-size: 0.66rem;
    padding: 4px 5px;
    text-align: center;
    vertical-align: top;
}

.ufm-table th {
    line-height: 1.15;
}

.ufm-table tbody tr {
    height: 92px;
}

.ufm-table td {
    position: relative;
}

.ufm-table td span {
    color: #111827;
    display: block;
    font-size: 0.64rem;
    line-height: 1.1;
    min-height: 24px;
    text-align: left;
}

.ufm-table td span + span {
    border-top: 1px solid #111827;
    margin-top: 22px;
    padding-top: 4px;
}

.ufm-table .ufm-serial {
    font-size: 0.82rem;
    font-weight: 800;
    text-align: center;
    vertical-align: middle;
}

.ufm-offence-section {
    margin-top: 10px;
}

.ufm-offence-section h4 {
    color: #111827;
    font-size: 0.84rem;
    font-weight: 900;
    margin: 0 0 6px;
}

.ufm-offence-grid {
    display: grid;
    gap: 5px 18px;
    grid-template-columns: repeat(3, 1fr);
}

.ufm-offence-grid div {
    align-items: baseline;
    display: flex;
    gap: 8px;
}

.ufm-offence-grid strong {
    color: #111827;
    font-size: 0.75rem;
    min-width: 48px;
}

.ufm-offence-grid span {
    color: #111827;
    font-size: 0.75rem;
}

.ufm-superintendent-row {
    display: grid;
    gap: 34px;
    grid-template-columns: 1fr 1fr;
    margin-top: 18px;
}

.ufm-superintendent-row div {
    align-items: end;
    display: grid;
    gap: 10px;
    grid-template-columns: max-content 1fr;
}

.ufm-superintendent-row span {
    color: #111827;
    font-size: 0.8rem;
    font-weight: 800;
}

.ufm-superintendent-row strong {
    border-bottom: 1px solid #111827;
    display: block;
    height: 24px;
}

.answer-sheet-report {
    gap: 12px;
}

.answer-sheet-page {
    background: white;
    border: 1px solid #d7e1e6;
    border-radius: 4px;
    color: #333;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0 auto;
    min-height: 330.2mm;
    padding: 8mm 9mm 6mm;
    width: 216mm;
}

.answer-sheet-title {
    align-items: center;
    display: flex;
    gap: 4mm;
    justify-content: center;
    margin: 0 0 2mm;
}

.answer-sheet-title img {
    height: 13mm;
    object-fit: contain;
    width: 13mm;
}

.answer-sheet-title h1 {
    color: #333;
    font-size: 1.08rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
    margin: 0;
}

.answer-sheet-top {
    border: 1px solid #333;
    display: grid;
    grid-template-columns: 30mm 1fr 66mm;
}

.answer-logo-panel {
    border-right: 1px solid #333;
}

.answer-book-color {
    text-align: center;
}

.answer-book-color strong {
    display: block;
    font-size: 0.72rem;
    line-height: 1.05;
    padding-top: 4px;
}

.answer-book-color > span {
    display: block;
    font-size: 0.54rem;
    margin-bottom: 2px;
}

.answer-book-color div {
    align-items: center;
    display: grid;
    grid-template-columns: 1fr 15mm;
    height: 8mm;
}

.answer-book-color b {
    border-right: 1px solid #333;
    font-size: 0.72rem;
    height: 100%;
    line-height: 8mm;
}

.answer-book-color i,
.answer-question-row i,
.answer-guide-options span,
.answer-guide-correct span,
.answer-sheet-note span {
    border: 1px solid #777;
    border-radius: 50%;
    display: inline-grid;
    font-style: normal;
    place-items: center;
}

.answer-book-color i {
    height: 4.2mm;
    justify-self: center;
    width: 4.2mm;
}

.answer-candidate-panel {
    border-right: 1px solid #333;
}

.answer-write-row {
    align-items: center;
    border-bottom: 1px solid #333;
    display: grid;
    grid-template-columns: max-content 1fr max-content 1fr;
    gap: 2px;
    height: 6.4mm;
    padding: 0 2mm;
}

.answer-write-row.single {
    grid-template-columns: max-content 1fr;
}

.answer-write-row span {
    font-size: 0.7rem;
    font-weight: 800;
}

.answer-write-row em {
    border-bottom: 1px solid #333;
    display: block;
    height: 3mm;
}

.answer-filled-row {
    align-items: center;
    display: grid;
    grid-template-columns: 26mm 1fr;
    min-height: 7mm;
    padding: 0 2.5mm;
}

.answer-filled-row span,
.answer-roll-row span {
    color: #12343f;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.answer-filled-row strong {
    background: #f7fbfc;
    border: 1px solid #cfd9de;
    border-radius: 4px;
    color: #111827;
    font-size: 0.78rem;
    font-weight: 900;
    min-height: 5.2mm;
    padding: 1.1mm 2mm 0.7mm;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.answer-roll-row {
    align-items: center;
    display: grid;
    grid-template-columns: 28mm 1fr;
    min-height: 8mm;
    padding: 0 2.5mm 1mm;
}

.answer-roll-row strong {
    background: #ecfdf5;
    border: 1px solid #9ddbc0;
    border-radius: 4px;
    color: #064e3b;
    font-size: 1.04rem;
    font-weight: 900;
    min-height: 6mm;
    padding: 1mm 2mm 0.8mm;
    text-align: center;
}

.answer-filled-row.blank-write em,
.answer-roll-row.blank-write em {
    border-bottom: 1.5px solid #111827;
    display: block;
    height: 5.5mm;
}

.answer-roll-row.blank-write em {
    height: 6.5mm;
}

.answer-copy-panel h2 {
    font-size: 0.82rem;
    font-weight: 900;
    height: 6.4mm;
    line-height: 6.4mm;
    margin: 0;
    text-align: center;
}

.answer-copy-panel div {
    align-items: end;
    border-top: 1px solid #333;
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 2px;
    height: 9.2mm;
    padding: 0 2mm 1mm;
}

.answer-copy-panel span {
    font-size: 0.78rem;
    font-weight: 900;
}

.answer-copy-panel em {
    border-bottom: 1px solid #333;
    display: block;
    height: 3.5mm;
}

.answer-code-photo-row {
    border-left: 1px solid #333;
    border-right: 1px solid #333;
    border-bottom: 1px solid #333;
    display: grid;
    grid-template-columns: 30mm 1fr 38mm;
    height: 28mm;
}

.answer-code-spacer {
    align-items: center;
    border-right: 1px solid #333;
    display: flex;
    justify-content: center;
    padding: 2mm;
}

.answer-code-spacer img {
    height: 20mm;
    object-fit: contain;
    width: 20mm;
}

.answer-barcode-box {
    align-items: center;
    border-right: 1px solid #333;
    display: flex;
    justify-content: center;
    padding: 1.5mm 7mm 4.5mm;
    position: relative;
}

.answer-barcode {
    height: 19mm;
    width: 88mm;
}

.answer-barcode-box > span {
    bottom: 0.8mm;
    font-size: 0.72rem;
    left: 0;
    position: absolute;
    right: 0;
    text-align: center;
}

.answer-photo-box {
    align-items: center;
    display: flex;
    justify-content: center;
    overflow: hidden;
    padding: 1.5mm;
}

.answer-photo-box img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.answer-question-grid {
    display: grid;
    gap: 8mm;
    grid-template-columns: repeat(5, 1fr);
    padding: 8mm 1mm 5mm;
}

.answer-question-grid-100 {
    gap: 10mm;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 10mm 5mm 8mm;
}

.answer-question-row {
    align-items: center;
    display: grid;
    grid-template-columns: 8mm repeat(4, 5.6mm);
    gap: 1.8mm;
    height: 6.7mm;
}

.answer-question-row span {
    font-size: 0.74rem;
    font-weight: 900;
}

.answer-question-row i {
    font-size: 0.53rem;
    height: 4.2mm;
    width: 4.2mm;
}

.answer-question-grid-100 .answer-question-row {
    gap: 2.6mm;
    grid-template-columns: 9mm repeat(4, 6.2mm);
    height: 7.5mm;
}

.answer-question-grid-100 .answer-question-row i {
    font-size: 0.6rem;
    height: 4.8mm;
    width: 4.8mm;
}

.answer-filling-guide {
    border: 1px solid #777;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0 2mm;
    min-height: 29mm;
}

.answer-filling-guide > div {
    padding: 4mm 6mm;
    text-align: center;
}

.answer-filling-guide > div:first-child {
    border-right: 1px solid #777;
}

.answer-filling-guide h3 {
    color: #333;
    display: inline-block;
    font-size: 1.22rem;
    font-weight: 900;
    line-height: 1;
    margin: 0 0 6mm;
    text-decoration: underline;
}

.answer-guide-options {
    display: grid;
    gap: 2.8mm 4.2mm;
    grid-template-columns: repeat(12, 4.8mm);
    justify-content: center;
}

.answer-guide-options span,
.answer-guide-correct span {
    font-size: 0.58rem;
    height: 4.2mm;
    width: 4.2mm;
}

.answer-guide-correct {
    align-items: center;
    display: flex;
    gap: 10mm;
    justify-content: center;
}

.answer-guide-correct span {
    font-size: 0.96rem;
    height: 9mm;
    width: 9mm;
}

.answer-guide-options .filled,
.answer-guide-correct .filled,
.answer-sheet-note span {
    background: #333;
    border-color: #333;
    color: white;
}

.answer-guide-options .scribbled {
    background:
        linear-gradient(45deg, transparent 42%, #333 43%, #333 56%, transparent 57%),
        linear-gradient(-45deg, transparent 42%, #333 43%, #333 56%, transparent 57%);
}

.answer-sheet-note {
    border-bottom: 1px dotted #777;
    font-size: 0.75rem;
    margin: 2mm 0 0;
    padding-bottom: 1mm;
    text-align: center;
}

.answer-sheet-note span {
    height: 4mm;
    margin: 0 1mm;
    vertical-align: middle;
    width: 4mm;
}

.attendance-footer {
    margin-top: 10px;
}

.attendance-present-box {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-bottom: 18px;
}

.attendance-present-box span {
    color: #111827;
    font-size: 0.86rem;
    font-weight: 800;
}

.attendance-present-box strong {
    border: 1px solid #111827;
    display: inline-block;
    height: 24px;
    width: 74px;
}

.attendance-signatures {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(3, 1fr);
}

.attendance-signatures div {
    text-align: center;
}

.attendance-signatures span {
    border-bottom: 1px solid #111827;
    display: block;
    height: 22px;
    margin-bottom: 6px;
}

.attendance-signatures strong {
    color: #111827;
    font-size: 0.82rem;
}

.admin-stat-card span {
    color: #60717a;
    display: block;
    font-size: 0.82rem;
    text-transform: uppercase;
}

.admin-stat-card strong {
    color: #12343f;
    display: block;
    font-size: 2rem;
    margin-top: 8px;
}

.admin-login-body {
    background:
        linear-gradient(140deg, rgba(18, 78, 102, 0.14), rgba(123, 199, 234, 0.2)),
        #f5f7fa;
    font-family: Roboto, Arial, sans-serif;
    margin: 0;
}

.admin-login-shell {
    align-items: center;
    display: flex;
    min-height: 100vh;
    justify-content: center;
    padding: 24px;
}

.admin-login-card {
    background: white;
    border: 1px solid rgba(18, 78, 102, 0.14);
    border-radius: 8px;
    box-shadow: 0 20px 45px rgba(18, 78, 102, 0.18);
    max-width: 420px;
    padding: 34px;
    text-align: center;
    width: 100%;
}

.admin-login-logo {
    height: 72px;
    object-fit: contain;
    width: 72px;
}

.admin-login-card h1 {
    color: #12343f;
    margin: 14px 0 4px;
}

.admin-login-card p {
    color: #60717a;
    margin: 0 0 22px;
}

.admin-login-card form {
    display: grid;
    gap: 10px;
    text-align: left;
}

.admin-login-card label {
    color: #12343f;
    font-size: 0.9rem;
    font-weight: 700;
}

.admin-login-card input {
    border: 1px solid #cdd9df;
    border-radius: 8px;
    font: inherit;
    padding: 12px 14px;
}

.admin-login-card button {
    background: #124e66;
    border: 0;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    margin-top: 8px;
    padding: 12px 14px;
}

.admin-login-error {
    background: #fdecea;
    border: 1px solid #f2b8b5;
    border-radius: 8px;
    color: #9f2721;
    margin-bottom: 16px;
    padding: 10px 12px;
    text-align: left;
}

@media (max-width: 600px) {
    .navbar-inner {
        padding-left: 14px;
        padding-right: 14px;
    }

    .navbar-title {
        font-size: 0.92rem;
        line-height: 1.2;
    }

    .main-shell {
        padding: 86px 12px 32px;
    }

    .admin-main-shell {
        padding: 82px 12px 28px;
    }

    .lookup-panel,
    .student-panel,
    .report-sheet {
        padding: 22px;
    }

    .slip-letterhead {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .letterhead-text {
        order: 2;
    }

    .student-photo {
        order: initial;
    }

    .bact-logo {
        order: 1;
    }

    .candidate-section {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .bact-public-nav-inner {
        flex-wrap: wrap;
        gap: 8px;
        min-height: 82px;
        padding: 10px 12px;
    }

    .bact-public-links {
        display: none;
    }

    .bact-public-brand img {
        --logo-y: 10px;
        height: 58px;
        width: 58px;
    }

    .bact-public-brand span {
        font-size: 1.1rem;
    }

    .bact-home-page {
        margin: -86px -12px -32px;
    }

    .bact-home-hero,
    .bact-home-hero-overlay {
        min-height: 560px;
    }

    .bact-home-hero {
        background:
            linear-gradient(180deg, rgba(10, 35, 44, 0.9), rgba(10, 35, 44, 0.5)),
            url("/images/site/slider-1.jpg") center / cover;
    }

    .bact-home-hero-copy {
        padding: 28px 0;
    }

    .bact-home-hero p {
        font-size: 1rem;
    }

    .bact-home-actions .mud-button-root {
        width: 100%;
    }

    .bact-service-grid,
    .bact-message-section,
    .bact-facts-grid,
    .bact-footer-inner,
    .bact-card-grid,
    .bact-contact-grid {
        grid-template-columns: 1fr;
    }

    .bact-inner-page {
        margin: -86px -12px -32px;
    }

    .bact-inner-hero {
        padding: 138px 0 52px;
    }

    .bact-message-card {
        grid-template-columns: 1fr;
    }

    .bact-message-card img {
        height: 180px;
        justify-self: center;
        width: 150px;
    }

    .bact-activity-band {
        align-items: stretch;
        flex-direction: column;
        padding: 24px;
    }
}

@media print {
    @page {
        margin: 0;
        size: A4;
    }

    html,
    body,
    #app {
        margin: 0 !important;
        padding: 0 !important;
    }

    .mud-appbar,
    .report-actions,
    #blazor-error-ui {
        display: none !important;
    }

    .main-shell {
        background: white;
        padding: 0;
    }

    .report-page {
        max-width: none;
        padding: 0;
    }

    .report-sheet {
        border: 0;
        padding: 0;
    }

    .result-report-actions {
        display: none !important;
    }

    .result-report-page {
        display: block;
        margin: 0 !important;
        max-width: none !important;
        padding: 0 !important;
    }

    .result-a4-page {
        border: 0;
        border-radius: 0;
        break-after: page;
        margin: 0;
        min-height: 297mm;
        page-break-after: always;
        width: 210mm;
    }

    .result-a4-page:last-child {
        break-after: auto;
        page-break-after: auto;
    }

    .result-sheet-image-frame {
        height: 242mm;
    }

    .academy-title {
        font-size: 1.15rem;
    }

    .test-title {
        font-size: 1.35rem;
    }

    .roll-number {
        font-size: 1.2rem;
    }

    .report-field {
        min-height: 54px;
        padding: 7px 10px;
    }

    .report-field strong {
        font-size: 0.96rem;
    }

    .slip-note,
    .slip-warning,
    .slip-warning .mud-typography,
    .slip-note li {
        font-size: 0.84rem;
        line-height: 1.25;
    }

    .admin-report-toolbar,
    .sms-log-filters,
    .mud-appbar,
    .mud-drawer,
    .mud-drawer-overlay {
        display: none !important;
    }

    .sms-log-print-title {
        display: flex !important;
    }

    .admin-main-shell,
    .admin-content-container,
    .admin-content-paper,
    .attendance-report {
        background: white !important;
        border-radius: 0 !important;
        margin: 0 !important;
        min-height: 0 !important;
        padding: 0 !important;
    }

    .admin-main-shell .mud-container,
    .admin-main-shell .mud-paper,
    .admin-content-container,
    .admin-content-paper,
    .mud-main-content,
    .mud-layout {
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        margin: 0 !important;
        max-width: none !important;
        min-height: 0 !important;
        padding: 0 !important;
        width: auto !important;
    }

    .admin-main-shell {
        padding-top: 0 !important;
    }

    .attendance-page {
        border: 0;
        border-radius: 0;
        break-after: page;
        margin: 0;
        min-height: auto;
        page-break-after: always;
        padding: 0;
        width: 100%;
    }

    .attendance-page:last-child {
        break-after: auto;
        page-break-after: auto;
    }

    .envelope-title-page {
        border: 0;
        border-radius: 0;
        break-after: page;
        height: 297mm;
        margin: 0;
        page-break-after: always;
        width: 210mm;
    }

    .envelope-title-page:last-child {
        break-after: auto;
        page-break-after: auto;
    }

    .test-summary-page {
        border: 0;
        border-radius: 0;
        break-after: page;
        margin: 0;
        min-height: 297mm;
        page-break-after: always;
        width: 210mm;
    }

    .test-summary-page:last-child {
        break-after: auto;
        page-break-after: auto;
    }

    .result-report-page {
        border: 0;
        border-radius: 0;
        break-after: page;
        margin: 0;
        min-height: 297mm;
        page-break-after: always;
        width: 210mm;
    }

    .result-report-page:last-child {
        break-after: auto;
        page-break-after: auto;
    }

    .result-report-export-cover-page {
        border: 0;
        border-radius: 0;
        break-after: page;
        margin: 0;
        min-height: 297mm;
        page-break-after: always;
        width: 210mm;
    }

    .merit-list-page {
        break-after: auto;
        break-before: auto;
        box-sizing: border-box;
        min-height: auto;
        page-break-after: auto;
        page-break-before: auto;
        width: auto;
    }

    .merit-list-page + .merit-list-page {
        break-before: page;
        page-break-before: always;
    }

    .merit-list-report {
        gap: 0;
        padding: 0;
    }

    .sms-logs-report-page {
        border: 0;
        border-radius: 0;
        margin: 0;
        min-height: auto;
        page: sms-logs-landscape;
        width: 297mm;
    }

    @page sms-logs-landscape {
        margin: 0;
        size: A4 landscape;
    }

    .answer-sheet-page {
        border: 0;
        border-radius: 0;
        break-after: page;
        margin: 0;
        min-height: auto;
        page: answer-sheet-legal;
        page-break-after: always;
        width: 100%;
    }

    @page answer-sheet-legal {
        margin: 0;
        size: 8.5in 13in;
    }

    .answer-sheet-page:last-child {
        break-after: auto;
        page-break-after: auto;
    }
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 3.5rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.report-range-overlay {
    align-items: center;
    background: rgba(15, 23, 42, 0.45);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 18px;
    position: fixed;
    z-index: 1400;
}

.report-range-modal {
    border-radius: 10px;
    max-width: 560px;
    padding: 22px;
    width: min(560px, 100%);
}

.page-loading-bar,
body.page-loader-js-active::before {
    animation: page-loading-bar 1s ease-in-out infinite;
    background: linear-gradient(90deg, #047857, #f59e0b, #124e66);
    content: "";
    height: 3px;
    left: 0;
    position: fixed;
    top: 0;
    width: 45%;
    z-index: 3000;
}

@keyframes page-loading-bar {
    0% {
        transform: translateX(-110%);
    }

    55% {
        transform: translateX(130%);
    }

    100% {
        transform: translateX(230%);
    }
}

.staff-page {
    background: #f6faf8;
    color: #12343f;
    margin: -96px -18px -48px;
    min-height: 100vh;
}

.staff-hero {
    background:
        linear-gradient(90deg, rgba(18, 52, 63, 0.94), rgba(15, 118, 110, 0.82)),
        url("/images/site/course-01.jpg") center / cover;
    color: white;
    overflow: hidden;
    padding: 154px 0 86px;
    position: relative;
}

.staff-hero::after {
    animation: staff-shine 5s ease-in-out infinite;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.18) 50%, transparent 100%);
    content: "";
    height: 180%;
    left: -42%;
    position: absolute;
    top: -42%;
    transform: rotate(16deg);
    width: 28%;
}

.staff-hero-grid {
    align-items: center;
    display: grid;
    gap: 34px;
    grid-template-columns: minmax(0, 1fr) 340px;
    position: relative;
    z-index: 1;
}

.staff-hero-copy {
    animation: staff-fade-up 680ms ease-out both;
    max-width: 760px;
}

.staff-hero-copy span,
.staff-form-heading span,
.staff-report-head span {
    color: #f2c94c;
    display: block;
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
}

.staff-hero-copy h1 {
    color: white;
    font-size: clamp(2.4rem, 5.5vw, 4.8rem);
    font-weight: 900;
    line-height: 1;
    margin: 10px 0 18px;
}

.staff-hero-copy p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.12rem;
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 680px;
}

.staff-hero-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.staff-apply-button,
.staff-print-button {
    box-shadow: 0 16px 32px rgba(242, 201, 76, 0.24);
    min-height: 48px;
    transition: box-shadow 180ms ease, transform 180ms ease;
}

.staff-apply-button {
    animation: staff-cta-pulse 2.4s ease-in-out infinite;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 900;
    min-height: 58px;
    padding-left: 30px;
    padding-right: 30px;
}

.staff-apply-button .mud-icon-root {
    font-size: 1.45rem;
}

.staff-apply-button:hover,
.staff-print-button:hover {
    box-shadow: 0 20px 40px rgba(242, 201, 76, 0.34);
    transform: translateY(-2px);
}

.staff-hero-hint {
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    gap: 8px;
    padding: 10px 12px;
}

.staff-hero-hint .mud-icon-root {
    color: #f2c94c;
}

.staff-hero-hint span {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.86rem;
    font-weight: 800;
    text-transform: none;
}

.staff-hero-card {
    animation: staff-float 4.8s ease-in-out infinite;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 8px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
    padding: 28px;
}

.staff-hero-card-icon {
    align-items: center;
    background: #f2c94c;
    border-radius: 8px;
    color: #12343f;
    display: flex;
    height: 58px;
    justify-content: center;
    margin-bottom: 24px;
    width: 58px;
}

.staff-hero-card-icon .mud-icon-root {
    font-size: 2.1rem;
}

.staff-hero-card span {
    color: #d1fae5;
    display: block;
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
}

.staff-hero-card strong {
    color: white;
    display: block;
    font-size: 1.7rem;
    font-weight: 900;
    line-height: 1.16;
    margin-top: 8px;
}

.staff-hero-progress {
    display: grid;
    gap: 8px;
    margin-top: 24px;
}

.staff-hero-progress i {
    animation: staff-progress 1.8s ease-in-out infinite;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    display: block;
    height: 8px;
    overflow: hidden;
    position: relative;
}

.staff-hero-progress i:nth-child(2) {
    animation-delay: 180ms;
}

.staff-hero-progress i:nth-child(3) {
    animation-delay: 360ms;
}

.staff-hero-progress i::after {
    background: linear-gradient(90deg, #f2c94c, #34d399);
    border-radius: inherit;
    content: "";
    inset: 0;
    position: absolute;
    transform-origin: left center;
}

.staff-content {
    padding-bottom: 64px;
    padding-top: 42px;
}

.staff-page-form-active .staff-content {
    padding-top: 132px;
}

.staff-lookup-panel {
    animation: staff-fade-up 720ms 120ms ease-out both;
    background:
        linear-gradient(135deg, rgba(236, 253, 245, 0.92), rgba(255, 255, 255, 0.98) 42%),
        white;
    border: 1px solid rgba(18, 78, 102, 0.12);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(18, 78, 102, 0.1);
    margin-bottom: 26px;
    padding: 24px;
    position: relative;
}

.staff-lookup-panel::before {
    background: linear-gradient(180deg, #f2c94c, #0f766e);
    border-radius: 8px 0 0 8px;
    content: "";
    inset: 0 auto 0 0;
    position: absolute;
    width: 5px;
}

.staff-lookup-head {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 16px;
}

.staff-lookup-head > div:first-child > span {
    color: #0f766e;
    display: block;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.staff-lookup-panel h2 {
    color: #12343f;
    font-size: 1.55rem;
    font-weight: 900;
    margin: 4px 0 0;
}

.staff-lookup-badge {
    align-items: center;
    background: #12343f;
    border-radius: 8px;
    color: white;
    display: flex;
    gap: 8px;
    padding: 10px 12px;
}

.staff-lookup-badge .mud-icon-root {
    color: #34d399;
}

.staff-lookup-badge span {
    color: white;
    font-size: 0.78rem;
    text-transform: none;
}

.staff-print-button,
.staff-print-button .mud-button-label,
.staff-print-button .mud-icon-root {
    color: white !important;
}

.staff-lookup-actions {
    align-items: center;
    display: flex;
}

.staff-form-shell,
.staff-report-sheet {
    background: white;
    border: 1px solid rgba(18, 78, 102, 0.12);
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(18, 78, 102, 0.08);
    padding: 30px;
}

.staff-form-shell {
    animation: staff-fade-up 520ms ease-out both;
}

.staff-form-heading {
    align-items: flex-start;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 18px;
}

.staff-form-heading span {
    color: #0f766e;
}

.staff-form-heading h2 {
    color: #12343f;
    font-size: 1.8rem;
    font-weight: 900;
    margin: 4px 0 0;
}

.staff-form-heading strong {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 8px;
    color: #047857;
    padding: 8px 12px;
    white-space: nowrap;
}

.staff-file-label {
    color: #12343f;
    display: block;
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.staff-file-label + input + small,
.staff-file-label + input ~ small {
    color: #64748b;
    display: block;
    margin-top: 8px;
}

.staff-review-grid,
.staff-report-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.staff-review-grid div,
.staff-report-grid div {
    background: #f8fafc;
    border: 1px solid rgba(18, 78, 102, 0.1);
    border-radius: 8px;
    padding: 14px;
}

.staff-review-grid span,
.staff-report-grid span {
    color: #64748b;
    display: block;
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.staff-review-grid strong,
.staff-report-grid strong {
    color: #12343f;
    display: block;
    font-size: 0.98rem;
    margin-top: 5px;
    overflow-wrap: anywhere;
}

.staff-step-actions {
    border-top: 1px solid rgba(18, 78, 102, 0.1);
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 28px;
    padding-top: 20px;
}

.staff-report-head {
    align-items: center;
    border-bottom: 3px solid #0f766e;
    display: grid;
    gap: 18px;
    grid-template-columns: 86px 1fr 120px;
    margin-bottom: 24px;
    padding-bottom: 18px;
}

.staff-report-head > img:first-child {
    height: 76px;
    object-fit: contain;
    width: 76px;
}

.staff-report-head h1 {
    color: #12343f;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 900;
    margin: 4px 0;
}

.staff-report-head p {
    color: #64748b;
    margin: 0;
}

.staff-report-photo {
    border: 2px solid #0f766e;
    border-radius: 8px;
    height: 120px;
    object-fit: cover;
    width: 105px;
}

.staff-report-note {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    color: #9a3412;
    font-weight: 800;
    line-height: 1.6;
    margin-top: 22px;
    padding: 16px;
}

@media (max-width: 900px) {
    .staff-hero-grid {
        grid-template-columns: 1fr;
    }

    .staff-hero-card {
        max-width: 420px;
    }

    .staff-review-grid,
    .staff-report-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .staff-form-shell,
    .staff-report-sheet {
        padding: 18px;
    }

    .staff-hero {
        padding: 132px 0 58px;
    }

    .staff-page-form-active .staff-content {
        padding-top: 116px;
    }

    .staff-hero-actions,
    .staff-lookup-head {
        align-items: stretch;
        flex-direction: column;
    }

    .staff-hero-card {
        display: none;
    }

    .staff-form-heading,
    .staff-step-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .staff-review-grid,
    .staff-report-grid,
    .staff-report-head {
        grid-template-columns: 1fr;
    }

    .staff-lookup-actions {
        align-items: stretch;
    }
}

@media (prefers-reduced-motion: reduce) {
    .staff-hero::after,
    .staff-hero-copy,
    .staff-hero-card,
    .staff-hero-progress i,
    .staff-apply-button,
    .staff-lookup-panel,
    .staff-form-shell {
        animation: none;
    }
}

@keyframes staff-fade-up {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes staff-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes staff-progress {
    0%,
    100% {
        opacity: 0.65;
        transform: scaleX(0.72);
    }

    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes staff-shine {
    0%,
    58% {
        transform: translateX(0) rotate(16deg);
    }

    100% {
        transform: translateX(460%) rotate(16deg);
    }
}

@keyframes staff-cta-pulse {
    0%,
    100% {
        box-shadow: 0 16px 32px rgba(242, 201, 76, 0.24), 0 0 0 0 rgba(242, 201, 76, 0.32);
        transform: translateY(0) scale(1);
    }

    50% {
        box-shadow: 0 22px 44px rgba(242, 201, 76, 0.34), 0 0 0 10px rgba(242, 201, 76, 0);
        transform: translateY(-2px) scale(1.025);
    }
}
