:root {
    --portal-navy: #14213d;
    --portal-deep-blue: #1d2f6f;
    --portal-royal: #3152d4;
    --portal-primary: #2563eb;
    --portal-cyan: #22d3ee;
    --portal-sky: #38bdf8;
    --portal-green: #22c55e;
    --portal-mint: #67e8f9;
    --portal-ink: #101828;
    --portal-muted: #667085;
    --portal-border: rgba(148, 163, 184, .24);
    --portal-soft: rgba(255, 255, 255, .94);
    --portal-gradient: radial-gradient(circle at 88% 18%, rgba(255, 255, 255, .28), transparent 18rem), linear-gradient(135deg, var(--portal-navy) 0%, var(--portal-deep-blue) 34%, var(--portal-royal) 62%, var(--portal-cyan) 100%);
    --portal-shadow: 0 1rem 2.5rem rgba(15, 23, 42, .08);
}

.portal-page {
    color: var(--portal-ink);
}

.portal-shell,
.portal-result-wrap {
    max-width: 1160px;
}

.portal-breadcrumb {
    align-items: center;
    color: var(--portal-muted);
    display: flex;
    font-size: .82rem;
    gap: .65rem;
    margin-bottom: 1.25rem;
}

.portal-breadcrumb a {
    color: var(--portal-primary);
    font-weight: 800;
    text-decoration: none;
}

.portal-breadcrumb a:hover,
.portal-breadcrumb a:focus-visible {
    text-decoration: underline;
}

.portal-breadcrumb__separator {
    color: #94a3b8;
}

.portal-lookup-grid {
    align-items: stretch;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
}

.portal-hero,
.portal-form,
.portal-info-card,
.portal-support-card,
.portal-credit-card,
.portal-summary-item {
    border: 1px solid var(--portal-border) !important;
    box-shadow: var(--portal-shadow) !important;
}

.portal-hero {
    background: var(--portal-gradient);
    border-radius: 28px;
    color: #fff;
    min-height: 100%;
    overflow: hidden;
    position: relative;
}

.portal-hero::before,
.portal-hero::after {
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    content: '';
    pointer-events: none;
    position: absolute;
}

.portal-hero::before {
    background: rgba(103, 232, 249, .12);
    height: 18rem;
    right: -7rem;
    top: -8rem;
    width: 18rem;
}

.portal-hero::after {
    background: rgba(255, 255, 255, .05);
    bottom: -9rem;
    height: 20rem;
    left: -10rem;
    width: 20rem;
}

.portal-hero__content {
    padding: clamp(1.5rem, 4vw, 3rem);
    position: relative;
    z-index: 1;
}

.portal-eyebrow,
.portal-status-badge {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: .76rem;
    font-weight: 900;
    gap: .45rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.portal-eyebrow {
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 .75rem 1.5rem rgba(15, 23, 42, .12);
    color: var(--portal-navy);
    padding: .55rem .85rem;
}

.portal-hero__icon {
    align-items: center;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 20px;
    display: flex;
    font-size: 1.45rem;
    height: 4rem;
    justify-content: center;
    margin: 2rem 0 1.25rem;
    width: 4rem;
}

.portal-hero h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    letter-spacing: -.045em;
    line-height: 1.02;
    max-width: 15ch;
}

.portal-hero__lead {
    color: rgba(255, 255, 255, .86);
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 48ch;
}

.portal-hero__benefits {
    display: grid;
    gap: .8rem;
    list-style: none;
    margin: 1.75rem 0 0;
    padding: 0;
}

.portal-hero__benefits li {
    align-items: center;
    color: rgba(255, 255, 255, .94);
    display: flex;
    gap: .7rem;
    line-height: 1.4;
}

.portal-hero__benefits i {
    color: #bbf7d0;
    font-size: 1rem;
}

.portal-hero__note {
    align-items: flex-start;
    background: rgba(15, 23, 42, .18);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 16px;
    color: rgba(255, 255, 255, .82);
    display: flex;
    font-size: .83rem;
    gap: .65rem;
    line-height: 1.45;
    margin-top: 2rem;
    max-width: 44ch;
    padding: .8rem .9rem;
}

.portal-hero__note i {
    color: #bae6fd;
    margin-top: .1rem;
}

.portal-form {
    background: var(--portal-soft);
    border-radius: 28px;
    overflow: hidden;
    padding: clamp(1.35rem, 3vw, 2.25rem);
    position: relative;
}

.portal-form::before,
.portal-error-card::before {
    background: linear-gradient(90deg, var(--portal-green), var(--portal-mint));
    content: '';
    height: .35rem;
    inset: 0 0 auto;
    position: absolute;
}

.portal-form__intro {
    margin-bottom: 1.5rem;
}

.portal-step {
    align-items: center;
    color: var(--portal-primary);
    display: inline-flex;
    font-size: .76rem;
    font-weight: 900;
    gap: .55rem;
    letter-spacing: .04em;
    margin-bottom: .85rem;
    text-transform: uppercase;
}

.portal-step__number {
    align-items: center;
    background: #dbeafe;
    border-radius: 999px;
    color: var(--portal-primary);
    display: inline-flex;
    font-size: .78rem;
    height: 1.7rem;
    justify-content: center;
    width: 1.7rem;
}

.portal-form h2 {
    color: var(--portal-navy);
    font-size: clamp(1.45rem, 3vw, 1.9rem);
    font-weight: 900;
    letter-spacing: -.03em;
}

.portal-form__intro p {
    color: var(--portal-muted);
    line-height: 1.55;
}

.portal-field {
    margin-bottom: 1rem;
}

.portal-field__label {
    align-items: center;
    color: var(--portal-ink);
    display: flex;
    font-size: .91rem;
    font-weight: 900;
    gap: .55rem;
    margin-bottom: .5rem;
}

.portal-field__label i {
    color: var(--portal-primary);
    width: 1rem;
}

.portal-form .form-control {
    background: #f8fafc;
    border: 1px solid rgba(49, 82, 212, .18);
    border-radius: 16px;
    color: var(--portal-ink);
    min-height: 3.35rem;
    padding: .75rem 1rem;
    transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.portal-form .form-control::placeholder {
    color: #98a2b3;
}

.portal-form .form-control:focus {
    background: #fff;
    border-color: var(--portal-cyan);
    box-shadow: 0 0 0 .24rem rgba(34, 211, 238, .16), 0 .75rem 1.5rem rgba(37, 99, 235, .08);
    transform: translateY(-1px);
}

.portal-form .form-control.is-invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 .2rem rgba(239, 68, 68, .1);
}

.portal-form .form-text,
.portal-form .invalid-feedback {
    color: var(--portal-muted);
    font-size: .78rem;
    line-height: 1.45;
}

.portal-form .invalid-feedback {
    color: #b42318;
    font-weight: 700;
}

.portal-form__actions {
    margin-top: 1.35rem;
}

.portal-submit,
.portal-result-wrap .btn-success,
.portal-result-wrap .btn-primary,
.portal-error-card .btn-primary {
    align-items: center;
    background: linear-gradient(135deg, var(--portal-deep-blue) 0%, var(--portal-primary) 55%, var(--portal-cyan) 100%);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 .9rem 1.75rem rgba(37, 99, 235, .2);
    color: #fff;
    display: inline-flex;
    font-weight: 900;
    gap: .55rem;
    justify-content: center;
    min-height: 3.1rem;
    transition: box-shadow .2s ease, transform .2s ease, filter .2s ease;
}

.portal-submit:hover,
.portal-submit:focus-visible,
.portal-result-wrap .btn-success:hover,
.portal-result-wrap .btn-success:focus-visible,
.portal-result-wrap .btn-primary:hover,
.portal-result-wrap .btn-primary:focus-visible,
.portal-error-card .btn-primary:hover,
.portal-error-card .btn-primary:focus-visible {
    background: linear-gradient(135deg, var(--portal-navy) 0%, var(--portal-royal) 55%, var(--portal-sky) 100%);
    box-shadow: 0 1.1rem 2rem rgba(49, 82, 212, .28);
    color: #fff;
    filter: saturate(1.08);
    transform: translateY(-1px);
}

.portal-submit:focus-visible,
.portal-form .form-control:focus-visible,
.portal-result-wrap .btn:focus-visible,
.portal-error-card .btn:focus-visible,
.portal-breadcrumb a:focus-visible {
    outline: 3px solid rgba(34, 211, 238, .42);
    outline-offset: 3px;
}

.portal-form__privacy {
    align-items: flex-start;
    color: var(--portal-muted);
    display: flex;
    font-size: .78rem;
    gap: .55rem;
    line-height: 1.45;
    margin: 1rem 0 0;
}

.portal-form__privacy i {
    color: var(--portal-green);
    margin-top: .12rem;
}

.portal-alert {
    border-radius: 16px;
    font-size: .9rem;
}

.portal-info-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1.5rem;
}

.portal-info-card {
    background: rgba(255, 255, 255, .82);
    border-radius: 20px;
    padding: 1.25rem;
}

.portal-info-card__icon {
    align-items: center;
    background: #dbeafe;
    border-radius: 14px;
    color: var(--portal-primary);
    display: inline-flex;
    height: 2.6rem;
    justify-content: center;
    margin-bottom: .9rem;
    width: 2.6rem;
}

.portal-info-card h3 {
    color: var(--portal-navy);
    font-size: 1rem;
    font-weight: 900;
    margin-bottom: .4rem;
}

.portal-info-card p,
.portal-support-card {
    color: var(--portal-muted);
    font-size: .86rem;
    line-height: 1.55;
}

.portal-info-card p {
    margin-bottom: 0;
}

.portal-support-card {
    align-items: center;
    background: linear-gradient(135deg, rgba(219, 234, 254, .82), rgba(207, 250, 254, .72));
    border-radius: 20px;
    display: flex;
    gap: .8rem;
    margin-top: 1rem;
    padding: 1rem 1.15rem;
}

.portal-support-card i {
    color: var(--portal-primary);
    font-size: 1.1rem;
}

.portal-support-card strong {
    color: var(--portal-navy);
}

/* Consulta activa */
.portal-result-wrap {
    color: var(--portal-ink);
}

.portal-result-hero {
    align-items: center;
    background: var(--portal-gradient);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 28px;
    box-shadow: 0 1.25rem 3rem rgba(20, 33, 61, .22);
    color: #fff;
    display: flex;
    gap: 1.25rem;
    justify-content: space-between;
    overflow: hidden;
    padding: clamp(1.35rem, 3vw, 2rem);
    position: relative;
}

.portal-result-hero::after {
    background: rgba(103, 232, 249, .2);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    bottom: -5.5rem;
    content: '';
    height: 15rem;
    position: absolute;
    right: -4.5rem;
    width: 15rem;
}

.portal-result-hero > * {
    position: relative;
    z-index: 1;
}

.portal-result-hero h1 {
    font-size: clamp(1.45rem, 3vw, 2.05rem);
    font-weight: 900;
    letter-spacing: -.04em;
}

.portal-result-hero p {
    color: rgba(255, 255, 255, .84);
    line-height: 1.5;
    margin-bottom: 0;
}

.portal-status-badge {
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 .75rem 1.75rem rgba(15, 23, 42, .14);
    color: var(--portal-navy);
    padding: .55rem .8rem;
}

.portal-result-hero__meta {
    color: rgba(255, 255, 255, .72);
    font-size: .79rem;
    margin-top: .75rem;
}

.portal-result-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}

.portal-result-hero__actions .btn,
.portal-result-wrap .btn-outline-danger,
.portal-result-wrap .btn-outline-secondary {
    background: rgba(255, 255, 255, .14);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 999px;
    color: #fff;
    font-weight: 900;
}

.portal-result-hero__actions .btn:hover,
.portal-result-hero__actions .btn:focus-visible,
.portal-result-wrap .btn-outline-danger:hover,
.portal-result-wrap .btn-outline-danger:focus-visible,
.portal-result-wrap .btn-outline-secondary:hover,
.portal-result-wrap .btn-outline-secondary:focus-visible {
    background: rgba(255, 255, 255, .92);
    color: var(--portal-navy);
}

.portal-credit-card {
    background: var(--portal-soft);
    border-radius: 24px;
    overflow: hidden;
}

.portal-card-header {
    align-items: center;
    background: var(--portal-gradient);
    border: 0;
    color: #fff;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1rem 1.25rem;
}

.portal-card-header__title {
    align-items: center;
    display: flex;
    gap: .65rem;
}

.portal-card-header__title i {
    color: #bae6fd;
}

.portal-card-header__title small {
    color: rgba(255, 255, 255, .72);
    display: block;
    font-size: .72rem;
    font-weight: 700;
    margin-bottom: .15rem;
    text-transform: uppercase;
}

.portal-count-badge,
.portal-cuota-badge {
    border-radius: 999px;
    font-weight: 900;
    letter-spacing: .01em;
}

.portal-count-badge {
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(255, 255, 255, .36);
    color: var(--portal-navy);
    padding: .5rem .7rem;
}

.portal-summary-grid {
    display: grid;
    gap: .85rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 1.5rem;
}

.portal-summary-item {
    align-items: center;
    background: rgba(255, 255, 255, .94);
    border-radius: 18px;
    display: flex;
    gap: .75rem;
    min-height: 5rem;
    overflow: hidden;
    padding: .95rem;
    position: relative;
}

.portal-summary-item::before {
    background: linear-gradient(180deg, var(--portal-green), var(--portal-mint));
    content: '';
    inset: 0 auto 0 0;
    position: absolute;
    width: .25rem;
}

.portal-summary-item__icon {
    align-items: center;
    background: #eff6ff;
    border-radius: 12px;
    color: var(--portal-primary);
    display: inline-flex;
    flex: 0 0 2.25rem;
    height: 2.25rem;
    justify-content: center;
    margin-left: .2rem;
    width: 2.25rem;
}

.portal-summary-item__label {
    color: var(--portal-muted);
    display: block;
    font-size: .75rem;
    margin-bottom: .2rem;
}

.portal-summary-item strong {
    color: var(--portal-ink);
    display: block;
    font-size: 1.05rem;
    font-weight: 900;
}

.portal-summary-item--total {
    background: linear-gradient(135deg, #eff6ff, #ecfeff);
    border-color: rgba(37, 99, 235, .2) !important;
}

.portal-partial-box {
    background: linear-gradient(135deg, rgba(37, 99, 235, .07), rgba(34, 211, 238, .11));
    border: 1px solid rgba(49, 82, 212, .15) !important;
    border-radius: 20px;
    padding: 1.15rem;
}

.portal-partial-box__header {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.portal-partial-box h2,
.portal-section-title {
    color: var(--portal-navy);
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: -.02em;
}

.portal-partial-box p,
.portal-section-subtitle,
.portal-result-wrap .text-muted,
.portal-result-wrap table small {
    color: var(--portal-muted) !important;
}

.portal-partial-box p {
    font-size: .83rem;
    line-height: 1.5;
}

.portal-minimum-badge {
    background: #fff;
    border: 1px solid rgba(37, 99, 235, .14);
    border-radius: 999px;
    color: var(--portal-primary);
    font-size: .72rem;
    font-weight: 900;
    padding: .42rem .65rem;
    white-space: nowrap;
}

.portal-money-field {
    position: relative;
}

.portal-money-field__prefix {
    color: var(--portal-muted);
    font-weight: 900;
    left: 1rem;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.portal-money-field .form-control {
    padding-left: 2rem;
}

.portal-result-wrap .form-control {
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(49, 82, 212, .18);
    border-radius: 14px;
    color: var(--portal-ink);
    min-height: 2.9rem;
}

.portal-result-wrap .form-control:focus {
    border-color: var(--portal-cyan);
    box-shadow: 0 0 0 .22rem rgba(34, 211, 238, .16), 0 .75rem 1.5rem rgba(37, 99, 235, .08);
}

.portal-partial-submit {
    min-height: 2.9rem !important;
    width: 100%;
}

.portal-section-heading {
    align-items: end;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin: 1.5rem 0 .8rem;
}

.portal-section-subtitle {
    font-size: .82rem;
    margin: 0;
}

.portal-table-wrap {
    border: 1px solid var(--portal-border);
    border-radius: 18px;
    box-shadow: 0 .75rem 1.75rem rgba(15, 23, 42, .045);
    overflow: hidden;
}

.portal-result-wrap .table {
    --bs-table-hover-bg: rgba(34, 211, 238, .06);
    margin-bottom: 0;
}

.portal-result-wrap thead th {
    background: #f0f7fb !important;
    border-bottom: 1px solid var(--portal-border);
    color: var(--portal-navy);
    font-size: .72rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.portal-result-wrap tbody td {
    border-color: rgba(148, 163, 184, .16);
    color: var(--portal-ink);
    vertical-align: middle;
}

.portal-cuota-badge {
    background: rgba(56, 189, 248, .14);
    border: 1px solid rgba(34, 211, 238, .22);
    color: var(--portal-deep-blue);
    padding: .45rem .6rem;
}

.portal-table-action {
    text-align: right;
    white-space: nowrap;
}

.portal-table-action .btn {
    min-height: 2.45rem;
}

.portal-result-note {
    align-items: flex-start;
    color: var(--portal-muted);
    display: flex;
    font-size: .8rem;
    gap: .55rem;
    line-height: 1.45;
    margin-top: .85rem;
}

.portal-result-note i {
    color: var(--portal-primary);
    margin-top: .12rem;
}

.portal-empty-state {
    background: rgba(255, 255, 255, .92);
    border: 1px solid var(--portal-border);
    border-radius: 22px;
    box-shadow: var(--portal-shadow);
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.portal-empty-state__icon {
    align-items: center;
    background: #dcfce7;
    border-radius: 999px;
    color: #15803d;
    display: inline-flex;
    font-size: 1.4rem;
    height: 3.5rem;
    justify-content: center;
    margin-bottom: 1rem;
    width: 3.5rem;
}

.portal-empty-state h2 {
    color: var(--portal-navy);
    font-size: 1.25rem;
    font-weight: 900;
}

.portal-empty-state p {
    color: var(--portal-muted);
    margin: 0 auto;
    max-width: 46ch;
}

.portal-modal-icon {
    align-items: center;
    background: #fef3c7;
    border-radius: 999px;
    color: #b45309;
    display: inline-flex;
    height: 2.5rem;
    justify-content: center;
    margin-right: .55rem;
    width: 2.5rem;
}

.portal-result-wrap .modal-content {
    background: rgba(255, 255, 255, .97);
    border: 1px solid var(--portal-border);
    border-radius: 22px;
    box-shadow: 0 1rem 2.5rem rgba(15, 23, 42, .14);
}

/* Respuesta de pago */
.portal-error-page {
    align-items: center;
    background: radial-gradient(circle at top left, rgba(37, 99, 235, .1), transparent 30rem), radial-gradient(circle at top right, rgba(34, 211, 238, .14), transparent 28rem), linear-gradient(180deg, #f8fafc 0%, #eaf3f8 100%);
    color: var(--portal-ink);
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 1.5rem;
}

.portal-error-shell {
    max-width: 560px;
    width: 100%;
}

.portal-error-card {
    background: rgba(255, 255, 255, .96);
    border: 1px solid var(--portal-border);
    border-radius: 24px;
    box-shadow: var(--portal-shadow);
    overflow: hidden;
    padding: 2rem;
    position: relative;
    text-align: center;
}

.portal-error-icon {
    align-items: center;
    background: #fef3c7;
    border-radius: 999px;
    color: #b45309;
    display: inline-flex;
    font-size: 1.35rem;
    height: 3.5rem;
    justify-content: center;
    margin-bottom: 1rem;
    width: 3.5rem;
}

.portal-error-card h1 {
    color: var(--portal-navy);
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: -.03em;
}

.portal-error-card p {
    color: var(--portal-ink);
    line-height: 1.55;
}

.portal-error-card .text-muted {
    color: var(--portal-muted) !important;
    font-size: .88rem;
}

@media (max-width: 991.98px) {
    .portal-lookup-grid {
        grid-template-columns: 1fr;
    }

    .portal-hero {
        min-height: auto;
    }

    .portal-hero__content {
        padding-bottom: 2.25rem;
    }
}

@media (max-width: 767.98px) {
    .portal-shell,
    .portal-result-wrap {
        padding-bottom: 1.5rem !important;
        padding-top: 1.5rem !important;
    }

    .portal-hero,
    .portal-form,
    .portal-result-hero,
    .portal-credit-card {
        border-radius: 22px;
    }

    .portal-hero h1 {
        max-width: 16ch;
    }

    .portal-info-grid,
    .portal-summary-grid {
        grid-template-columns: 1fr;
    }

    .portal-info-card {
        padding: 1rem;
    }

    .portal-result-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .portal-result-hero__actions,
    .portal-result-hero__actions .btn {
        width: 100%;
    }

    .portal-result-hero__actions .btn {
        justify-content: center;
    }

    .portal-partial-box__header,
    .portal-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .portal-minimum-badge {
        align-self: flex-start;
    }

    .portal-table-wrap {
        border: 0;
        box-shadow: none;
        overflow: visible;
    }

    .portal-result-wrap .table,
    .portal-result-wrap .table tbody,
    .portal-result-wrap .table tr,
    .portal-result-wrap .table td {
        display: block;
        width: 100%;
    }

    .portal-result-wrap .table thead {
        border: 0;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        white-space: nowrap;
        width: 1px;
    }

    .portal-result-wrap .table tbody tr {
        background: #fff;
        border: 1px solid var(--portal-border);
        border-radius: 18px;
        box-shadow: 0 .7rem 1.4rem rgba(15, 23, 42, .045);
        margin-bottom: .85rem;
        padding: .7rem .9rem;
    }

    .portal-result-wrap .table tbody td {
        align-items: center;
        border: 0;
        display: flex;
        gap: .75rem;
        justify-content: space-between;
        min-height: 2.2rem;
        padding: .55rem 0;
        text-align: right !important;
    }

    .portal-result-wrap .table tbody td::before {
        color: var(--portal-muted);
        content: attr(data-label);
        flex: 0 0 auto;
        font-size: .73rem;
        font-weight: 900;
        letter-spacing: .03em;
        text-align: left;
        text-transform: uppercase;
    }

    .portal-result-wrap .table tbody td:first-child {
        border-bottom: 1px solid #edf2f7;
        padding-bottom: .75rem;
    }

    .portal-result-wrap .table tbody td:first-child::before {
        color: var(--portal-navy);
    }

    .portal-result-wrap .table tbody td.portal-table-action {
        display: block;
        padding-top: .85rem;
    }

    .portal-result-wrap .table tbody td.portal-table-action::before {
        display: none;
    }

    .portal-table-action .btn {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .portal-breadcrumb {
        margin-bottom: .9rem;
    }

    .portal-hero__content {
        padding: 1.4rem;
    }

    .portal-hero__icon {
        margin-top: 1.4rem;
    }

    .portal-hero h1 {
        font-size: 2rem;
    }

    .portal-hero__lead {
        font-size: .96rem;
    }

    .portal-form {
        padding: 1.25rem;
    }

    .portal-submit {
        width: 100%;
    }

    .portal-support-card {
        align-items: flex-start;
    }

    .portal-card-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .portal-count-badge {
        align-self: flex-start;
    }

    .portal-error-card {
        padding: 1.5rem 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .portal-submit,
    .portal-form .form-control {
        transition: none;
    }
}
