.gcv-section {
    padding: 56px 0 76px;
    background: #f4f6fb;
    font-family: 'Nunito Sans', sans-serif;
}


.gcv-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 28px rgba(26, 60, 110, .10);
    border-top: 4px solid #1a3c6e;
    padding: 0 0 40px;
    max-width: 720px;
    margin: 0 auto;
    overflow: hidden;
}


.gcv-tabs {
    display: flex;
    background: #eef2f9;
    border-bottom: 1px solid #e0e6f1;
}

.gcv-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 14px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: #6b7a99;
    letter-spacing: .2px;
    border-bottom: 3px solid transparent;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.gcv-tab i {
    font-size: 14px;
}

.gcv-tab:hover {
    color: #1a3c6e;
    background: #e6ecf7;
}

.gcv-tab.is-active {
    color: #1a3c6e;
    background: #fff;
    border-bottom-color: #fd1616;
}

/* tab panels */
.gcv-panel {
    display: none;
    padding: 34px 40px 0;
}

.gcv-panel.is-active {
    display: block;
}

/* ── intro ── */
.gcv-intro {
    text-align: center;
    margin-bottom: 26px;
}

.gcv-intro__icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a3c6e 0%, #2a5ba4 100%);
    color: #fff;
    font-size: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    box-shadow: 0 6px 18px rgba(26, 60, 110, .28);
}

.gcv-intro__icon--oscit {
    background: linear-gradient(135deg, #ef7f1a 0%, #f6a04a 100%);
    box-shadow: 0 6px 18px rgba(239, 127, 26, .28);
}

.gcv-intro__title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a3c6e;
    margin: 0 0 8px;
}

.gcv-intro__text {
    color: #6b7a99;
    font-size: .92rem;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 480px;
}

/* ── form ── */
.gcv-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    background: #f7f9fd;
    border: 1px solid #e4e9f2;
    border-radius: 10px;
    padding: 10px;
}

.gcv-input-wrap {
    position: relative;
    flex: 1 1 240px;
}

.gcv-input-wrap i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9aa7c2;
    font-size: 14px;
}

.gcv-input {
    width: 100%;
    height: 52px;
    border: 1px solid #d6deec;
    border-radius: 8px;
    padding: 0 16px 0 42px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 15px;
    color: #1c2b4a;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.gcv-input::placeholder {
    color: #aab3c9;
}

.gcv-input:focus {
    outline: none;
    border-color: #1a3c6e;
    box-shadow: 0 0 0 3px rgba(26, 60, 110, .12);
}

.gcv-btn {
    height: 52px;
    border: none;
    border-radius: 8px;
    background: #1a3c6e;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 0 28px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background .2s ease, transform .2s ease;
    flex-shrink: 0;
}

.gcv-btn:hover {
    background: #fd1616;
    transform: translateY(-1px);
}

.gcv-btn--oscit {
    background: #ef7f1a;
}

.gcv-btn--oscit:hover {
    background: #c96410;
}

/* ── inline error under form ── */
.gcv-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px 2px 0;
    font-size: 13px;
    color: #a03a2e;
}

.gcv-hint i {
    font-size: 13px;
}

/* ── official portal links (OSCIT tab) ── */
.gcv-portals {
    margin-top: 24px;
    background: #fff8ef;
    border: 1px solid #f3d9b6;
    border-left: 4px solid #ef7f1a;
    border-radius: 10px;
    padding: 18px 22px;
}

.gcv-portals__head {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 6px;
}

.gcv-portals__head i {
    color: #ef7f1a;
    font-size: 15px;
}

.gcv-portals__head h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #c96410;
    margin: 0;
}

.gcv-portals__intro {
    font-size: 13px;
    color: #7a674f;
    line-height: 1.55;
    margin: 0 0 14px;
}

.gcv-portals__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gcv-portals__list li {
    padding: 10px 0;
    border-top: 1px dashed #f0dcc0;
}

.gcv-portals__list li:first-child {
    border-top: none;
}

.gcv-portals__label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #6b7a99;
    margin-bottom: 4px;
}

.gcv-portals__list a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: .92rem;
    font-weight: 600;
    color: #ef7f1a;
    text-decoration: none;
    word-break: break-all;
    transition: color .2s ease;
}

.gcv-portals__list a:hover {
    color: #c96410;
    text-decoration: underline;
}

.gcv-portals__list a i {
    font-size: 11px;
    flex-shrink: 0;
}

/* divider "OR" between form and portals */
.gcv-or {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0 4px;
    color: #9aa7c2;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.gcv-or::before,
.gcv-or::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e4e9f2;
}



.gcv-result {
    margin-top: 26px;
}

/* status banner */
.gcv-status {
    display: flex;
    align-items: center;
    gap: 14px;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 22px;
}

.gcv-status--valid {
    background: #e8f7ee;
    border: 1px solid #b6e3c8;
}

.gcv-status--invalid {
    background: #fdecea;
    border: 1px solid #f5c4bc;
}

.gcv-status__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

.gcv-status--valid .gcv-status__icon {
    background: #1a9d54;
}

.gcv-status--invalid .gcv-status__icon {
    background: #dd4b39;
}

.gcv-status__title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 2px;
}

.gcv-status--valid .gcv-status__title {
    color: #147a41;
}

.gcv-status--invalid .gcv-status__title {
    color: #b83826;
}

.gcv-status__sub {
    font-size: 13px;
    color: #5c6b85;
    margin: 0;
}

/* certificate detail sheet */
.gcv-sheet {
    border: 1px solid #e4e9f2;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.gcv-sheet__head {
    background: linear-gradient(135deg, #1a3c6e 0%, #2a5ba4 100%);
    color: #fff;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.gcv-sheet__head i {
    font-size: 18px;
    opacity: .85;
}

.gcv-sheet__head h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: .3px;
}

.gcv-sheet__seal {
    position: absolute;
    top: 70px;
    right: 20px;
    color: rgba(26, 157, 84, .10);
    font-size: 120px;
    pointer-events: none;
    transform: rotate(-14deg);
    z-index: 0;
}

.gcv-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    position: relative;
    z-index: 1;
}

.gcv-detail {
    padding: 16px 22px;
    border-bottom: 1px solid #eef1f8;
}

.gcv-detail:nth-child(odd) {
    border-right: 1px solid #eef1f8;
}

.gcv-detail--full {
    grid-column: 1 / -1;
    border-right: none;
}

.gcv-detail__label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #9aa7c2;
    margin-bottom: 4px;
}

.gcv-detail__value {
    font-family: 'Poppins', sans-serif;
    font-size: .95rem;
    font-weight: 600;
    color: #1c2b4a;
    word-break: break-word;
}

.gcv-grade-badge {
    display: inline-block;
    background: #e8edf7;
    color: #1a3c6e;
    font-size: .8rem;
    font-weight: 700;
    border-radius: 5px;
    padding: 2px 10px;
}

.gcv-sheet__foot {
    background: #f7f9fd;
    padding: 12px 22px;
    font-size: 12px;
    color: #7a879f;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.gcv-sheet__foot i {
    color: #1a9d54;
}


.gcv-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 22px;
}

.gcv-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 24px;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.gcv-action-btn--print {
    background: #1a3c6e;
    color: #fff;
}

.gcv-action-btn--print:hover {
    background: #14305a;
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(26, 60, 110, .25);
}

.gcv-action-btn--pdf {
    background: #fff;
    color: #b83226;
    border: 1.5px solid #e6b8b2;
}

.gcv-action-btn--pdf:hover {
    background: #fdecea;
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(221, 75, 57, .18);
}

/* OSCIT notice inside a matched sheet */
.gcv-oscit {
    margin: 4px 22px 20px;
    background: #fff8ef;
    border: 1px solid #f3d9b6;
    border-left: 4px solid #ef7f1a;
    border-radius: 8px;
    padding: 16px 20px;
}

.gcv-oscit__head {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 8px;
}

.gcv-oscit__head i {
    color: #ef7f1a;
    font-size: 14px;
}

.gcv-oscit__head h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #c96410;
    margin: 0;
}

.gcv-oscit__intro {
    font-size: 13px;
    color: #7a674f;
    line-height: 1.55;
    margin: 0 0 12px;
}

.gcv-oscit__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gcv-oscit__links li {
    padding: 9px 0;
    border-top: 1px dashed #f0dcc0;
}

.gcv-oscit__links li:first-child {
    border-top: none;
}

.gcv-oscit__label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #6b7a99;
    margin-bottom: 3px;
}

.gcv-oscit__links a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: 'Poppins', sans-serif;
    font-size: .9rem;
    font-weight: 600;
    color: #ef7f1a;
    text-decoration: none;
    word-break: break-all;
    transition: color .2s ease;
}

.gcv-oscit__links a:hover {
    color: #c96410;
    text-decoration: underline;
}

.gcv-oscit__links a i {
    font-size: 11px;
    flex-shrink: 0;
}

/* print-only certificate — hidden on screen */
.gcv-print-area {
    display: none;
}

/* try-again link */
.gcv-again {
    text-align: center;
    margin-top: 22px;
}

.gcv-again a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #1a3c6e;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
}

.gcv-again a:hover {
    color: #fd1616;
}

/* ── responsive ── */
@media (max-width: 575px) {
    .gcv-panel {
        padding: 26px 18px 0;
    }

    .gcv-tab {
        font-size: 12px;
        padding: 14px 8px;
        flex-direction: column;
        gap: 4px;
    }

    .gcv-detail-grid {
        grid-template-columns: 1fr;
    }

    .gcv-detail:nth-child(odd) {
        border-right: none;
    }

    .gcv-btn {
        width: 100%;
    }
}


@media print {
    body * {
        visibility: hidden !important;
    }

    #gcv-print-area,
    #gcv-print-area * {
        visibility: visible !important;
    }

    #gcv-print-area {
        display: block !important;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }

    @page {
        margin: 18mm;
    }
}

.gcv-print-cert {
    font-family: 'Poppins', 'Nunito Sans', sans-serif;
    color: #1c2b4a;
    border: 3px double #1a3c6e;
    border-radius: 8px;
    padding: 40px 44px;
    max-width: 720px;
    margin: 0 auto;
}

.gcv-print-header {
    text-align: center;
    border-bottom: 2px solid #e4e9f2;
    padding-bottom: 18px;
    margin-bottom: 22px;
}

.gcv-print-logo {
    height: 70px;
    width: auto;
    margin-bottom: 12px;
}

.gcv-print-org {
    font-size: 22px;
    font-weight: 800;
    color: #1a3c6e;
    margin: 0 0 4px;
}

.gcv-print-tag {
    font-size: 13px;
    color: #6b7a99;
    margin: 0;
    letter-spacing: .5px;
}

.gcv-print-verified {
    text-align: center;
    margin: 0 auto 24px;
    display: inline-block;
    width: 100%;
    color: #147a41;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
}

.gcv-print-verified i {
    color: #1a9d54;
}

.gcv-print-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 26px;
}

.gcv-print-table th,
.gcv-print-table td {
    border: 1px solid #d6deec;
    padding: 11px 16px;
    font-size: 14px;
    text-align: left;
}

.gcv-print-table th {
    background: #f0f4ff;
    color: #1a3c6e;
    font-weight: 700;
    width: 38%;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .4px;
}

.gcv-print-footer {
    text-align: center;
    border-top: 2px solid #e4e9f2;
    padding-top: 16px;
}

.gcv-print-footer p {
    font-size: 12px;
    color: #6b7a99;
    margin: 0 0 6px;
}

.gcv-print-date {
    font-weight: 600;
    color: #1c2b4a;
}

.gcv-print-oscit {
    border: 1px solid #f3d9b6;
    border-left: 4px solid #ef7f1a;
    border-radius: 6px;
    background: #fff8ef;
    padding: 12px 16px;
    margin-bottom: 20px;
}

.gcv-print-oscit__title {
    font-weight: 700;
    color: #c96410;
    font-size: 13px;
    margin: 0 0 6px;
}

.gcv-print-oscit p {
    font-size: 12px;
    color: #6b5a45;
    margin: 0 0 4px;
    word-break: break-all;
}