:root {
    --portal-menu: #004289;
    --portal-primary: #007bff;
    --portal-selected: #007bff;
    --portal-text: #173454;
    --portal-muted: #63748f;
    --portal-bg: #eef4fb;
    --portal-surface: rgba(255, 255, 255, 0.92);
    --portal-border: rgba(0, 66, 137, 0.14);
    --portal-shadow: 0 22px 50px rgba(0, 66, 137, 0.14);
    --portal-radius: 28px;
}

html,
body {
    min-height: 100%;
    font-family: "Inter", "Segoe UI", sans-serif;
    background: linear-gradient(180deg, #eff5fd 0%, #f8fbff 42%, #eef4fb 100%);
    color: var(--portal-text);
}

body {
    margin: 0;
    position: relative;
}

body::before,
body::after {
    content: "";
    inset: 0;
    pointer-events: none;
    position: fixed;
}

body::before {
    background: #b0b8c4;
    opacity: 0.12;
}

body::after {
    background:
        radial-gradient(circle at top right, rgba(0, 123, 255, 0.18), transparent 28%),
        radial-gradient(circle at 12% 22%, rgba(0, 66, 137, 0.1), transparent 28%);
}

a {
    color: var(--portal-selected);
}

a,
.btn {
    transition: all 0.18s ease;
}

a:hover {
    color: #0064d1;
}

.portal-shell {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.portal-header {
    background: linear-gradient(135deg, rgba(0, 66, 137, 0.96), rgba(0, 123, 255, 0.9));
    box-shadow: 0 12px 40px rgba(0, 66, 137, 0.24);
}

.portal-header-inner {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 0.85rem 0;
}

.portal-brand {
    align-items: center;
    color: #fff;
    display: inline-flex;
    gap: 1rem;
    text-decoration: none;
}

.portal-brand:hover {
    color: #fff;
}

.portal-brand-mark {
    background: azure;
    border-radius: 20px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    height: 62px;
    object-fit: contain;
    padding: 0.45rem;
    width: 62px;
}

.portal-brand-title,
.portal-brand-subtitle,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Inter", "Segoe UI", sans-serif;
}

.portal-brand-title {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.portal-brand-subtitle {
    color: rgba(255, 255, 255, 0.78);
    display: block;
    font-size: 0.95rem;
}

.portal-header-actions {
    align-items: center;
    display: flex;
    gap: 0.75rem;
}

.portal-user-chip {
    align-items: center;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 0.95rem;
    font-weight: 600;
    gap: 0.55rem;
    padding: 0.75rem 1rem;
}

.portal-user-chip::before {
    background: #79d992;
    border-radius: 50%;
    content: "";
    height: 0.55rem;
    width: 0.55rem;
}

.portal-logout-button {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    font-weight: 600;
}

.portal-logout-button:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.65);
    color: #fff;
}

.portal-main {
    flex: 1;
    padding: 1.5rem 0 2.25rem;
}

.portal-content {
    max-width: 1180px;
}

.portal-footer {
    padding: 0 0 1.25rem;
}

.portal-footer-inner {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 66, 137, 0.12);
    border-radius: 28px;
    box-shadow: 0 18px 40px rgba(0, 66, 137, 0.12);
    display: grid;
    gap: 0.9rem;
    padding: 1.1rem 1.35rem;
}

.portal-footer-groups {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
    justify-content: space-between;
}

.portal-footer-group {
    display: grid;
    gap: 0.75rem;
}

.portal-footer-label {
    color: var(--portal-muted);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.portal-footer-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.portal-footer-logo-chip {
    align-items: center;
    border-radius: 18px;
    display: inline-flex;
    justify-content: center;
    min-height: 3.4rem;
    padding: 0.65rem 0.9rem;
    text-decoration: none;
}

.portal-footer-logo-chip-card {
    background: linear-gradient(135deg, rgba(0, 66, 137, 0.96), rgba(0, 123, 255, 0.9));
    box-shadow: 0 12px 24px rgba(0, 66, 137, 0.18);
}

.portal-footer-logo-chip-partner {
    background: rgba(248, 251, 255, 0.96);
    border: 1px solid rgba(0, 66, 137, 0.1);
}

.portal-footer-logo-chip[href]:hover {
    transform: translateY(-1px);
}

.portal-footer-logo {
    display: block;
    height: auto;
    max-width: 100%;
}

.portal-footer-logo-card {
    max-height: 1.25rem;
}

.portal-footer-logo-partner,
.portal-footer-logo-secure {
    max-height: 1.5rem;
}

.portal-footer-meta {
    border-top: 1px solid rgba(0, 66, 137, 0.08);
    color: var(--portal-muted);
    display: grid;
    font-size: 0.85rem;
    gap: 0.5rem;
    padding-top: 0.9rem;
}

.portal-footer-contact {
    display: grid;
    gap: 0.2rem 0;
    margin: 0;
}

.portal-footer-contact-row {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 0 0.4rem;
}

.portal-footer-contact-row dt {
    color: var(--portal-muted);
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.portal-footer-contact-row dd {
    font-size: 0.82rem;
    font-weight: 500;
    margin: 0;
}

.portal-footer-contact-row dd a {
    font-weight: 600;
    text-decoration: none;
}

.portal-footer-contact-row dd a:hover {
    text-decoration: underline;
}

.portal-footer-pib {
    font-size: 0.78rem;
    font-weight: 400;
    opacity: 0.75;
}

.portal-footer-bottom {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.85rem;
    font-weight: 600;
    gap: 0.5rem 1.25rem;
    justify-content: space-between;
}

.portal-footer-meta a,
.portal-footer-terms-link {
    font-weight: 700;
    text-decoration: none;
}

.portal-footer-terms-link:hover {
    text-decoration: underline;
}

.portal-card {
    backdrop-filter: blur(12px);
    background: var(--portal-surface);
    border: 1px solid var(--portal-border);
    border-radius: var(--portal-radius);
    box-shadow: var(--portal-shadow);
}

.portal-page-stack {
    display: grid;
    gap: 1.25rem;
}

.portal-section-card,
.portal-message-card,
.portal-state-card,
.payment-placeholder-card {
    overflow: hidden;
}

.portal-state-card,
.portal-message-card {
    text-align: center;
}

.portal-section-header {
    margin-bottom: 1rem;
}

.portal-section-eyebrow {
    color: var(--portal-primary);
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.dashboard-hero {
    background:
        linear-gradient(135deg, rgba(0, 66, 137, 0.96), rgba(0, 123, 255, 0.9)),
        #8c9bab;
    color: #fff;
}

.dashboard-hero-copy {
    color: rgba(255, 255, 255, 0.86);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 40rem;
}

.dashboard-hero-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

@keyframes dashboard-pay-glow {
    0%, 100% {
        box-shadow: 0 6px 28px rgba(0, 123, 255, 0.3), 0 0 0 0 rgba(255, 255, 255, 0.55);
    }
    50% {
        box-shadow: 0 10px 40px rgba(0, 123, 255, 0.4), 0 0 18px 4px rgba(255, 255, 255, 0.22);
    }
}

.btn-dashboard-pay {
    animation: dashboard-pay-glow 3s ease-in-out infinite;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 0.89rem 2.31rem;
}

.dashboard-pill {
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 0.8rem 1rem;
}

.dashboard-pill-danger {
    background: rgba(255, 229, 232, 0.18);
    color: #ffd7dd;
}

.dashboard-pill-warning {
    background: rgba(255, 245, 204, 0.18);
    color: #fff2c9;
}

.dashboard-pill-neutral {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
}

.summary-highlight {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    padding: 1.25rem;
}

.summary-highlight-label {
    color: rgba(255, 255, 255, 0.72);
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.55rem;
}

.summary-highlight-value {
    font-size: clamp(2.1rem, 6vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
    margin-bottom: 0.55rem;
}

.summary-highlight-copy {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
}

.summary-metrics-grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric-card {
    background: rgba(0, 66, 137, 0.03);
    border: 1px solid rgba(0, 66, 137, 0.08);
    border-radius: 22px;
    padding: 1rem;
}

.metric-card-emphasis {
    background: rgba(0, 123, 255, 0.09);
    border-color: rgba(0, 123, 255, 0.16);
}

.metric-label {
    color: var(--portal-muted);
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 0.55rem;
}

.metric-value {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.metric-value-small {
    font-size: 1.2rem;
}

.debt-list {
    display: grid;
    gap: 0.85rem;
}

.debt-list-item {
    background: rgba(248, 251, 255, 0.88);
    border: 1px solid rgba(0, 66, 137, 0.08);
    border-radius: 24px;
    padding: 1.1rem;
}

.debt-list-item-header {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.debt-list-item-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.debt-list-item-value {
    font-size: 1.15rem;
    font-weight: 700;
}

.status-badge {
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.55rem 0.8rem;
}

.status-badge-danger {
    background: #ffe6eb;
    color: #a32648;
}

.status-badge-warning {
    background: #fff2d6;
    color: #8e5a00;
}

.status-badge-success {
    background: #e4f6eb;
    color: #18704a;
}

.empty-state {
    background: rgba(0, 66, 137, 0.03);
    border: 1px dashed rgba(0, 66, 137, 0.18);
    border-radius: 24px;
    padding: 1.15rem;
}

.login-shell {
    min-height: calc(100vh - 10.75rem);
}

.password-toggle-wrapper {
    position: relative;
}

.password-toggle-wrapper .form-control {
    padding-right: 3rem;
}

.password-toggle-btn {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0.25rem;
    color: #6c757d;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    line-height: 1;
}

.password-toggle-btn:hover {
    color: #343a40;
}

.login-hero-panel {
    background:
        linear-gradient(135deg, rgba(0, 66, 137, 0.96), rgba(0, 123, 255, 0.9)),
        #8c9bab;
    color: #fff;
    height: 100%;
}

.login-hero-copy {
    color: rgba(255, 255, 255, 0.86);
    font-size: 1rem;
    line-height: 1.62;
    max-width: 36rem;
}

.login-hero-highlights {
    display: grid;
    gap: 0.85rem;
}

.highlight-item {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    display: grid;
    gap: 0.35rem;
    padding: 0.9rem 1rem;
}

.highlight-item strong {
    font-size: 1rem;
}

.highlight-item span {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.55;
}

.login-form-panel {
    height: 100%;
}

.login-form-header {
    margin-bottom: 1.1rem;
}

.login-form {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.1rem;
}

.payment-placeholder-card {
    margin-inline: auto;
    max-width: 48rem;
    text-align: center;
}

.payment-page {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.payment-page-hero {
    background:
        linear-gradient(135deg, rgba(0, 66, 137, 0.96), rgba(0, 123, 255, 0.9)),
        #8c9bab;
    color: #fff;
}

.payment-page-hero-copy {
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.62;
    max-width: 48rem;
}

.payment-amount-highlight {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 1.15rem;
}

.payment-amount-highlight-label {
    color: rgba(255, 255, 255, 0.72);
    display: block;
    font-size: 0.92rem;
    margin-bottom: 0.55rem;
}

.payment-amount-highlight-value {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 0.55rem;
}

.payment-amount-highlight-copy {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.55;
}

.payment-sidebar-stack {
    display: grid;
    gap: 1.2rem;
}

.payment-form-card,
.payment-summary-card,
.payment-card-entry-card {
    height: 100%;
}

.payment-summary-list {
    display: grid;
    gap: 0.75rem;
    margin: 0;
}

.payment-summary-list div {
    align-items: baseline;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.payment-summary-list dt {
    color: var(--portal-muted);
    font-weight: 600;
    margin: 0;
}

.payment-summary-list dd {
    font-weight: 700;
    margin: 0;
    text-align: end;
}

.payment-summary-total {
    border-top: 1px solid rgba(0, 66, 137, 0.1);
    margin-top: 0.35rem;
    padding-top: 1rem;
}

.payment-summary-total dt,
.payment-summary-total dd {
    color: var(--portal-text);
    font-size: 1.05rem;
}

.payment-summary-note {
    color: var(--portal-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-top: 1rem;
}

.payment-summary-input-row {
    border-bottom: 1px solid rgba(0, 66, 137, 0.08);
    border-top: 1px solid rgba(0, 66, 137, 0.08);
    margin: 0.9rem 0;
    padding: 0.85rem 0;
}

.payment-summary-input-label {
    display: block;
    margin-bottom: 0.45rem;
}

.payment-summary-input-group {
    align-items: center;
    display: flex;
    gap: 0.6rem;
}

.payment-summary-input-control {
    font-size: 1.05rem;
    font-weight: 700;
}

.payment-summary-input-control-invalid {
    border-color: rgba(229, 0, 0, 0.42);
}

.payment-summary-currency {
    align-items: center;
    background: rgba(0, 66, 137, 0.08);
    border-radius: 999px;
    color: var(--portal-menu);
    display: inline-flex;
    font-size: 0.88rem;
    font-weight: 700;
    min-height: 2.65rem;
    padding: 0 0.9rem;
}

.payment-summary-input-help {
    color: var(--portal-muted);
    font-size: 0.9rem;
    line-height: 1.55;
    margin-top: 0.5rem;
}

.payment-summary-list-secondary {
    margin-top: 0;
}

.payment-hosted-field {
    background: rgba(248, 251, 255, 0.95);
    border: 1px solid rgba(0, 66, 137, 0.14);
    border-radius: 16px;
    min-height: 3.3rem;
    overflow: hidden;
    padding: 0.2rem;
    max-height: 52px;
}

.payment-hosted-field-invalid {
    border-color: #e50000;
}

.card-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.1rem;
}

.card-network-badge {
    background: rgba(0, 66, 137, 0.06);
    border: 1px solid rgba(0, 66, 137, 0.12);
    border-radius: 999px;
    color: var(--portal-menu);
    display: inline-flex;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.55rem 0.85rem;
}

.card-network-badge-icon {
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 0.8rem 0.45rem 0.45rem;
}

.card-network-badge-media {
    align-items: center;
    background: linear-gradient(135deg, rgba(0, 66, 137, 0.96), rgba(0, 123, 255, 0.88));
    border-radius: 12px;
    display: inline-flex;
    justify-content: center;
    min-height: 2.3rem;
    min-width: 3rem;
    padding: 0.35rem 0.55rem;
}

.card-network-logo {
    display: block;
    height: 1.05rem;
    width: auto;
}

.card-network-badge-active {
    background: rgba(0, 123, 255, 0.14);
    border-color: rgba(0, 123, 255, 0.32);
    box-shadow: 0 10px 24px rgba(0, 123, 255, 0.14);
    color: var(--portal-primary);
}

.card-network-badge-muted {
    opacity: 0.58;
}

.payment-terms-check {
    align-items: start;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.payment-terms-check .form-check-input {
    margin-top: 0.2rem;
}

.payment-terms-block {
    border-top: 1px solid rgba(0, 66, 137, 0.08);
    padding-top: 0.9rem;
}

.payment-terms-link {
    font-weight: 600;
    text-decoration: none;
}

.payment-actions {
    display: flex;
    gap: 0.75rem;
}

.payment-unavailable-state {
    background: rgba(0, 66, 137, 0.04);
    border: 1px dashed rgba(0, 66, 137, 0.18);
    border-radius: 24px;
    padding: 1.1rem;
}

.payment-unavailable-state p {
    line-height: 1.6;
}

.payment-result-card {
    margin-inline: auto;
    max-width: 48rem;
    text-align: center;
}

.payment-result-card-success {
    border-color: rgba(24, 112, 74, 0.2);
}

.payment-result-card-error {
    border-color: rgba(163, 38, 72, 0.18);
}

.payment-result-card-cancel {
    border-color: rgba(142, 90, 0, 0.18);
}

.payment-result-summary {
    background: rgba(0, 66, 137, 0.04);
    border: 1px solid rgba(0, 66, 137, 0.08);
    border-radius: 22px;
    margin: 0 auto 1.1rem;
    max-width: 20rem;
    padding: 1rem;
}

.payment-transaction-details-card {
    background: rgba(248, 251, 255, 0.92);
    border: 1px solid rgba(0, 66, 137, 0.08);
    border-radius: 24px;
    margin-bottom: 1.1rem;
    padding: 1.1rem;
}

.payment-transaction-details-list {
    display: grid;
    gap: 0.8rem;
}

.payment-transaction-details-list div {
    align-items: baseline;
    border-bottom: 1px solid rgba(0, 66, 137, 0.08);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding-bottom: 0.8rem;
}

.payment-transaction-details-list div:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.payment-transaction-details-list dt {
    color: var(--portal-muted);
    font-weight: 600;
    margin: 0;
}

.payment-transaction-details-list dd {
    font-weight: 700;
    margin: 0;
    text-align: end;
    word-break: break-word;
}

.payment-result-query-list {
    display: grid;
    gap: 0.7rem;
    margin: 1.1rem 0;
}

.payment-result-query-item {
    align-items: center;
    background: rgba(248, 251, 255, 0.88);
    border: 1px solid rgba(0, 66, 137, 0.08);
    border-radius: 18px;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 0.8rem 0.9rem;
}

.payment-result-query-item span {
    color: var(--portal-muted);
    font-weight: 600;
}

.payment-result-query-item strong {
    word-break: break-word;
}

.payment-result-actions {
    display: flex;
    justify-content: center;
}

.payment-result-actions .btn {
    min-width: 14rem;
}

.form-label {
    color: var(--portal-text);
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.payment-placeholder-actions {
    display: flex;
    justify-content: center;
}

.btn-primary {
    background-color: var(--portal-primary);
    border-color: var(--portal-primary);
    box-shadow: 0 12px 28px rgba(0, 123, 255, 0.2);
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #006fe6;
    border-color: #006fe6;
    color: #fff;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.12rem rgba(255, 255, 255, 0.7), 0 0 0 0.28rem rgba(0, 123, 255, 0.28);
}

.form-control {
    background: rgba(248, 251, 255, 0.95);
    border: 1px solid rgba(0, 66, 137, 0.14);
    border-radius: 16px;
    min-height: 3.25rem;
    padding: 0.75rem 0.95rem;
}

.form-control.modified.valid {
    border-color: rgba(38, 176, 80, 0.42);
}

.form-control.modified.invalid {
    border-color: rgba(229, 0, 0, 0.42);
}

.form-floating > label {
    color: var(--portal-muted);
}

.alert {
    border: none;
    border-radius: 18px;
    padding: 0.9rem 1rem;
}

.alert-danger {
    background: #ffe7eb;
    color: #912742;
}

.alert-warning {
    background: #fff4d8;
    color: #8f5d00;
}

.alert-info {
    background: #e8f2ff;
    color: #134980;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
    display: block;
    font-size: 0.88rem;
    margin-top: 0.35rem;
}

.payment-provider-error-list {
    margin-top: 0.85rem;
    padding-left: 1.1rem;
}

.payment-provider-error-list li + li {
    margin-top: 0.45rem;
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

@media (max-width: 991.98px) {
    .summary-metrics-grid,
    .debt-list-item-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .portal-header-inner {
        align-items: start;
        flex-direction: column;
    }

    .portal-header-actions {
        width: 100%;
    }

    .portal-user-chip {
        flex: 1;
        justify-content: center;
    }

    .summary-metrics-grid,
    .debt-list-item-grid {
        grid-template-columns: 1fr;
    }

    .debt-list-item-header {
        align-items: start;
        flex-direction: column;
    }

    .portal-main {
        padding-top: 1.25rem;
    }

    .portal-brand-mark {
        height: 50px;
        width: 50px;
    }

    .portal-footer-inner {
        padding: 1.1rem;
    }

    .portal-footer-groups {
        flex-direction: column;
    }

    .portal-footer-group {
        width: 100%;
    }

    .payment-summary-list div,
    .payment-transaction-details-list div,
    .payment-result-query-item,
    .payment-actions {
        align-items: start;
        flex-direction: column;
    }

    .payment-summary-list div {
        align-items: baseline;
        flex-direction: row;
    }

    .payment-transaction-details-list dd {
        text-align: start;
    }

    .payment-actions > * {
        width: 100%;
    }

    .payment-result-actions .btn {
        width: 100%;
    }

    .payment-hero-order {
        order: 99;
    }
}
