.gpa-percent-page {
    background: #f5f7fb;
    color: #172033;
}

.gpa-percent-hero {
    padding: 54px 0 42px;
    background: linear-gradient(135deg, #eff6ff, #f7f3ff);
    text-align: center;
}

.gpa-percent-hero__inner {
    max-width: 980px;
}

.gpa-percent-breadcrumb {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-bottom: 18px;
    color: #667085;
    font-size: .92rem;
}

.gpa-percent-breadcrumb a,
.gpa-percent-content a {
    color: #3156a3;
    font-weight: 800;
}

.gpa-percent-kicker,
.gpa-percent-eyebrow {
    margin: 0 0 8px;
    color: #3156a3;
    font-weight: 800;
}

.gpa-percent-hero h1 {
    margin: 0 0 14px;
    color: #172554;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.35;
}

.gpa-percent-lead {
    max-width: 820px;
    margin: auto;
    color: #475467;
    font-size: 1.1rem;
    line-height: 1.9;
}

.gpa-percent-trust-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 22px;
    color: #344054;
    font-weight: 700;
}

.gpa-percent-trust-list span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.gpa-percent-trust-list i {
    color: #3156a3;
}

.gpa-percent-tool-section {
    padding: 38px 0;
}

.gpa-percent-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 26px;
    align-items: start;
}

.gpa-percent-calculator-card,
.gpa-percent-side-card,
.gpa-percent-content > section {
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(30, 64, 175, .07);
}

.gpa-percent-calculator-card {
    padding: 28px;
}

.gpa-percent-card-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 22px;
}

.gpa-percent-card-heading h2,
.gpa-percent-side-card h2,
.gpa-percent-content h2 {
    margin: 0;
    color: #172554;
}

.gpa-percent-eyebrow {
    display: block;
}

.gpa-percent-text-button,
.gpa-percent-primary-button,
.gpa-percent-secondary-button {
    border: 0;
    border-radius: 10px;
    padding: 11px 16px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.gpa-percent-text-button,
.gpa-percent-secondary-button {
    background: #eef2ff;
    color: #3448a4;
}

.gpa-percent-text-button {
    white-space: nowrap;
}

.gpa-percent-primary-button {
    min-width: 225px;
    background: #3156a3;
    color: #fff;
}

.gpa-percent-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.gpa-percent-field {
    display: block;
    color: #344054;
    font-weight: 800;
}

.gpa-percent-field input,
.gpa-percent-field select {
    display: block;
    width: 100%;
    min-height: 48px;
    margin-top: 7px;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    padding: 12px;
    background: #fff;
    color: #172033;
    font: inherit;
}

.gpa-percent-field small {
    display: block;
    margin-top: 6px;
    color: #667085;
    font-size: .84rem;
    font-weight: 400;
    line-height: 1.6;
}

.gpa-percent-custom-field {
    max-width: calc(50% - 8px);
    margin-top: 16px;
}

.gpa-percent-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 18px 0 0;
    border: 1px solid #fde68a;
    border-radius: 10px;
    padding: 13px 14px;
    background: #fffbea;
    color: #854d0e;
    line-height: 1.8;
}

.gpa-percent-note i {
    margin-top: 4px;
}

.gpa-percent-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.gpa-percent-error {
    margin-top: 15px;
    border-radius: 9px;
    padding: 12px 14px;
    background: #fff1f2;
    color: #9f1239;
    line-height: 1.7;
}

.gpa-percent-result {
    margin-top: 20px;
    border: 1px solid #b9cdfd;
    border-radius: 15px;
    padding: 20px;
    background: #eef4ff;
}

.gpa-percent-result__main {
    text-align: center;
}

.gpa-percent-result__main span,
.gpa-percent-result__main em {
    display: block;
    color: #475467;
}

.gpa-percent-result__main strong {
    display: block;
    margin: 5px 0;
    color: #172554;
    font-size: 2.55rem;
}

.gpa-percent-result__main em {
    font-size: .88rem;
    font-style: normal;
}

.gpa-percent-result__details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.gpa-percent-result__details div {
    border: 1px solid #dbe6ff;
    border-radius: 10px;
    padding: 12px;
    background: #fff;
    text-align: center;
}

.gpa-percent-result__details span {
    display: block;
    color: #667085;
    font-size: .86rem;
}

.gpa-percent-result__details strong {
    display: block;
    margin-top: 5px;
    color: #172554;
}

.gpa-percent-result > p {
    margin: 15px 0 0;
    border-radius: 9px;
    padding: 12px;
    background: #fff;
    color: #344054;
    font-weight: 700;
    text-align: center;
}

.gpa-percent-side-card {
    position: sticky;
    top: 92px;
    padding: 24px;
}

.gpa-percent-side-card h2 {
    margin-bottom: 16px;
}

.gpa-percent-formula,
.gpa-percent-example-line {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px;
    background: #f8fafc;
    color: #172554;
    font-weight: 800;
    text-align: center;
}

.gpa-percent-side-card p {
    color: #475467;
    line-height: 1.8;
}

.gpa-percent-warning {
    border-radius: 9px;
    padding: 12px;
    background: #fffbea;
    color: #854d0e !important;
}

.gpa-percent-warning i {
    margin-left: 5px;
}

.gpa-percent-content-section {
    padding: 6px 0 70px;
}

.gpa-percent-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    align-items: start;
}

.gpa-percent-content > section {
    margin: 0;
    padding: 26px;
}

.gpa-percent-content > section h2 {
    margin-bottom: 14px;
}

.gpa-percent-content > section p,
.gpa-percent-content > section li {
    color: #475467;
    line-height: 1.95;
}

.gpa-percent-formula-box {
    margin: 18px 0;
    border-right: 4px solid #3156a3;
    border-radius: 10px;
    padding: 18px;
    background: #eef4ff;
    color: #172554;
    text-align: center;
}

.gpa-percent-table-wrap {
    direction: ltr;
    overflow-x: auto;
}

.gpa-percent-table {
    width: 100%;
    min-width: 580px;
    border-collapse: collapse;
    direction: rtl;
}

.gpa-percent-table th,
.gpa-percent-table td {
    padding: 13px;
    border-bottom: 1px solid #e5e7eb;
    text-align: right;
}

.gpa-percent-table th {
    background: #f8fafc;
    color: #344054;
}

.gpa-percent-table td strong {
    color: #3156a3;
}

.gpa-percent-check-list {
    padding-right: 24px;
}

.gpa-percent-check-list li {
    margin: 7px 0;
}

.gpa-percent-comparison-grid,
.gpa-percent-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
}

.gpa-percent-comparison-grid article {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    background: #f8fafc;
}

.gpa-percent-comparison-grid h3 {
    margin-top: 0;
    color: #253b80;
    font-size: 1.05rem;
}

.gpa-percent-faq details {
    border-bottom: 1px solid #e5e7eb;
    padding: 14px 0;
}

.gpa-percent-faq summary {
    cursor: pointer;
    color: #253b80;
    font-weight: 800;
}

.gpa-percent-faq p {
    margin-bottom: 0;
}

.gpa-percent-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gpa-percent-related-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 15px;
    background: #f8fafc;
    text-decoration: none;
}

.gpa-percent-related-card i {
    margin-top: 3px;
    color: #3156a3;
    font-size: 1.2rem;
}

.gpa-percent-related-card strong,
.gpa-percent-related-card small {
    display: block;
}

.gpa-percent-related-card strong {
    color: #253b80;
}

.gpa-percent-related-card small {
    margin-top: 5px;
    color: #667085;
    line-height: 1.6;
}

.gpa-percent-page .container,
.gpa-percent-layout,
.gpa-percent-content,
.gpa-percent-calculator-card,
.gpa-percent-content > section {
    min-width: 0;
    max-width: 100%;
}

@media (max-width: 900px) {
    .gpa-percent-layout {
        grid-template-columns: 1fr;
    }

    .gpa-percent-side-card {
        position: static;
    }

    .gpa-percent-comparison-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .gpa-percent-hero {
        padding: 38px 0 30px;
    }

    .gpa-percent-hero h1 {
        overflow-wrap: anywhere;
    }

    .gpa-percent-lead {
        font-size: 1rem;
    }

    .gpa-percent-trust-list {
        gap: 10px 14px;
        font-size: .9rem;
    }

    .gpa-percent-calculator-card,
    .gpa-percent-side-card,
    .gpa-percent-content > section {
        border-radius: 15px;
        padding: 20px;
    }

    .gpa-percent-card-heading,
    .gpa-percent-actions {
        flex-direction: column;
    }

    .gpa-percent-card-heading > *,
    .gpa-percent-actions > * {
        width: 100%;
    }

    .gpa-percent-field-grid,
    .gpa-percent-result__details,
    .gpa-percent-comparison-grid,
    .gpa-percent-related-grid {
        grid-template-columns: 1fr;
    }

    .gpa-percent-custom-field {
        max-width: 100%;
    }

    .gpa-percent-primary-button {
        min-width: 0;
    }

    .gpa-percent-content-section {
        padding-bottom: 48px;
    }
}
