/* EasyReturn - Global Styles
   All visual properties are driven by --er-* CSS custom properties.
   Tenants override :root variables in their theme.css file. */

/* ===== BASE ===== */
html, body {
    font-family: var(--er-font-family, system-ui, -apple-system, sans-serif);
    color: var(--er-text, #212529);
    background-color: var(--er-bg, #f8f9fa);
    font-size: var(--er-font-size-base, 1rem);
    line-height: var(--er-line-height, 1.5);
    letter-spacing: var(--er-letter-spacing, normal);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--er-heading-font, var(--er-font-family, system-ui, -apple-system, sans-serif));
    font-weight: var(--er-heading-weight, 600);
    letter-spacing: var(--er-heading-letter-spacing, normal);
    text-transform: var(--er-heading-transform, none);
}

h1:focus {
    outline: none;
}

/* ===== LINKS ===== */
a, .btn-link {
    color: var(--er-link-color, var(--er-primary, #0d6efd));
    text-decoration: var(--er-link-decoration, none);
}

a:hover, .btn-link:hover {
    color: var(--er-link-hover-color, var(--er-primary-hover, #0b5ed7));
    text-decoration: var(--er-link-hover-decoration, underline);
}

/* ===== BUTTONS ===== */
.btn {
    min-height: 44px;
    min-width: 44px;
    font-family: var(--er-btn-font, var(--er-font-family, system-ui, sans-serif));
    font-weight: var(--er-btn-weight, 600);
    letter-spacing: var(--er-btn-letter-spacing, normal);
    text-transform: var(--er-btn-transform, none);
    border-radius: var(--er-btn-radius, 0.375rem);
    transition: all 0.15s ease;
}

.btn-primary {
    color: var(--er-btn-primary-text, #fff);
    background-color: var(--er-primary, #0d6efd);
    border-color: var(--er-primary, #0d6efd);
    border-radius: var(--er-btn-radius, 0.375rem);
    border-width: var(--er-btn-border-width, 1px);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--er-primary-hover, #0b5ed7);
    border-color: var(--er-primary-hover, #0b5ed7);
}

.btn-outline-secondary {
    border-radius: var(--er-btn-radius, 0.375rem);
    border-color: var(--er-border-color, #dee2e6);
    color: var(--er-text, #212529);
}

.btn-outline-primary {
    border-radius: var(--er-btn-radius, 0.375rem);
    color: var(--er-primary, #0d6efd);
    border-color: var(--er-primary, #0d6efd);
}

/* Focus ring */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--er-focus-ring-color, var(--er-primary, #258cfb));
}

/* ===== FORM CONTROLS ===== */
.form-control, .form-select {
    min-height: 44px;
    font-size: var(--er-input-font-size, 1rem);
    font-family: var(--er-font-family, system-ui, sans-serif);
    background-color: var(--er-input-bg, #fff);
    color: var(--er-input-text, var(--er-text, #212529));
    border: var(--er-input-border-width, 1px) solid var(--er-input-border-color, #ced4da);
    border-radius: var(--er-input-radius, 0.375rem);
    padding: var(--er-input-padding, 0.375rem 0.75rem);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--er-input-focus-border, var(--er-primary, #86b7fe));
    box-shadow: 0 0 0 var(--er-input-focus-ring-width, 0.25rem) var(--er-input-focus-ring-color, rgba(13, 110, 253, 0.25));
    background-color: var(--er-input-bg, #fff);
}

.form-control::placeholder, .form-select::placeholder {
    color: var(--er-input-placeholder, #6c757d);
}

.form-label {
    font-weight: var(--er-label-weight, 600);
    font-size: var(--er-label-font-size, 0.875rem);
    color: var(--er-label-color, var(--er-text, #212529));
    text-transform: var(--er-label-transform, none);
    letter-spacing: var(--er-label-letter-spacing, normal);
    margin-bottom: var(--er-label-margin-bottom, 0.5rem);
}

/* Checkbox / radio theming */
.form-check-input:checked {
    background-color: var(--er-checkbox-checked-bg, var(--er-primary, #0d6efd));
    border-color: var(--er-checkbox-checked-border, var(--er-primary, #0d6efd));
}

.form-check-input {
    border-color: var(--er-input-border-color, #ced4da);
    border-radius: var(--er-checkbox-radius, 0.25em);
}

/* Form validation */
.valid.modified:not([type=checkbox]) {
    outline: 1px solid var(--er-success, #26b050);
}

.invalid {
    outline: 1px solid var(--er-danger, #e50000);
}

.validation-message {
    color: var(--er-danger, #e50000);
}

/* ===== CARDS ===== */
.card {
    background-color: var(--er-card-bg, #ffffff);
    border-radius: var(--er-card-radius, var(--er-btn-radius, 0.375rem));
    border: var(--er-card-border-width, 1px) solid var(--er-card-border-color, rgba(0,0,0,.125));
    box-shadow: var(--er-card-shadow, 0 0.125rem 0.25rem rgba(0,0,0,.075));
}

.card-body {
    padding: var(--er-card-padding, 1rem);
}

/* Selection card - used for items and methods */
.selection-card {
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    border: 2px solid transparent;
}

.selection-card:hover {
    border-color: var(--er-primary, #0d6efd);
}

.selection-card.selected {
    border-color: var(--er-primary, #0d6efd);
    box-shadow: 0 0 0 0.15rem var(--er-selection-glow, rgba(13, 110, 253, 0.15));
}

/* ===== BADGES ===== */
.badge.bg-success {
    background-color: var(--er-success, #198754) !important;
    border-radius: var(--er-badge-radius, 50rem);
    font-weight: var(--er-badge-weight, 700);
    letter-spacing: var(--er-badge-letter-spacing, normal);
    text-transform: var(--er-badge-transform, none);
}

.badge.bg-secondary {
    border-radius: var(--er-badge-radius, 50rem);
}

/* ===== ALERTS ===== */
.alert {
    border-radius: var(--er-alert-radius, var(--er-btn-radius, 0.375rem));
    border-width: var(--er-alert-border-width, 1px);
    font-size: var(--er-alert-font-size, 0.875rem);
}

/* ===== BLAZOR ERROR ===== */
.blazor-error-boundary {
    background: #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred.";
}

/* ===== MOBILE ACTION BAR ===== */
@media (max-width: 767.98px) {
    main {
        padding-bottom: 5rem;
    }
}

/* ===== LOADING SPINNER ===== */
.spinner-border {
    color: var(--er-primary, #0d6efd);
}

/* ===== SHADOW UTILITIES (tenant-overridable) ===== */
.shadow-sm {
    box-shadow: var(--er-shadow-sm, 0 0.125rem 0.25rem rgba(0,0,0,.075)) !important;
}

/* ===== PAGE TITLE HEADING (inline primary-colored headings) ===== */
[style*="color: var(--er-primary)"] {
    font-family: var(--er-heading-font, var(--er-font-family, inherit));
    font-weight: var(--er-heading-weight, 600);
    letter-spacing: var(--er-heading-letter-spacing, normal);
    text-transform: var(--er-heading-transform, none);
}

/* ===== TENANT LOGO STYLES ===== */
.tenant-logo {

}

/* ===== UTILITY CLASSES ===== */
/* Primary action button — replaces inline style="background-color: var(--er-primary)..." */
.btn-er-primary {
    color: var(--er-btn-primary-text, #fff);
    background-color: var(--er-primary, #0d6efd);
    border-color: var(--er-primary, #0d6efd);
    min-height: 48px;
}

.btn-er-primary:hover,
.btn-er-primary:focus {
    background-color: var(--er-primary-hover, #0b5ed7);
    border-color: var(--er-primary-hover, #0b5ed7);
    color: var(--er-btn-primary-text, #fff);
}

.btn-er-primary:disabled,
.btn-er-primary.disabled {
    background-color: var(--er-primary, #0d6efd);
    border-color: var(--er-primary, #0d6efd);
    opacity: 0.65;
}

/* Back / secondary action button */
.btn-er-secondary {
    min-height: 44px;
}

/* Primary-coloured text */
.text-er-primary {
    color: var(--er-primary, #0d6efd) !important;
}

/* Primary-coloured link (underlined) */
.link-er-primary {
    color: var(--er-primary, #0d6efd);
    text-decoration: underline;
}

.link-er-primary:hover {
    color: var(--er-primary-hover, #0b5ed7);
}

/* ===== IBAN INPUT ===== */
.iban-input {
    font-family: monospace;
    letter-spacing: 0.05em;
}

/* ===== RETURN FLOW PAGE LAYOUT ===== */

/* Full-width page wrapper (replaces container in return flow pages) */
.return-flow-page {
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* Content area below step indicator */
.return-flow-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 48px 80px;
    gap: 24px;
}

/* Centered card wrapper — 660px max */
.return-flow-card-wrap {
    width: 100%;
    max-width: 660px;
}

/* White rounded card */
.return-flow-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

/* Card header — desktop: 2-col grid (title+meta left, badge right)
   The HTML order is: rfc-title, rfc-meta, return-deadline-badge */
.return-flow-card-header {
    background: #fff;
    border-bottom: 1px solid var(--er-card-border-color, #e2e2e2);
    padding: 24px 40px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 16px;
    row-gap: 4px;
    align-items: center;
}

.return-flow-card-header > .rfc-title {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
}

.return-flow-card-header > .rfc-meta {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
}

/* Badge occupies col 2, spanning both rows — vertically centered */
.return-flow-card-header > .return-deadline-badge {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
}

.rfc-title {
    font-size: 20px;
    font-weight: 500;
    color: #1b1b1b;
    letter-spacing: -0.2px;
    line-height: 1.3;
    margin: 0;
}

.rfc-meta {
    font-size: 13px;
    color: #1b1b1b;
    letter-spacing: -0.13px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Card body section */
.return-flow-card-body {
    background: #fff;
    padding: 32px 40px;
}

/* Action buttons row — same max-width as card */
.return-flow-actions {
    width: 100%;
    max-width: 660px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

/* Back button — outlined, col 1 of 4 */
.btn-return-back {
    grid-column: 1;
    justify-self: start;
    width: 124px;
    height: 48px;
    border: 1px solid #777777;
    border-radius: var(--er-btn-radius, 8px);
    background: transparent;
    color: #1b1b1b;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: -0.014em;
    padding: 0 22px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.btn-return-back:hover {
    background: rgba(0, 0, 0, 0.04);
}

/* Continue button — primary / disabled, col 3-4 of 4 */
.btn-return-continue {
    grid-column: 3 / span 2;
    height: 48px;
    border: none;
    border-radius: var(--er-btn-radius, 8px);
    background: var(--er-primary, #7f193a);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: -0.014em;
    padding: 0 22px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.btn-return-continue:disabled,
.btn-return-continue[disabled] {
    background: #e2e2e2;
    color: #777777;
    cursor: default;
}

.btn-return-continue:not(:disabled):hover {
    background: var(--er-primary-hover, #6b1531);
}

/* ===== RETURN PRODUCT CARD ===== */

.return-product-card {
    border: 1px solid var(--er-card-border-color, #e2e2e2);
    border-radius: 4px;
    padding: 16px 20px;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.return-product-card.selected {
    border-color: #5a5a5a;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12);
}

.return-product-card + .return-product-card {
    margin-top: 12px;
}

/* Product row inside card */
.return-product-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Custom checkbox — 18x18px */
.return-checkbox {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border: 1px solid #777777;
    border-radius: 2px;
    background: #fff;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.return-checkbox:checked {
    background-color: var(--er-primary, #7f193a);
    border-color: var(--er-primary, #7f193a);
}

.return-checkbox:checked::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath d='M3.5 9L7 12.5L14.5 5.5' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") center/contain no-repeat;
}

.return-checkbox:focus {
}

/* Product image — 104x104px */
.return-product-image {
    flex-shrink: 0;
    width: 104px;
    height: 104px;
    border-radius: 4px;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.return-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    filter: brightness(.97);
}

.return-product-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #a6a6a6;
    font-size: 10px;
}

/* Product text info */
.return-product-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.return-product-name {
    font-size: 14px;
    font-weight: 500;
    color: #1b1b1b;
    line-height: 1.4;
    margin: 0;
}

.return-product-detail {
    font-size: 13px;
    font-weight: 400;
    color: #1b1b1b;
    line-height: 1.4;
    letter-spacing: -0.13px;
    margin: 0;
}

/* Reason/details panel — shown when selected */
.return-reason-panel {
    margin-top: 16px;
    padding-left: 38px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Label for optional additional details */
.return-details-label {
    font-size: 13px;
    font-weight: 400;
    color: #1b1b1b;
    display: block;
    margin-bottom: 8px;
    line-height: 1.4;
}

/* Additional details textarea */
.return-details-input {
    width: 100%;
    padding: 17px 12px 49px 16px;
    border: 1px solid #cbcbcb;
    border-radius: 4px;
    background: #fff;
    font-size: 13px;
    font-family: var(--er-font-family, inherit);
    color: #1b1b1b;
    line-height: 1.5;
    resize: vertical;
    min-height: 80px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07);
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    transition: border-color 0.15s;
}

.return-details-input::placeholder {
    color: #929292;
}

.return-details-input:focus {
    border-color: var(--er-input-focus-border, var(--er-primary));
    box-shadow: none;
}

/* ===== PREVIOUSLY RETURNED PRODUCTS — separate card (Figma: "Produkty zwrócone") ===== */

.prev-returns-header {
    padding: 26px 40px;
    border-radius: 8px 8px 0 0;
}

.prev-returns-titles {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.prev-returns-title {
    font-size: 20px;
    font-weight: 500;
    color: #1b1b1b;
    letter-spacing: -0.2px;
    line-height: 1.3;
    margin: 0;
}

.prev-returns-subtitle {
    font-size: 13px;
    font-weight: 400;
    color: #1b1b1b;
    letter-spacing: -0.13px;
    line-height: 1.4;
    margin: 0;
}

.prev-returns-body {
    padding: 0 40px 24px;
}

.prev-returns-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prev-returns-card {
    border: 1px solid #e2e2e2;
    border-radius: 4px;
    padding: 16px 20px;
}

.prev-returns-product-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.prev-returns-image {
    width: 104px;
    height: 104px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-returns-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    filter: brightness(.97);
}

.prev-returns-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f6f6f6;
    font-size: 11px;
    color: #777;
    text-align: center;
}

.prev-returns-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.prev-returns-name {
    font-size: 14px;
    font-weight: 500;
    color: #1b1b1b;
    line-height: 1.4;
    margin: 0;
}

.prev-returns-detail {
    font-size: 13px;
    font-weight: 400;
    color: #1b1b1b;
    letter-spacing: -0.13px;
    line-height: 1.4;
    margin: 0;
}

/* Mobile overrides */
@media (max-width: 767.98px) {
    .prev-returns-header {
        padding: 20px 16px;
    }
    .prev-returns-body {
        padding: 0 12px 20px;
    }
    .prev-returns-image {
        width: 72px;
        height: 72px;
    }
    .prev-returns-product-row {
        gap: 12px;
    }
}

/* Non-returnable section */
.return-non-returnable-header {
    font-size: 16px;
    font-weight: 400;
    color: #1b1b1b;
    letter-spacing: 0;
    line-height: 1.45;
    padding-top: 16px;
    margin: 4px 0 0;
}

.return-non-returnable-card {
    border: 1px solid var(--er-card-border-color, #e2e2e2);
    border-radius: 4px;
    padding: 16px 20px;
    background: #fff;
    margin-top: 12px;
}

.return-why-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
    font-size: 12px;
    color: #5c5c5c;
    letter-spacing: 0;
    line-height: 1.5;
}

.return-why-expand {
    background: none;
    border: none;
    padding: 0;
    font-size: 12px;
    font-family: inherit;
    color: #5c5c5c;
    letter-spacing: 0;
    line-height: 1.5;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    text-underline-position: from-font;
    cursor: pointer;
}

.return-why-info {
    padding-left: 26px;
    font-size: 12px;
    color: #5c5c5c;
    line-height: 1.5;
    letter-spacing: 0;
}

.return-why-policy {
    margin: 0 0 8px;
}

/* Deadline badge — green pill */
.return-deadline-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 24px;
    background: #d8eab1;
    color: #004000;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    flex-shrink: 0;
}

.return-deadline-badge.urgent {
    background: #fdd2d2;
    color: #ab0000;
}

/* Selected count label */
.return-selected-count {
    font-size: 14px;
    color: #1b1b1b;
    letter-spacing: -0.13px;
    white-space: nowrap;
}

/* Expired return banner */
.return-expired-banner {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 20px;
    background: #efefef;
    margin-bottom: 16px;
}

.return-expired-banner svg {
    flex-shrink: 0;
    margin-top: 1px;
}

.return-expired-banner p {
    margin: 0;
    flex: 1;
    font-size: 14px;
    color: #1b1b1b;
    line-height: 1.4;
}

/* Section title row */
.return-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.return-section-label {
    font-size: 14px;
    font-weight: 500;
    color: #1b1b1b;
    letter-spacing: -0.14px;
    line-height: 1.4;
}

/* ===== RETURN FLOW RESPONSIVE ===== */

@media (max-width: 767.98px) {
    .return-flow-content {
        padding: 0 8px 40px;
        gap: 16px;
    }

    /* Pages that keep MobileActionBar need extra bottom clearance */
    .return-flow-content.has-mobile-bar {
        padding-bottom: 100px;
    }

    /* Mobile: centered column, badge appears last (below meta) */
    .return-flow-card-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px 16px;
        gap: 4px;
        row-gap: unset;
        column-gap: unset;
    }

    .return-flow-card-header > .rfc-title,
    .return-flow-card-header > .rfc-meta,
    .return-flow-card-header > .return-deadline-badge {
        grid-column: unset;
        grid-row: unset;
        align-self: unset;
    }

    .rfc-title {
        font-size: 18px;
        letter-spacing: 0;
    }

    .rfc-meta {
        font-size: 12px;
        letter-spacing: -0.12px;
        align-items: center;
        padding-bottom: 8px;
    }

    .return-flow-card-body {
        padding: 24px 12px;
    }

    .return-product-card {
        padding: 16px 12px;
    }

    .return-flow-actions {
        display: flex;
        flex-direction: row;
        gap: 12px;
    }

    .btn-return-back {
        grid-column: unset;
        justify-self: unset;
        width: 115px;
        height: 40px;
        border-radius: 4px;
        font-size: 0.8125rem;
        letter-spacing: -0.013em;
        flex-shrink: 0;
    }

    .btn-return-continue {
        grid-column: unset;
        flex: 1;
        height: 40px;
        border-radius: 4px;
        font-size: 0.8125rem;
        letter-spacing: -0.013em;
    }

    .return-reason-panel {
        padding-left: 0;
    }

    .return-product-image {
        width: 52px;
        height: 52px;
    }

    .return-product-row {
        gap: 12px;
        align-items: flex-start;
    }

    .return-product-detail {
        font-size: 11px;
        color: #5a5a5a;
    }

    /* Section title row: top-align so the label can wrap cleanly */
    .return-section-title {
        align-items: flex-start;
    }

    /* Hide "Zaznaczono produktów:" prefix — mobile shows just "1 z 4" */
    .rsc-label {
        display: none;
    }

    main {
        padding-bottom: 0;
    }
}

@media (max-width: 479.98px) {
    .return-flow-actions {
        grid-template-columns: 80px 1fr;
    }

    .btn-return-back {
        width: 115px;
    }
}

/* ===================================================
   zwrot-02 / zwrot-03 — verification & status forms
   =================================================== */

.verify-page {
    width: 100%;
    background-color: var(--er-bg, #efefef);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 8px;
    gap: 24px;
    min-height: 100%;
}

.verify-card {
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
}

.verify-card-header {
    padding: 20px 0;
    border-bottom: 1px solid #e2e2e2;
    text-align: center;
}

.verify-card-title {
    font-size: 20px;
    font-weight: 500;
    color: #1b1b1b;
    letter-spacing: -0.2px;
    line-height: 1.3;
    margin: 0;
}

.verify-card-body {
    padding: 24px 24px 32px;
}

.verify-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 24px;
}

.verify-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.verify-label {
    font-size: 13px;
    font-weight: 400;
    color: #1b1b1b;
    letter-spacing: 0;
    line-height: 1.4;
    margin: 0;
}

.verify-input {
    width: 100%;
    padding: 17px 12px 17px 16px;
    border: 1px solid #cbcbcb;
    border-radius: var(--er-input-radius, 4px);
    background: #ffffff;
    font-size: 13px;
    font-weight: 400;
    font-family: var(--er-font-family, inherit);
    color: #1b1b1b;
    letter-spacing: 0;
    line-height: 1.5;
    outline: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07);
    -webkit-appearance: none;
    appearance: none;
    transition: border-color 0.15s;
}

.verify-input::placeholder {
    color: #929292;
}

.verify-input:focus {
    border-color: var(--er-input-focus-border, var(--er-primary, #7f193a));
    box-shadow: none;
    outline: none;
}

.verify-input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #ffffff;
}

.verify-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.verify-submit {
    width: 100%;
    height: 40px;
    background-color: var(--er-primary, #7f193a);
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    font-family: var(--er-btn-font, var(--er-font-family, inherit));
    letter-spacing: 0;
    line-height: 1.25;
    text-transform: var(--er-btn-transform, none);
    border: none;
    border-radius: var(--er-btn-radius, 4px);
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.verify-submit:hover:not(:disabled) {
    background-color: var(--er-primary-hover, #6b1531);
}

.verify-submit:focus-visible {
    outline: 2px solid var(--er-primary, #7f193a);
    outline-offset: 2px;
}

.verify-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.verify-error {
    font-size: 13px;
    color: var(--er-danger, #c62828);
    background-color: #fdecea;
    border-radius: 4px;
    padding: 10px 14px;
    line-height: 1.4;
}

.verify-status-link {
    font-size: 14px;
    font-weight: 400;
    color: #1b1b1b;
    letter-spacing: -0.14px;
    line-height: 1.4;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    text-align: center;
}

.verify-status-link:hover {
    color: #1b1b1b;
    text-decoration: underline;
}

