:root {
    --navy: #102a43;
    --blue: #116b82;
    --green: #087f5b;
    --amber: #b96b00;
    --red: #b42335;
    --page: #f3f6f9;
    --card: #ffffff;
    --line: #dce5ec;
    --muted: #627386;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    background: var(--page);
    color: var(--navy);
    font-family: Tahoma, Arial, sans-serif;
    line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.topbar {
    min-height: 76px;
    padding: 12px max(20px, calc((100% - 1240px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 10;
}
.brand, nav, nav form, .actions, .card-top {
    display: flex;
    align-items: center;
}
.brand { gap: 11px; }
.brand span:last-child { display: grid; }
.brand small, td small { color: var(--muted); }
.brand-logo {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    object-fit: cover;
    border: 1px solid #eadbc3;
    border-radius: 15px;
    background: #fff0d8;
}
nav { gap: 18px; }
nav a:hover { color: var(--blue); }
.nav-button {
    border: 0;
    background: transparent;
    color: var(--red);
    cursor: pointer;
}
.page {
    max-width: 1240px;
    margin: auto;
    padding: 34px 20px 60px;
}
.hero {
    min-height: 470px;
    padding: 56px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    align-items: center;
    gap: 50px;
    border-radius: 28px;
    color: #fff;
    background:
        radial-gradient(circle at 10% 10%, #1f8da1 0, transparent 35%),
        linear-gradient(125deg, #0c253d, #145d70);
}
.hero h1 { font-size: clamp(32px, 5vw, 58px); line-height: 1.3; }
.hero p { max-width: 700px; color: #dcecf2; font-size: 18px; }
.hero-panel {
    padding: 28px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 22px;
    background: rgba(255,255,255,.09);
    backdrop-filter: blur(8px);
}
.eyebrow {
    color: var(--blue);
    font-size: 13px;
    font-weight: bold;
    letter-spacing: .4px;
}
.hero .eyebrow { color: #aee7ef; }
.page-heading {
    margin-bottom: 26px;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 22px;
}
.page-heading h1 { margin: 4px 0; }
.page-heading p, .muted { color: var(--muted); }
.identity-card {
    min-width: 240px;
    padding: 15px 18px;
    display: grid;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 15px;
}
.identity-card span { color: var(--muted); font-size: 13px; }
.course-grid, .qualification-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.course-card, .qualification-card, .auth-card {
    padding: 24px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 8px 28px rgba(16,42,67,.05);
}
.card-top { justify-content: space-between; gap: 10px; }
.course-card h2 { margin: 18px 0 12px; }
.pill, .status {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 999px;
    color: #31536a;
    background: #edf3f7;
    font-size: 12px;
}
.pill.package { color: #6f4b00; background: #fff4d8; }
.code { color: var(--muted); font-size: 12px; }
.facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.facts div {
    padding: 10px;
    background: #f7f9fb;
    border-radius: 11px;
}
.facts dt { color: var(--muted); font-size: 12px; }
.facts dd { margin: 2px 0 0; font-weight: bold; }
.alert, .message {
    margin: 12px 0;
    padding: 11px 14px;
    border-radius: 11px;
}
.success { color: #076149; background: #e6f7f1; }
.warning { color: #7b4b00; background: #fff3d6; }
.danger, .error { color: #971c2e; background: #fdecef; }
.info { color: #075f74; background: #e4f5f8; }
.neutral { color: #526575; background: #edf2f5; }
.messages {
    max-width: 1240px;
    margin: 16px auto 0;
    padding: 0 20px;
}
.button {
    padding: 9px 16px;
    display: inline-flex;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
}
.button.primary { color: #fff; background: var(--blue); }
.button.secondary { color: var(--navy); background: #fff; border-color: var(--line); }
.button.warning { color: #fff; background: var(--amber); }
.button.danger { color: #fff; background: var(--red); }
.button.wide { width: 100%; }
.text-button {
    padding: 5px;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.travel-box { margin-top: 12px; }
.travel-box summary, details summary {
    color: var(--blue);
    cursor: pointer;
}
.stack { display: grid; gap: 13px; }
.stack.compact { margin-top: 12px; gap: 9px; }
.stack label:not(.check) { display: grid; gap: 5px; }
.check { display: flex; align-items: center; gap: 7px; }
input, textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd7e0;
    border-radius: 9px;
    background: #fff;
}
.auth-card {
    max-width: 440px;
    margin: 60px auto;
}
.auth-brand-logo {
    width: 132px;
    height: 132px;
    margin: -4px auto 20px;
    display: block;
    object-fit: cover;
    border: 1px solid #eadbc3;
    border-radius: 26px;
    background: #fff0d8;
    box-shadow: 0 10px 28px rgba(16,42,67,.08);
}
.field-error { color: var(--red); }
.table-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 17px;
}
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 13px 15px; text-align: right; border-bottom: 1px solid #edf1f4; }
th { color: var(--muted); background: #f8fafb; font-size: 13px; }
td strong, td small { display: block; }
.metric-grid {
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.metric-grid article {
    padding: 20px;
    display: grid;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
}
.metric-grid strong { font-size: 28px; }
.metric-grid span { color: var(--muted); }
.search-form, .inline-form, .actions {
    display: flex;
    gap: 8px;
}
.search-form { margin: 22px 0; }
.search-form input { max-width: 520px; }
.inline-form input { min-width: 160px; }
.section-title { margin-top: 35px; }
.empty-state {
    padding: 24px;
    color: var(--muted);
    text-align: center;
}
@media (max-width: 820px) {
    .topbar, .page-heading { align-items: flex-start; }
    .topbar { position: static; flex-direction: column; }
    nav { width: 100%; overflow-x: auto; }
    .hero { padding: 30px; grid-template-columns: 1fr; }
    .course-grid, .qualification-grid { grid-template-columns: 1fr; }
    .metric-grid { grid-template-columns: repeat(2, 1fr); }
    .page-heading { flex-direction: column; }
    .actions { flex-wrap: wrap; }
    .brand-logo { width: 46px; height: 46px; flex-basis: 46px; border-radius: 13px; }
    .auth-brand-logo { width: 112px; height: 112px; border-radius: 22px; }
}


/* IOOCDTC_PRESENTATION_A_SAFE_CSS_V1 */

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 85% -10%,
        rgba(17,107,130,.08), transparent 32%),
        var(--page);
}

button, a, input, textarea, summary {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 3px solid rgba(17,107,130,.25);
    outline-offset: 2px;
}

.topbar {
    min-height: 82px;
    box-shadow: 0 4px 22px rgba(16,42,67,.04);
}

.main-nav {
    gap: 6px;
}

.main-nav > a,
.main-nav .nav-button {
    min-height: 44px;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
}

.main-nav > a:hover {
    color: var(--blue);
    background: #edf5f8;
}

.main-nav > a.active {
    color: #fff;
    background: var(--blue);
}

.nav-user {
    max-width: 180px;
    padding: 7px 12px;
    overflow: hidden;
    color: var(--muted);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-button {
    border: 1px solid #efcbd1;
    color: var(--red);
    background: #fff7f8;
}

.page-heading {
    padding: 24px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255,255,255,.9);
    box-shadow: 0 10px 32px rgba(16,42,67,.045);
}

.identity-card {
    min-width: 270px;
    gap: 2px;
    border-right: 4px solid var(--blue);
}

.identity-card > small {
    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
}

.button {
    min-height: 44px;
    align-items: center;
    font-weight: 700;
    transition: transform .16s ease, box-shadow .16s ease;
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 7px 18px rgba(16,42,67,.09);
}

input, textarea {
    min-height: 44px;
}

input:focus, textarea:focus {
    border-color: var(--blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(17,107,130,.1);
}

.quick-link-grid {
    margin-bottom: 26px;
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 14px;
}

.quick-link-card {
    min-height: 92px;
    padding: 17px;
    display: flex;
    align-items: center;
    gap: 13px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 6px 22px rgba(16,42,67,.04);
}

.quick-link-card > span:last-child {
    display: grid;
    gap: 3px;
}

.quick-link-card small {
    color: var(--muted);
}

.quick-link-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: #fff;
    background: var(--blue);
    font-weight: 700;
}

.metric-grid article {
    min-height: 112px;
    justify-content: center;
    border-right: 5px solid var(--blue);
    box-shadow: 0 7px 24px rgba(16,42,67,.04);
}

.metric-grid article:nth-child(2) { border-color: var(--green); }
.metric-grid article:nth-child(3) { border-color: var(--amber); }
.metric-grid article:nth-child(4) { border-color: var(--red); }

.management-actions {
    max-width: 600px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.management-command-grid {
    margin-bottom: 25px;
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 14px;
}

.command-card {
    min-height: 145px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 7px 24px rgba(16,42,67,.04);
}

.command-card > span {
    margin-bottom: auto;
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
}

.command-card small {
    color: var(--muted);
    line-height: 1.6;
}

.command-card-primary {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(145deg,#0d344e,#116b82);
}

.command-card-primary > span,
.command-card-primary small {
    color: #d9edf2;
}

.table-wrap {
    box-shadow: 0 7px 25px rgba(16,42,67,.035);
}

tbody tr:hover {
    background: #f8fbfc;
}

.auth-shell {
    min-height: calc(100vh - 175px);
    display: grid;
    place-items: center;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    margin: 20px auto;
    padding: 30px;
    text-align: center;
    box-shadow: 0 18px 48px rgba(16,42,67,.09);
}

.auth-description {
    margin: 0 auto 22px;
    color: var(--muted);
}

.auth-form {
    text-align: right;
}

.auth-submit {
    margin-top: 5px;
}

.auth-footnote {
    margin: 20px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
}

@media (max-width: 1000px) {
    .management-command-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width: 820px) {
    .main-nav {
        flex-wrap: wrap;
        overflow: visible;
    }

    .quick-link-grid {
        grid-template-columns: 1fr;
    }

    .identity-card {
        width: 100%;
        min-width: 0;
    }

    .management-actions {
        width: 100%;
        max-width: none;
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .page {
        padding: 18px 12px 44px;
    }

    .main-nav {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .main-nav > a,
    .main-nav form,
    .main-nav .nav-button {
        width: 100%;
    }

    .nav-user {
        max-width: none;
        grid-column: 1 / -1;
        text-align: center;
    }

    .page-heading {
        padding: 17px;
        border-radius: 16px;
    }

    .metric-grid,
    .management-command-grid {
        grid-template-columns: 1fr;
    }

    .auth-shell {
        min-height: auto;
    }

    .auth-card {
        margin: 0 auto;
        padding: 23px 18px;
    }
}


/* IOOCDTC_PRESENTATION_B_TABLE_CSS_V1 */

.table-wrap[tabindex="0"] {
    scrollbar-width: thin;
    scrollbar-color: #a8bbc7 transparent;
}

.table-wrap[tabindex="0"]:focus-visible {
    outline: 3px solid rgba(17, 107, 130, .2);
    outline-offset: 3px;
}

.table-wrap thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    color: #334f62;
    background: #f3f7f9;
    white-space: nowrap;
}

.table-wrap tbody tr:nth-child(even) {
    background: #fbfcfd;
}

.table-wrap tbody tr:hover {
    background: #eef7f9;
}

.table-wrap td {
    vertical-align: middle;
}

.table-wrap td[colspan] {
    min-height: 100px;
    padding: 34px 20px;
    color: var(--muted);
    text-align: center;
    background: #fafcfd;
}

.table-wrap td .pill,
.table-wrap td .status {
    white-space: nowrap;
}

.compact-empty-state {
    min-height: 82px;
    margin-top: 14px;
}

@media (max-width: 640px) {
    .table-wrap {
        border-radius: 13px;
    }

    .table-wrap table {
        font-size: 13px;
    }

    .table-wrap th,
    .table-wrap td {
        padding: 11px 12px;
    }

    .table-wrap .button {
        min-width: 110px;
    }
}

/* IOOCDTC_SPLASH_V2 */
.app-splash {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding:
        max(24px, env(safe-area-inset-top))
        24px
        max(24px, env(safe-area-inset-bottom));
    overflow: hidden;
    background:
        radial-gradient(
            circle at 50% 38%,
            rgba(53, 136, 152, 0.18) 0,
            rgba(53, 136, 152, 0.07) 28%,
            transparent 55%
        ),
        linear-gradient(
            160deg,
            #114B59 0%,
            #0D3B49 48%,
            #082E39 100%
        );
    opacity: 1;
    visibility: visible;
    transition:
        opacity 0.5s ease,
        visibility 0.5s ease;
}

.app-splash::after {
    content: "";
    position: absolute;
    inset: auto 12% 12% 12%;
    height: 28%;
    border-radius: 50%;
    background:
        rgba(0, 0, 0, 0.08);
    filter: blur(80px);
    pointer-events: none;
}

.app-splash.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.app-splash__content {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 15px;
    text-align: center;
    color: #ffffff;
    transform: translateY(-2vh);
}

.app-splash__name {
    display: block;
    margin: 0;
    color: #ffffff;
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
    font-size: clamp(
        2.25rem,
        11vw,
        4.25rem
    );
    font-weight: 750;
    line-height: 1;
    letter-spacing: 0.09em;
    text-indent: 0.09em;
    text-shadow:
        0 8px 30px
        rgba(0, 0, 0, 0.17);
}

.app-splash__caption {
    display: block;
    margin: 0;
    color: rgba(
        255,
        255,
        255,
        0.86
    );
    font-size: clamp(
        1rem,
        4.7vw,
        1.4rem
    );
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: 0;
}

@media (min-width: 768px) {
    .app-splash__content {
        gap: 18px;
    }

    .app-splash__name {
        font-size: clamp(
            3rem,
            6vw,
            5rem
        );
    }

    .app-splash__caption {
        font-size: 1.3rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .app-splash {
        transition: none;
    }
}

