/* Claims Portal base styles. Vendor colors come from the --brand-* variables App.razor emits. */

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #374151;
    background: var(--brand-page-bg, #F7F8FA);
}

.cp-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.cp-header {
    background: var(--brand-header-bg, #fff);
}

.cp-header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    padding: 0 32px;
}

.cp-header-logo {
    position: absolute;
    left: 32px;
    height: 44px;
}

.cp-header-logo-text {
    position: absolute;
    left: 32px;
    font-weight: 700;
    font-size: 20px;
    color: var(--brand-heading);
}

.cp-header-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--brand-heading, #111827);
}

/* Main */
.cp-main {
    flex: 1;
    padding: 40px 16px 48px;
}

/* Stepper */
.cp-stepper {
    display: flex;
    justify-content: center;
    max-width: 680px;
    margin: 0 auto 36px;
    position: relative;
}

    .cp-stepper::before {
        content: "";
        position: absolute;
        top: 16px;
        left: 0;
        right: 0;
        height: 1px;
        background: #D1D5DB;
    }

.cp-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.cp-step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    background: #fff;
    border: 1px solid #D1D5DB;
    color: #9CA3AF;
}

.cp-step-active .cp-step-dot,
.cp-step-done .cp-step-dot {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-primary) 22%, transparent);
}

.cp-step-label {
    margin-top: 10px;
    font-size: 13px;
    color: #6B7280;
    text-align: center;
}

.cp-step-active .cp-step-label, .cp-step-done .cp-step-label {
    color: #111827;
    font-weight: 500;
}

/* Card */
.cp-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(17, 24, 39, .06), 0 6px 24px rgba(17, 24, 39, .06);
    padding: 20px;
    margin: 0 auto;
}

.cp-card-narrow {
    max-width: 740px;
}

.cp-icon-badge {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cp-icon-badge-soft {
    background: color-mix(in srgb, var(--brand-primary) 12%, #fff);
    color: var(--brand-primary-hover);
}

.cp-title {
    text-align: center;
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 600;
    color: var(--brand-heading);
}

.cp-subtitle {
    text-align: center;
    margin: 0 0 32px;
    font-size: 16px;
    color: #4B5563;
}

.cp-brand-text {
    color: var(--brand-primary-hover);
    font-weight: 500;
}

/* Forms */
.cp-field {
    margin-bottom: 8px;
}

.cp-field-spaced {
    margin-top: 18px;
}

.cp-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 15px;
    color: #1F2937;
}

.cp-label-note {
    font-weight: 400;
    font-size: 12px;
    color: #6B7280;
}

    .cp-label-note strong {
        color: #DC2626;
    }

.cp-required {
    color: #DC2626;
    margin-left: 2px;
}

.cp-help {
    font-size: 12px;
    color: #374151;
    margin: -2px 0 10px;
}

.cp-hint-error {
    font-size: 12px;
    color: #DC2626;
    margin-top: 8px;
}

.cp-input {
    width: 100%;
    height: 48px;
    padding: 0 10px;
    border: 1px solid #D1D5DB;
    border-radius: 4px;
    font: inherit;
    font-size: 14px;
    color: #374151;
    background: #fff;
}

    .cp-input:focus {
        outline: none;
        border-color: var(--brand-primary);
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-primary) 20%, transparent);
    }

    .cp-input:disabled {
        background: #F9FAFB;
    }

/* Buttons */
.cp-btn {
    height: 44px;
    border: 0;
    border-radius: 4px;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
    transition: background .15s ease;
}

.cp-btn-block {
    width: 100%;
    display: block;
    margin-top: 8px;
}

.cp-btn-primary {
    background: var(--brand-primary);
    color: #fff;
}

    .cp-btn-primary:hover:not(:disabled) {
        background: var(--brand-primary-hover);
    }

    .cp-btn-primary:disabled {
        background: color-mix(in srgb, var(--brand-primary) 45%, #fff);
        cursor: not-allowed;
    }

.cp-link {
    display: inline-block;
    margin-top: 14px;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-primary-hover);
    cursor: pointer;
}

    .cp-link:hover {
        text-decoration: underline;
    }

.cp-link-inline {
    margin: 0 0 0 6px;
    font-weight: 500;
}

/* Messages */
.cp-alert {
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 14px;
}

.cp-alert-error {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #B91C1C;
}

.cp-info-box {
    margin-top: 32px;
    padding: 14px 16px;
    border: 1px solid color-mix(in srgb, var(--brand-primary) 35%, #fff);
    border-radius: 8px;
}

.cp-info-title {
    font-size: 14px;
    color: #1E3A8A;
    margin-bottom: 4px;
}

.cp-info-box ul {
    margin: 0;
    padding-left: 14px;
}

.cp-info-box li {
    font-size: 12px;
    color: #1D4ED8;
    line-height: 1.6;
}

.cp-support {
    margin-top: 12px;
    font-size: 12px;
    color: #374151;
}

    .cp-support a {
        color: var(--brand-primary-hover);
        text-decoration: none;
        margin-left: 6px;
    }

/* Footer */
.cp-footer {
    background: var(--brand-footer-bg);
    color: var(--brand-footer-text);
    padding: 48px 16px 40px;
}

.cp-footer-inner {
    max-width: 740px;
    margin: 0 auto;
    text-align: center;
}

.cp-footer-logo {
    height: 66px;
}

.cp-footer-tagline {
    font-size: 12px;
    margin: 18px 0 28px;
    opacity: .95;
}

.cp-footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    text-align: left;
    padding-bottom: 24px;
    border-bottom: 1px solid color-mix(in srgb, var(--brand-footer-text) 15%, transparent);
}

.cp-footer-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 48px;
}

.cp-footer-group-title {
    font-weight: 600;
    font-size: 14px;
}

.cp-footer-group a {
    color: var(--brand-footer-text);
    text-decoration: none;
    font-size: 12px;
    opacity: .9;
}

    .cp-footer-group a:hover {
        opacity: 1;
        text-decoration: underline;
    }

.cp-footer-copyright {
    font-size: 12px;
    text-align: left;
    margin-top: 20px;
}

/* Blazor reconnect / error */
#blazor-error-ui {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 16px;
    background: #FEF3C7;
    color: #92400E;
    z-index: 1000;
}

    #blazor-error-ui .reload {
        margin-left: 8px;
    }

@media (max-width: 640px) {
    .cp-header-inner {
        flex-direction: column;
        gap: 8px;
        padding: 14px 16px;
    }

    .cp-header-logo, .cp-header-logo-text {
        position: static;
        height: 36px;
    }

    .cp-header-title {
        font-size: 22px;
    }

    .cp-step-label {
        font-size: 11px;
    }

    .cp-footer-group {
        padding-left: 0;
    }
}

/* ---- Step 2: append to the end of wwwroot/css/portal.css ---- */
.cp-center {
    text-align: center;
}

.cp-muted {
    color: #6B7280;
}

.cp-icon-badge-pink {
    background: #EC4899;
    color: #fff;
    border-radius: 14px;
    width: 64px;
    height: 64px;
}

.cp-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 4px;
    margin: 8px 0 16px;
    background: #EEF1F6;
    border-radius: 10px;
}

.cp-tab {
    height: 40px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #1F2937;
    cursor: pointer;
}

.cp-tab-active {
    background: #fff;
    box-shadow: 0 1px 2px rgba(17, 24, 39, .08);
}

.cp-count {
    display: inline-block;
    min-width: 20px;
    margin-left: 6px;
    padding: 1px 7px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    background: #E5E7EB;
    color: #4B5563;
}

.cp-count-brand {
    background: var(--brand-primary);
    color: #fff;
}

.cp-list-item {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    padding: 16px 20px;
    text-align: left;
    font: inherit;
    color: #111827;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease;
}

    .cp-list-item:hover:not(:disabled):not(.cp-list-static) {
        border-color: var(--brand-primary);
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-primary) 15%, transparent);
    }

    .cp-list-item:disabled {
        cursor: not-allowed;
        opacity: .6;
    }

.cp-list-static {
    cursor: default;
}

.cp-list-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.cp-list-sub {
    margin: 6px 0;
    font-size: 14px;
    font-weight: 500;
}

.cp-list-date {
    font-size: 13px;
    color: #4B5563;
}

.cp-pill {
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.cp-pill-blue {
    background: #E0EDFF;
    color: #1D4ED8;
}

.cp-pill-green {
    background: #DCFCE7;
    color: #15803D;
}

.cp-pill-red {
    background: #FEE2E2;
    color: #B91C1C;
}

.cp-pill-gray {
    background: #F3F4F6;
    color: #4B5563;
}

.cp-empty {
    padding: 28px 16px;
    text-align: center;
    font-size: 14px;
    color: #6B7280;
    border: 1px dashed #D1D5DB;
    border-radius: 10px;
}

/* ---- Step 3 / 4 ---- */
h1:focus, h1:focus-visible {
    outline: none;
}
/* FocusOnNavigate puts focus on the h1 for screen readers - no box */

.cp-back {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
}

    .cp-back:hover {
        text-decoration: underline;
    }

.cp-section-title {
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

.cp-summary {
    margin-bottom: 20px;
}

.cp-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
    font-size: 14px;
}

    .cp-summary-grid .cp-muted {
        font-size: 13px;
        margin-bottom: 2px;
    }

.cp-label-sm {
    font-size: 14px;
    margin-bottom: 2px;
}

.cp-help-below {
    margin: 6px 0 0;
}

.cp-option-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.cp-option {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 16px;
    text-align: left;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    color: #1F2937;
    background: #fff;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    cursor: pointer;
}

    .cp-option:hover:not(:disabled) {
        border-color: var(--brand-primary);
    }

.cp-option-selected {
    border: 2px solid var(--brand-primary);
    padding: 0 15px;
}

.cp-radio {
    width: 18px;
    height: 18px;
    flex: none;
    border: 1.5px solid #9CA3AF;
    border-radius: 50%;
}

.cp-radio-on {
    border: 5px solid var(--brand-primary);
}

.cp-textarea {
    height: 180px;
    padding: 10px;
    resize: vertical;
    line-height: 1.5;
}

.cp-input-prefix {
    position: relative;
}

    .cp-input-prefix > span {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: #6B7280;
        font-size: 14px;
    }

    .cp-input-prefix > .cp-input {
        padding-left: 26px;
    }

select.cp-input {
    appearance: auto;
}

.cp-upload-block {
    margin-top: 18px;
}

.cp-dropzone {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 22px 16px;
    text-align: center;
    font-size: 14px;
    color: #374151;
    border: 1px dashed #CBD5E1;
    border-radius: 6px;
    cursor: pointer;
}

    .cp-dropzone:hover {
        border-color: var(--brand-primary);
        background: color-mix(in srgb, var(--brand-primary) 4%, #fff);
    }

    .cp-dropzone input[type=file] {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer;
    }

.cp-dropzone-icon {
    font-size: 26px;
    color: #6B7280;
    line-height: 1;
}

.cp-requirements {
    align-self: stretch;
    margin-top: 10px;
    text-align: left;
    font-size: 13px;
}

    .cp-requirements ul {
        margin: 6px 0 0;
        padding-left: 18px;
        color: #4B5563;
        font-size: 12px;
        line-height: 1.7;
    }

.cp-file {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    padding: 10px 14px;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
}

.cp-file-icon {
    font-size: 16px;
}

.cp-file-info {
    flex: 1;
    min-width: 0;
}

.cp-file-name {
    font-size: 14px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cp-file-size {
    font-size: 12px;
    color: #6B7280;
}

.cp-file-remove {
    border: 0;
    background: none;
    font-size: 16px;
    color: #6B7280;
    cursor: pointer;
}

    .cp-file-remove:hover:not(:disabled) {
        color: #B91C1C;
    }

.cp-attest {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    padding: 16px;
    font-size: 13px;
    line-height: 1.6;
    color: #DC2626;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    cursor: pointer;
}

    .cp-attest input {
        margin-top: 3px;
        width: 16px;
        height: 16px;
        flex: none;
    }

.cp-attest-note {
    margin: 10px 2px 0;
    font-size: 13px;
    color: #D97706;
}

.cp-icon-badge-success {
    background: #14B8A6;
    color: #fff;
    border-radius: 14px;
    width: 64px;
    height: 64px;
}

.cp-ticket {
    margin: 8px 0 18px;
    padding: 22px 16px;
    text-align: center;
    font-size: 15px;
    border: 2px solid color-mix(in srgb, var(--brand-primary) 40%, #fff);
    border-radius: 10px;
}

.cp-ticket-num {
    margin-top: 6px;
    font-size: 30px;
    font-weight: 700;
    color: var(--brand-primary-hover);
    letter-spacing: .5px;
}

.cp-panel {
    margin-bottom: 16px;
    padding: 18px 22px;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    font-size: 15px;
}

.cp-panel-title {
    margin-bottom: 10px;
    font-weight: 600;
    color: #111827;
}

.cp-panel p {
    margin: 0 0 6px;
}

.cp-panel ul {
    margin: 0;
    padding-left: 18px;
    line-height: 1.8;
}

.cp-steps-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .cp-steps-list li {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        margin-bottom: 14px;
        font-size: 13px;
    }

.cp-step-num {
    width: 30px;
    height: 30px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #E5E7EB;
    font-weight: 600;
}

.cp-done {
    color: #15803D;
    font-size: 12px;
    margin-top: 2px;
}

.cp-button-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 8px;
}

.cp-btn-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.cp-btn-secondary {
    background: #fff;
    color: var(--brand-primary-hover);
    border: 1px solid color-mix(in srgb, var(--brand-primary) 45%, #fff);
}

    .cp-btn-secondary:hover {
        background: color-mix(in srgb, var(--brand-primary) 6%, #fff);
    }

@media (max-width: 640px) {
    .cp-option-grid, .cp-summary-grid, .cp-button-row {
        grid-template-columns: 1fr;
    }
}

/* ---- Extended warranty claim form ---- */
.cp-notice {
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.55;
    color: #92400E;
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    border-radius: 8px;
    margin-bottom: 16px;
}

    .cp-notice a {
        color: inherit;
        font-weight: 600;
    }

.cp-alert-warning {
    background: #FFF7ED;
    border: 1px solid #FDBA74;
    color: #9A3412;
}

.cp-alert-info {
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    color: #1E40AF;
}

.cp-option-tall {
    align-items: flex-start;
    padding-top: 14px;
    padding-bottom: 14px;
}

    .cp-option-tall .cp-radio {
        margin-top: 2px;
    }

.cp-option-name {
    display: block;
}

.cp-option-desc {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
    color: #6B7280;
}

.cp-field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 14px;
    margin-top: 10px;
}

.cp-field-grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.cp-field-grid-tight {
    margin-top: 0;
    gap: 0 10px;
}

.cp-span-2 {
    grid-column: span 2;
}

.cp-field-grid .cp-label-sm {
    display: block;
    margin-bottom: 4px;
    font-weight: 500;
}

@media (max-width: 640px) {
    .cp-field-grid, .cp-field-grid-3 {
        grid-template-columns: 1fr;
    }

    .cp-span-2 {
        grid-column: auto;
    }
}

/* ---- Claim start (Shipping vs Extended Warranty) ---- */
.cp-choice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 8px;
}

.cp-choice {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 28px 20px 24px;
    text-align: center;
    text-decoration: none;
    color: #111827;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

    .cp-choice:hover {
        border-color: var(--brand-primary);
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-primary) 15%, transparent);
        transform: translateY(-1px);
    }

.cp-choice-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--brand-primary-hover);
    background: color-mix(in srgb, var(--brand-primary) 12%, #fff);
}

.cp-choice-title {
    font-size: 18px;
    font-weight: 600;
}

.cp-choice-desc {
    font-size: 14px;
    line-height: 1.5;
    color: #4B5563;
    flex-grow: 1;
}
/* fills the space so buttons line up */
.cp-choice-cta {
    margin-top: 6px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: var(--brand-primary);
    border-radius: 6px;
}

.cp-choice:hover .cp-choice-cta {
    background: var(--brand-primary-hover);
}

/* ---- Footer: Powered by Clear Warranty ---- */
.cp-footer {
    padding: 0;
}

.cp-footer-wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 48px 24px 0;
}

.cp-footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 0.8fr;
    gap: 40px;
    padding-bottom: 36px;
}

.cp-footer-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: .65;
    margin-bottom: 8px;
}

.cp-footer-wordmark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--brand-footer-text);
    text-decoration: none;
}
/* Icon sits on a small white tile so it reads on any vendor's footer color */
.cp-footer-icon {
    width: 34px;
    height: 34px;
    padding: 4px;
    object-fit: contain;
    /*background: #fff;*/
    border-radius: 8px;
}

.cp-footer-blurb {
    margin: 14px 0 0;
    max-width: 340px;
    font-size: 13px;
    line-height: 1.6;
    opacity: .75;
}

.cp-footer-heading {
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    opacity: .65;
}

.cp-footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
}

    .cp-footer-list li {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .cp-footer-list svg {
        flex: none;
        opacity: .75;
    }

    .cp-footer-list a, .cp-footer-bottom a {
        color: var(--brand-footer-text);
        text-decoration: none;
    }

        .cp-footer-list a:hover, .cp-footer-bottom a:hover {
            text-decoration: underline;
            text-underline-offset: 3px;
        }

.cp-footer-links-list a {
    opacity: .9;
}

.cp-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 24px;
    padding: 18px 0 22px;
    font-size: 12px;
    border-top: 1px solid color-mix(in srgb, var(--brand-footer-text) 16%, transparent);
    opacity: .8;
}

.cp-footer-secure {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cp-footer-sep {
    opacity: .45;
}

@media (max-width: 800px) {
    .cp-footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .cp-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 520px) {
    .cp-footer-top {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 640px) {
    .cp-choice-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- SMS opt-in checkbox (append to wwwroot/css/portal.css) ---- */
.cp-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.55;
    color: #4B5563;
    cursor: pointer;
}

    .cp-checkbox input {
        flex: none;
        width: 16px;
        height: 16px;
        margin-top: 3px;
        accent-color: var(--brand-primary);
        cursor: pointer;
    }