:root {
    --navy: #101f3b;
    --navy-light: #1b3154;
    --blue: #315b91;
    --background: #f4f6fa;
    --white: #ffffff;
    --text: #17243a;
    --muted: #718096;
    --border: #dfe5ed;
    --success: #23845b;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--background);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Header */

.site-header {
    background: var(--navy);
    color: var(--white);
    position: relative;
    z-index: 2;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    min-height: 86px;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.brand-name {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.brand-subtitle {
    color: #aebbd0;
    font-size: 10px;
    letter-spacing: 2px;
    margin-top: 4px;
}

.portal-indicator {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #d1dbea;
    font-size: 12px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #58c796;
}

/* Hero */

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(115deg, #101f3b 0%, #1a3154 100%);
    color: var(--white);
    padding: 90px 24px 105px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
    margin: 0 auto;
}

.eyebrow,
.section-label {
    color: #9db8dc;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 66px);
    line-height: 1.08;
    letter-spacing: -2px;
    margin: 20px 0;
    font-weight: 750;
}

.hero h1 span {
    color: #91b7e8;
}

.hero-description {
    max-width: 590px;
    color: #c5d0e0;
    font-size: 16px;
    margin-bottom: 38px;
}

/* Verification panel */

.verification-panel {
    max-width: 690px;
    background: var(--white);
    color: var(--text);
    border-radius: 9px;
    padding: 30px;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.2);
}

.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 27px;
}

.panel-heading h2 {
    font-size: 20px;
    font-weight: 750;
}

.panel-heading p {
    color: var(--muted);
    font-size: 13px;
    margin-top: 4px;
}

.panel-icon {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    background: #edf3fa;
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
}

.verification-form label {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: #536176;
    margin-bottom: 9px;
}

.search-field {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    min-height: 53px;
}

.search-prefix {
    display: flex;
    align-items: center;
    padding: 0 15px;
    background: #f0f3f8;
    color: #536176;
    font-weight: 750;
    font-size: 13px;
    border-right: 1px solid var(--border);
}

.search-field input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    padding: 0 15px;
    font-size: 14px;
    color: var(--text);
}

.search-field input::placeholder {
    color: #a4adba;
}

.search-field:focus-within {
    border-color: #5279ac;
    box-shadow: 0 0 0 3px rgba(49, 91, 145, 0.12);
}

.search-field button {
    border: none;
    background: var(--navy);
    color: var(--white);
    padding: 0 23px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.search-field button:hover {
    background: var(--blue);
}

.search-field button:disabled {
    opacity: 0.65;
    cursor: wait;
}

.search-field button span {
    margin-left: 8px;
    font-size: 17px;
}

.search-error {
    color: #b33b3b;
    font-size: 12px;
    margin-top: 10px;
    min-height: 18px;
}

.panel-footer {
    border-top: 1px solid #edf0f4;
    padding-top: 17px;
    margin-top: 19px;
    color: var(--muted);
    font-size: 11px;
}

.footer-lock {
    color: var(--success);
    font-weight: 800;
    margin-right: 6px;
}

.hero-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 690px;
    margin-top: 22px;
    color: #c1cddd;
    font-size: 12px;
}

.note-icon {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    border: 1px solid #8198b7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

/* Hero decoration */

.hero-decoration {
    position: absolute;
    right: -90px;
    top: 30px;
    width: 480px;
    height: 480px;
    opacity: 0.12;
    pointer-events: none;
}

.decoration-circle {
    position: absolute;
    border: 1px solid #b9d1ef;
    border-radius: 50%;
}

.circle-one {
    width: 420px;
    height: 420px;
    top: 0;
    right: 0;
}

.circle-two {
    width: 290px;
    height: 290px;
    top: 65px;
    right: 65px;
}

.decoration-line {
    position: absolute;
    width: 1px;
    height: 480px;
    background: #b9d1ef;
    right: 210px;
    top: 0;
    transform: rotate(45deg);
}

/* Information section */

.information-section {
    padding: 75px 24px 85px;
    background: var(--white);
}

.information-container {
    max-width: 1100px;
    margin: 0 auto;
}

.information-heading {
    text-align: center;
    margin-bottom: 42px;
}

.information-heading .section-label {
    color: var(--blue);
}

.information-heading h2 {
    font-size: 30px;
    letter-spacing: -0.7px;
    margin-top: 10px;
}

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

.information-card {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 26px;
    background: var(--white);
}

.information-icon {
    color: #7898c1;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 17px;
}

.information-card h3 {
    font-size: 16px;
    margin-bottom: 9px;
}

.information-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

/* Footer */

.site-footer {
    background: #0b172b;
    color: var(--white);
    padding: 27px 24px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    line-height: 1.5;
}

.footer-brand strong {
    font-size: 11px;
    letter-spacing: 1px;
}

.footer-brand span,
.footer-copy {
    color: #94a3b8;
    font-size: 10px;
}

.footer-brand span {
    letter-spacing: 1.5px;
}

@media (max-width: 700px) {
    .header-container {
        padding: 0 18px;
        min-height: 75px;
    }

    .brand-logo {
        width: 43px;
        height: 43px;
    }

    .brand-name {
        font-size: 11px;
    }

    .brand-subtitle {
        font-size: 8px;
    }

    .portal-indicator {
        display: none;
    }

    .hero {
        padding: 65px 18px 75px;
    }

    .hero h1 {
        font-size: 43px;
    }

    .hero-description {
        font-size: 14px;
    }

    .verification-panel {
        padding: 22px 18px;
    }

    .search-field {
        flex-wrap: wrap;
    }

    .search-field input {
        min-height: 52px;
    }

    .search-field button {
        min-height: 48px;
        width: 100%;
    }

    .information-section {
        padding: 55px 18px;
    }

    .information-heading h2 {
        font-size: 25px;
    }

    .information-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* Individual credential verification page */

.verification-page {
    min-height: 75vh;
    padding: 55px 20px 75px;
    background: #f2f5f9;
}

.verification-container {
    max-width: 790px;
    margin: 0 auto;
}

.verification-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    gap: 15px;
}

.verification-topline a {
    color: #526782;
    font-size: 12px;
    font-weight: 650;
}

.verification-topline a:hover {
    color: var(--blue);
}

.verification-topline span {
    color: #8290a2;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.credential-card {
    background: #fff;
    border: 1px solid #e0e6ee;
    border-radius: 9px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(20, 39, 68, 0.07);
}

.credential-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 35px;
    border-bottom: 1px solid #e9edf2;
}

.credential-card-header .section-label {
    color: var(--blue);
    font-size: 10px;
}

.credential-card-header h1 {
    font-size: 26px;
    margin-top: 5px;
}

.credential-card-header p {
    color: var(--muted);
    font-size: 12px;
    margin-top: 5px;
}

.credential-card-header p strong {
    color: var(--text);
}

.credential-logo {
    width: 75px;
    height: 75px;
    object-fit: contain;
}

.credential-status-banner {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 17px 35px;
    border-bottom: 1px solid #e9edf2;
}

.credential-status-banner strong {
    font-size: 12px;
    letter-spacing: 1px;
}

.credential-status-banner p {
    font-size: 12px;
    margin-top: 3px;
}

.status-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 800;
}

.status-active {
    background: #edf8f2;
    color: #20784f;
}

.status-active .status-symbol {
    background: #d6efe1;
}

.status-pending {
    background: #fff8e8;
    color: #926313;
}

.status-pending .status-symbol {
    background: #f7e9c5;
}

.status-suspended,
.status-expired {
    background: #fff4e8;
    color: #9a5719;
}

.status-suspended .status-symbol,
.status-expired .status-symbol {
    background: #f8e2c8;
}

.status-revoked {
    background: #fff0f0;
    color: #a52e36;
}

.status-revoked .status-symbol {
    background: #f5d8da;
}

.credential-person {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 35px;
}

.credential-photo {
    width: 125px;
    height: 150px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 5px;
    background: #edf1f6;
    border: 1px solid #dfe5ed;
}

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

.photo-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a2b5;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.field-label {
    display: block;
    color: #8290a2;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.4px;
    margin-bottom: 7px;
}

.credential-person-info h2 {
    font-size: 27px;
    line-height: 1.2;
    margin-bottom: 7px;
}

.credential-role {
    font-size: 15px;
    font-weight: 650;
    color: #334b6b;
}

.credential-organization {
    font-size: 13px;
    color: var(--muted);
    margin-top: 4px;
}

.credential-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    padding: 25px 35px;
    background: #f8fafc;
    border-top: 1px solid #e9edf2;
    border-bottom: 1px solid #e9edf2;
}

.detail-item strong {
    display: block;
    font-size: 13px;
    color: #25364e;
}

.credential-record-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 23px 35px;
}

.credential-record-footer strong {
    font-size: 10px;
    letter-spacing: 1px;
}

.credential-record-footer p {
    color: var(--muted);
    font-size: 11px;
    margin-top: 3px;
}

.record-check {
    color: #287951;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.record-check span {
    margin-right: 5px;
}

.verification-disclaimer {
    margin-top: 22px;
    padding: 19px 22px;
    background: #fff;
    border: 1px solid #e0e6ee;
    border-radius: 7px;
}

.verification-disclaimer strong {
    font-size: 12px;
}

.verification-disclaimer p {
    color: #68778b;
    font-size: 11px;
    line-height: 1.7;
    margin-top: 5px;
}

.verification-help {
    color: #8290a2;
    font-size: 11px;
    text-align: center;
    margin-top: 22px;
}

@media (max-width: 600px) {
    .verification-page {
        padding: 35px 12px 50px;
    }

    .verification-topline {
        align-items: flex-start;
        flex-direction: column;
    }

    .credential-card-header {
        padding: 23px 20px;
    }

    .credential-card-header h1 {
        font-size: 22px;
    }

    .credential-logo {
        width: 55px;
        height: 55px;
    }

    .credential-status-banner {
        padding: 16px 20px;
    }

    .credential-person {
        padding: 25px 20px;
        gap: 17px;
    }

    .credential-photo {
        width: 95px;
        height: 120px;
    }

    .credential-person-info h2 {
        font-size: 21px;
    }

    .credential-role {
        font-size: 13px;
    }

    .credential-organization {
        font-size: 11px;
    }

    .credential-details {
        padding: 22px 20px;
        gap: 20px 12px;
    }

    .credential-record-footer {
        padding: 20px;
        align-items: flex-start;
        flex-direction: column;
    }
}


/* Credential not-found page */

.not-found-page {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 65px 20px;
    background: #f2f5f9;
}

.not-found-card {
    width: 100%;
    max-width: 530px;
    padding: 45px;
    text-align: center;
    background: #fff;
    border: 1px solid #e0e6ee;
    border-radius: 9px;
    box-shadow: 0 12px 35px rgba(20, 39, 68, 0.06);
}

.not-found-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: #fff0e9;
    color: #b45b31;
    font-size: 29px;
    font-weight: 750;
}

.not-found-card .section-label {
    color: var(--blue);
}

.not-found-card h1 {
    margin: 12px 0;
    font-size: 29px;
    letter-spacing: -0.7px;
}

.not-found-card > p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.not-found-notice {
    margin: 25px 0;
    padding: 18px;
    text-align: left;
    background: #f7f9fc;
    border: 1px solid #e5eaf0;
    border-radius: 6px;
}

.not-found-notice strong {
    font-size: 12px;
}

.not-found-notice p {
    color: #68778b;
    font-size: 12px;
    line-height: 1.7;
    margin-top: 5px;
}

.not-found-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 47px;
    padding: 0 24px;
    background: var(--navy);
    color: #fff;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    transition: background 0.2s;
}

.not-found-button:hover {
    background: var(--blue);
}

.not-found-card .not-found-footer {
    margin-top: 24px;
    font-size: 11px;
}

@media (max-width: 600px) {
    .not-found-card {
        padding: 32px 22px;
    }

    .not-found-card h1 {
        font-size: 25px;
    }
}

