.centri-superadmin-page {
    color: #10243c;
    font-family: "Plus Jakarta Sans", "Outfit", Arial, sans-serif;
    max-width: 1220px;
    padding: 22px 28px 48px;
}

.centri-superadmin-page *,
.centri-superadmin-page *::before,
.centri-superadmin-page *::after {
    box-sizing: border-box;
}

.centri-superadmin-nav-wrap {
    padding: 14px 28px 0;
}

.centri-superadmin-nav {
    align-items: center;
    background: #fff;
    border: 1px solid #dce5ee;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(31, 45, 61, .06);
    display: flex;
    gap: 16px;
    justify-content: space-between;
    max-width: 1220px;
    overflow-x: auto;
    padding: 10px;
}

.centri-superadmin-brand,
.centri-superadmin-links a {
    align-items: center;
    border-radius: 7px;
    display: inline-flex;
    font-weight: 900;
    gap: 8px;
    min-height: 38px;
    text-decoration: none;
    white-space: nowrap;
}

.centri-superadmin-brand {
    color: #10243c;
    font-size: 16px;
    padding: 0 10px;
}

.centri-superadmin-brand i {
    color: #70308c;
}

.centri-superadmin-links {
    align-items: center;
    display: flex;
    gap: 6px;
}

.centri-superadmin-links a {
    color: #475b73;
    font-size: 12px;
    padding: 0 11px;
}

.centri-superadmin-links a.active,
.centri-superadmin-links a:hover {
    background: #ecf7f5;
    color: #16656a;
}

.centri-sa-alert {
    border-radius: 8px;
    font-weight: 900;
    margin-bottom: 16px;
    padding: 12px 14px;
}

.centri-sa-alert.is-ok {
    background: #eafaf1;
    border: 1px solid #9be2b6;
    color: #0b7b3b;
}

.centri-sa-alert.is-error {
    background: #fff0f0;
    border: 1px solid #f5b6b6;
    color: #a32020;
}

.centri-sa-hero {
    align-items: center;
    background: linear-gradient(105deg, #70308c 0%, #476f8c 58%, #2f8ea3 100%);
    border-radius: 8px;
    box-shadow: 0 14px 32px rgba(31, 45, 61, .14);
    color: #fff;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-bottom: 20px;
    min-height: 118px;
    padding: 24px 28px;
}

.centri-sa-hero h1 {
    color: #fff;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.12;
    margin: 0;
}

.centri-sa-hero p {
    color: rgba(255, 255, 255, .9);
    font-size: 13px;
    line-height: 1.6;
    margin: 8px 0 0;
    max-width: 760px;
}

.centri-sa-hero span {
    color: rgba(255, 255, 255, .84);
    display: block;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.centri-sa-hero code {
    background: rgba(255, 255, 255, .15);
    border-radius: 5px;
    color: #fff;
    padding: 2px 5px;
}

.centri-sa-hero-actions,
.centri-sa-actions {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.centri-sa-actions {
    margin-top: 18px;
}

.centri-sa-actions.is-left {
    justify-content: flex-start;
}

.centri-sa-root-box {
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 8px;
    min-width: 220px;
    padding: 14px 16px;
}

.centri-sa-root-box small,
.centri-sa-root-box strong {
    color: #fff;
    display: block;
}

.centri-sa-root-box small {
    font-size: 11px;
    font-weight: 900;
    opacity: .78;
    text-transform: uppercase;
}

.centri-sa-root-box strong {
    font-size: 17px;
    font-weight: 900;
    margin-top: 5px;
}

.centri-sa-btn {
    align-items: center;
    background: #fff;
    border: 1px solid #d9e2ec;
    border-radius: 7px;
    color: #182b42;
    display: inline-flex;
    font-weight: 900;
    gap: 8px;
    justify-content: center;
    line-height: 1;
    min-height: 38px;
    padding: 0 15px;
    text-decoration: none;
}

.centri-sa-btn.is-primary {
    background: linear-gradient(135deg, #70308c, #315fc8);
    border-color: transparent;
    color: #fff;
}

.centri-sa-btn.is-light {
    background: rgba(255, 255, 255, .95);
    border-color: transparent;
    color: #70308c;
}

.centri-sa-filters {
    align-items: center;
    background: #fff;
    border: 1px solid #dce5ee;
    border-radius: 8px;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    padding: 8px;
}

.centri-sa-filters label {
    border-radius: 7px;
    color: #475b73;
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
    margin: 0;
    padding: 10px 12px;
}

.centri-sa-filters label.active {
    background: #ecf7f5;
    color: #16656a;
}

.centri-sa-filters input {
    height: 1px;
    opacity: 0;
    position: absolute;
    width: 1px;
}

.centri-sa-stats {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 18px;
}

.centri-sa-stats a {
    background: linear-gradient(135deg, #177fb6, #12a6b8);
    border-radius: 8px;
    box-shadow: 0 10px 26px rgba(31, 45, 61, .10);
    color: #fff;
    min-height: 112px;
    padding: 20px;
    position: relative;
    text-decoration: none;
}

.centri-sa-stats a.is-orange {
    background: linear-gradient(135deg, #f19b35, #d97706);
}

.centri-sa-stats a.is-red {
    background: linear-gradient(135deg, #ee5b6a, #b91c46);
}

.centri-sa-stats i {
    font-size: 26px;
    opacity: .75;
    position: absolute;
    right: 20px;
    top: 20px;
}

.centri-sa-stats span,
.centri-sa-stats strong {
    color: #fff;
    display: block;
}

.centri-sa-stats span {
    font-size: 13px;
    font-weight: 800;
}

.centri-sa-stats strong {
    font-size: 30px;
    font-weight: 900;
    margin-top: 18px;
}

.centri-sa-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
    margin-bottom: 18px;
}

.centri-sa-card {
    background: #fff;
    border: 1px solid #dce5ee;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(31, 45, 61, .06);
    padding: 22px;
}

.centri-sa-card.is-teal {
    background: linear-gradient(135deg, #f6fbfb, #eef7f5);
    border-color: #c8e6e3;
}

.centri-sa-card h2 {
    align-items: center;
    color: #07162a;
    display: flex;
    font-size: 21px;
    font-weight: 900;
    gap: 9px;
    line-height: 1.2;
    margin: 0 0 7px;
}

.centri-sa-card h2 i {
    color: #70308c;
}

.centri-sa-card p {
    color: #52647b;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

.centri-sa-card code,
.centri-sa-list code {
    background: #f0f4f8;
    border-radius: 5px;
    color: #70308c;
    padding: 2px 5px;
}

.centri-sa-chart {
    margin-top: 18px;
    min-height: 260px;
}

.centri-sa-card-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
}

.centri-sa-field {
    display: grid;
    gap: 7px;
    margin-top: 18px;
}

.centri-sa-field span {
    color: #17263b;
    font-size: 12px;
    font-weight: 900;
}

.centri-sa-field input,
.centri-sa-field select {
    background: #fff;
    border: 1px solid #d5dee8;
    border-radius: 7px;
    color: #10243c;
    font-size: 13px;
    min-height: 38px;
    padding: 9px 12px;
    width: 100%;
}

.centri-sa-list {
    color: #2f4056;
    font-size: 13px;
    line-height: 1.8;
    margin: 16px 0 0;
    padding-left: 18px;
}

.centri-sa-table-wrap {
    border: 1px solid #dfe7ef;
    border-radius: 8px;
    overflow: auto;
}

.centri-sa-table {
    border-collapse: collapse;
    min-width: 860px;
    width: 100%;
}

.centri-sa-table th,
.centri-sa-table td {
    border-bottom: 1px solid #e8eef4;
    padding: 14px 16px;
    text-align: left;
    vertical-align: middle;
}

.centri-sa-table th {
    color: #52647b;
    font-size: 12px;
    font-weight: 900;
}

.centri-sa-table td {
    color: #27384e;
    font-size: 13px;
}

.centri-sa-table strong,
.centri-sa-table small {
    display: block;
}

.centri-sa-table strong {
    color: #10243c;
    font-weight: 900;
}

.centri-sa-table small {
    color: #66788f;
    margin-top: 3px;
}

.centri-sa-pill {
    background: #eef3f8;
    border-radius: 999px;
    color: #52647b;
    display: inline-flex;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    padding: 6px 9px;
}

.centri-sa-pill.is-ok {
    background: #e1f8ec;
    color: #108048;
}

.centri-sa-pill.is-muted {
    background: #f2f4f7;
    color: #7a8797;
}

.centri-sa-icon-btn {
    align-items: center;
    background: #fff;
    border: 1px solid #ffd1d8;
    border-radius: 7px;
    color: #c21d3d;
    display: inline-flex;
    height: 32px;
    justify-content: center;
    width: 32px;
}

.centri-sa-empty {
    color: #66788f;
    padding: 34px;
    text-align: center;
}

@media (max-width: 980px) {
    .centri-superadmin-page,
    .centri-superadmin-nav-wrap {
        padding-left: 14px;
        padding-right: 14px;
    }

    .centri-sa-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .centri-sa-stats,
    .centri-sa-grid {
        grid-template-columns: 1fr;
    }

    .centri-superadmin-nav {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* EVA · Superadmin updates */
.centri-sa-updates-page {
    max-width: 1280px;
}

.centri-sa-update-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 18px;
}

.centri-sa-upload-card {
    min-height: 310px;
}

.centri-sa-upload-card p code,
.centri-sa-card code,
.centri-sa-report code {
    background: rgba(112, 48, 140, .08);
    border: 1px solid rgba(112, 48, 140, .12);
    border-radius: 6px;
    color: #70308c;
    font-weight: 900;
    padding: 2px 6px;
}

.centri-sa-upload-form {
    margin-top: 16px;
}

.centri-sa-upload-zone {
    align-items: center;
    background: linear-gradient(135deg, #f8fbff, #f4f0fb);
    border: 2px dashed #b7c5d8;
    border-radius: 10px;
    color: #38506a;
    cursor: pointer;
    display: flex;
    gap: 14px;
    min-height: 96px;
    padding: 18px;
    transition: .18s ease;
    width: 100%;
}

.centri-sa-upload-zone:hover {
    background: #eef8fb;
    border-color: #2f8ea3;
    color: #16656a;
}

.centri-sa-upload-zone i {
    align-items: center;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(31, 45, 61, .08);
    color: #70308c;
    display: inline-flex;
    font-size: 26px;
    height: 56px;
    justify-content: center;
    width: 56px;
}

.centri-sa-upload-zone span {
    display: block;
    font-size: 14px;
    font-weight: 900;
}

.centri-sa-upload-zone input {
    display: block;
    font-size: 12px;
    margin-top: 8px;
    width: 100%;
}

.centri-sa-checks {
    background: #fff;
    border: 1px solid #dce5ee;
    border-radius: 8px;
    margin-top: 12px;
    padding: 11px 12px;
}

.centri-sa-checks label {
    color: #475b73;
    font-size: 12px;
    font-weight: 800;
    margin: 0;
}

.centri-sa-report {
    background: #fff;
    border: 1px solid #dce5ee;
    border-radius: 10px;
    box-shadow: 0 10px 26px rgba(31, 45, 61, .08);
    margin-bottom: 18px;
    padding: 18px;
}

.centri-sa-report.is-ok {
    border-left: 6px solid #16a06d;
}

.centri-sa-report.is-error {
    border-left: 6px solid #c93a3a;
}

.centri-sa-report-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.centri-sa-report-head strong {
    color: #10243c;
    font-size: 16px;
    font-weight: 900;
}

.centri-sa-report-head span {
    background: #ecf7f5;
    border-radius: 999px;
    color: #16656a;
    font-size: 12px;
    font-weight: 900;
    padding: 6px 10px;
}

.centri-sa-report h4 {
    color: #10243c;
    font-size: 13px;
    font-weight: 900;
    margin: 14px 0 6px;
}

.centri-sa-report ul {
    margin: 0;
    padding-left: 18px;
}

.centri-sa-report li {
    color: #475b73;
    font-size: 12px;
    line-height: 1.55;
}

.centri-sa-report-path {
    color: #475b73;
    font-size: 12px;
    margin: 0 0 8px;
}

.centri-sa-file-list {
    background: #f8fbff;
    border: 1px solid #dce5ee;
    border-radius: 8px;
    display: grid;
    gap: 6px;
    margin-top: 10px;
    max-height: 260px;
    overflow: auto;
    padding: 10px;
}

.centri-sa-file-list code {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.centri-sa-grid.is-updates-bottom {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 18px;
}

.centri-sa-card-title-row {
    align-items: center;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 14px;
}

.centri-sa-card-title-row h2,
.centri-sa-card-title-row p {
    margin-bottom: 0;
}

.centri-sa-table-wrap {
    overflow-x: auto;
}

.centri-sa-module-table {
    border-collapse: separate;
    border-spacing: 0 8px;
    width: 100%;
}

.centri-sa-module-table th {
    color: #63758b;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .05em;
    padding: 0 14px 6px;
    text-transform: uppercase;
}

.centri-sa-module-table td {
    background: #fff;
    border-bottom: 1px solid #e3ebf3;
    border-top: 1px solid #e3ebf3;
    color: #3d536b;
    font-size: 13px;
    padding: 14px;
    vertical-align: middle;
}

.centri-sa-module-table td:first-child {
    border-left: 1px solid #e3ebf3;
    border-radius: 8px 0 0 8px;
    font-weight: 900;
    width: 52px;
}

.centri-sa-module-table td:last-child {
    border-radius: 0 8px 8px 0;
    border-right: 1px solid #e3ebf3;
    width: 120px;
}

.centri-sa-module-table strong {
    color: #10243c;
    font-weight: 900;
}

.centri-sa-module-actions {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

.centri-sa-mini-btn {
    align-items: center;
    background: #ecf7f5;
    border: 1px solid #cfe9e5;
    border-radius: 6px;
    color: #16656a;
    display: inline-flex;
    font-size: 11px;
    font-weight: 900;
    min-height: 26px;
    padding: 0 9px;
    text-decoration: none;
}

.centri-sa-mini-btn.is-warning {
    background: #fff6e8;
    border-color: #f5d19a;
    color: #a26000;
}

.centri-sa-badge,
.centri-sa-status {
    background: #eef2f7;
    border-radius: 999px;
    color: #475b73;
    display: inline-flex;
    font-size: 11px;
    font-weight: 900;
    margin-top: 8px;
    padding: 5px 9px;
}

.centri-sa-status.is-active {
    background: #eafaf1;
    color: #0b7b3b;
}

.centri-sa-inline-warning {
    background: #fff8ea;
    border: 1px solid #f5d19a;
    border-radius: 8px;
    color: #8b5a00;
    font-size: 12px;
    font-weight: 800;
    margin-top: 10px;
    padding: 9px 10px;
}

.centri-sa-inline-warning a {
    color: #70308c;
    font-weight: 900;
}

@media (max-width: 1100px) {
    .centri-sa-update-grid,
    .centri-sa-grid.is-updates-bottom {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .centri-sa-card-title-row,
    .centri-sa-report-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .centri-sa-updates-page {
        padding-left: 14px;
        padding-right: 14px;
    }
}

/* Centri updater clarity notes */
.centri-sa-inline-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    margin: 14px 0 16px;
    border-radius: 14px;
    background: rgba(14, 165, 233, 0.10);
    border: 1px solid rgba(14, 165, 233, 0.22);
    color: #075985;
    font-size: 13px;
    line-height: 1.45;
}
.centri-sa-inline-alert i {
    margin-top: 2px;
    color: #0284c7;
}
.centri-sa-upload-card .centri-sa-btn.is-primary {
    font-weight: 800;
    letter-spacing: .02em;
}
