/* =========================================================
   REGISTER PAGE CSS
   ---------------------------------------------------------
   Redesigned to match the homepage dark theme.
   ALL class names are UNCHANGED - only visual styles updated.
   Prefix: "register-"

   Design principles applied from home.css:
   - Same dark navy/midnight background palette
   - Glass-backdrop cards (rgba + blur) matching home sections
   - Same accent colours: --accent-primary / secondary / tertiary
   - Same Space Grotesk headings, Inter body
   - Same .btn / .btn-primary / .btn-secondary button system
   - Same .form-field input styling from style.css (extended)
   - Consistent border-radius values from :root
   ========================================================= */


/* =========================================================
   PAGE HERO - matches the homepage hero feel
   ========================================================= */

.register-hero-inner {
    text-align: center;
    /* Max-width so long headings don't span the full container */
    max-width: 880px;
    margin: 0 auto;
}

/* The h1 inside .small-hero already uses style.css rules;
   we add a gradient colour treatment to make it pop */
.register-hero-inner h1 {
    background: linear-gradient(135deg,
            var(--text-primary) 0%,
            rgba(245, 247, 255, 0.72) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.register-hero-inner p {
    color: var(--text-secondary);
    max-width: 1540px;
    margin: 0 auto;
}


/* =========================================================
   GLASS SHELL - wraps the entire registration widget
   Matches the card glass treatment used in sections 3/9
   ========================================================= */

.register-shell {
    position: relative;
    overflow: hidden;
    padding: 40px;
    /* Glass layers: blue-top-right glow + purple-bottom-left glow */
    background:
        radial-gradient(circle at top right, rgba(91, 140, 255, 0.10), transparent 28%),
        radial-gradient(circle at bottom left, rgba(139, 92, 246, 0.09), transparent 28%),
        rgba(255, 255, 255, 0.045);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--shadow-strong);
}

/* Ambient glow orbs inside the shell (purely decorative) */
.register-shell::before,
.register-shell::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.14;
    pointer-events: none;
    z-index: 0;
}

.register-shell::before {
    width: 260px;
    height: 260px;
    top: -60px;
    right: -60px;
    background: var(--accent-primary);
}

.register-shell::after {
    width: 220px;
    height: 220px;
    bottom: -50px;
    left: -50px;
    background: var(--accent-secondary);
}

/* Ensure form content sits above the decorative orbs */
.register-shell>* {
    position: relative;
    z-index: 1;
}


/* =========================================================
   ALERT MESSAGES
   ========================================================= */

.register-messages {
    margin-bottom: 22px;
}

.register-alert {
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 0.92rem;
}

.register-alert-success {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.30);
    color: #a7f3d0;
}

.register-alert-error {
    background: rgba(239, 68, 68, 0.10);
    border: 1px solid rgba(239, 68, 68, 0.28);
    color: #fecaca;
}


/* =========================================================
   STEP TRACKER
   Horizontal pill row - active pill gets gradient fill
   ========================================================= */

.register-stepper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.register-step-pill {
    min-height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition-fast);
    /* Counter pill - number on left */
    gap: 8px;
}

/* Active step - gradient background, white text */
.register-step-pill.active {
    color: var(--text-primary);
    background: linear-gradient(135deg,
            rgba(91, 140, 255, 0.22) 0%,
            rgba(139, 92, 246, 0.22) 100%);
    border-color: rgba(91, 140, 255, 0.38);
    box-shadow: 0 0 18px rgba(91, 140, 255, 0.14);
}


/* =========================================================
   CARD GRID - Side-by-side layout for steps 1a and 1b
   Left: copy/explanation   Right: the form
   ========================================================= */

.register-card-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 32px;
    align-items: start;
}

.register-side-copy {
    padding: 6px 0;
}

/* The h2 inside section-heading in side copy */
.register-side-copy .section-heading h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 10px;
}

.register-muted {
    color: var(--text-secondary);
}

.register-side-form {
    padding: 0;
}


/* =========================================================
   NOTE CARDS
   Small informational boxes before the main form
   ========================================================= */

.register-note-stack {
    display: grid;
    gap: 10px;
    margin-bottom: 28px;
}

.register-note {
    padding: 13px 16px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.55;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
    /* Left accent stripe */
    border-left: 3px solid rgba(91, 140, 255, 0.40);
}

.register-note strong {
    color: var(--text-primary);
}


/* =========================================================
   VERIFIED EMAIL BANNER (appears at top of Step 2)
   ========================================================= */

.register-verified-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    margin-bottom: 28px;
    border-radius: var(--radius-md);
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.22);
}

.register-verified-banner i {
    font-size: 1.5rem;
    color: #6ee7b7;
    flex-shrink: 0;
}

.register-verified-banner strong {
    color: var(--text-primary);
    font-size: 0.95rem;
    display: block;
    margin-bottom: 2px;
}

.register-verified-banner p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.88rem;
}


/* =========================================================
   MAIN FORM
   ========================================================= */

.register-form {
    display: grid;
    gap: 20px;
}

/* Step 2 form has bigger gap between blocks */
.register-form-detailed {
    gap: 24px;
}

/* 2-column field grid inside each block */
.register-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

/* Some fields span both columns */
.register-form-field-full {
    grid-column: 1 / -1;
}

/* Conditional fields - hidden by default, shown by JS */
.register-conditional-field {
    display: none;
}

.register-conditional-field.is-visible {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

/* Readonly email input (team lead verified email) */
.register-readonly-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px 16px;
    cursor: not-allowed;
    font-size: inherit;
}

/* Inline validation error under a field */
.register-inline-error {
    margin-top: 6px;
    color: #fca5a5;
    font-size: 0.88rem;
    font-weight: 500;
}

/* Helper note below a field */
.register-field-note {
    margin-top: 7px;
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

/* Required asterisk */
.register-asterick {
    color: #f87171;
    margin-left: 3px;
}

/* Checkbox + label row */
.register-form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.5;
}

.register-form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--accent-primary);
    cursor: pointer;
}

/* Action row at bottom of form */
.register-form-actions {
    padding-top: 4px;
}

.register-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}


/* =========================================================
   FORM BLOCKS
   Each logical group (Team Lead, Team Members) is a block
   ========================================================= */

.register-block {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    /* Inner top accent line - consistent with home section cards */
    position: relative;
    overflow: hidden;
}

/* Subtle top accent rim on each block */
.register-block::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right,
            transparent 0%,
            rgba(91, 140, 255, 0.30) 50%,
            transparent 100%);
}

.register-block-header {
    margin-bottom: 22px;
}

.register-block-header h2 {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    letter-spacing: -0.02em;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.register-block-header p {
    color: var(--text-secondary);
    font-size: 0.92rem;
}


/* =========================================================
   TEAM MEMBER CARDS
   Hidden/shown by JS. Same glass style as other cards.
   ========================================================= */

.register-member-controls {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

/* Member card - hidden by default */
.register-member-card {
    display: none;
    margin-top: 20px;
    padding: 24px;
    /* Inherits .glass-backdrop from HTML class */
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.register-member-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right,
            transparent 0%,
            rgba(139, 92, 246, 0.30) 50%,
            transparent 100%);
}

.register-member-card.is-visible {
    display: block;
}

.register-member-card-header {
    margin-bottom: 18px;
}

.register-member-card-header h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}


/* =========================================================
   SUBMIT ERROR BOX
   ========================================================= */

.register-submit-error-box {
    margin-top: 4px;
    padding: 20px 22px;
    border-radius: var(--radius-md);
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.22);
    border-left: 3px solid rgba(239, 68, 68, 0.60);
}

.register-submit-error-box h3 {
    margin-bottom: 12px;
    color: #fca5a5;
    font-size: 0.95rem;
    font-weight: 700;
}

.register-submit-error-box ul {
    padding-left: 18px;
    color: #fecaca;
    font-size: 0.88rem;
}

.register-submit-error-box li+li {
    margin-top: 6px;
}


/* =========================================================
   SELECT DROPDOWN OPTION VISIBILITY
   Force light background on native option list (browser-controlled)
   ========================================================= */

select option {
    color: #111827;
    background: #ffffff;
}


/* =========================================================
   COUNTRY / STATE / CITY SELECTS
   Match the .form-field input styling from style.css
   ========================================================= */

.register-country-select,
#state,
#city {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--surface-border);
    border-radius: 14px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    /* Native arrow visibility fix on dark backgrounds */
    -webkit-appearance: auto;
    appearance: auto;
}

.register-country-select:focus,
#state:focus,
#city:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(91, 140, 255, 0.14);
}

#state:disabled,
#city:disabled {
    opacity: 0.38;
    cursor: not-allowed;
}


/* =========================================================
   PHONE INPUT WITH DIAL CODE PREFIX
   ========================================================= */

.register-phone-input-wrapper {
    display: flex;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--surface-border);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.register-phone-input-wrapper:focus-within {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(91, 140, 255, 0.14);
}

/* Dial code prefix badge */
.register-dial-code-prefix {
    padding: 14px 14px;
    background: rgba(255, 255, 255, 0.06);
    border-right: 1px solid var(--surface-border);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--accent-primary);
    white-space: nowrap;
    min-width: 58px;
    text-align: center;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Phone number input inside the wrapper */
.register-phone-input-wrapper input {
    flex: 1;
    padding: 14px 16px;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
}

.register-phone-input-wrapper input:disabled {
    opacity: 0.40;
    cursor: not-allowed;
}

.register-phone-input-wrapper input::placeholder {
    color: var(--text-muted);
}


/* =========================================================
   FILE INPUT STYLING
   Browsers expose minimal styling for file inputs - we
   enhance them visually while keeping them fully functional.
   ========================================================= */

input[type="file"] {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

input[type="file"]:hover {
    border-color: rgba(91, 140, 255, 0.40);
    background: rgba(91, 140, 255, 0.05);
}

input[type="file"]:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(91, 140, 255, 0.12);
}

/* The "Choose File" button label that browsers render */
input[type="file"]::file-selector-button {
    padding: 6px 14px;
    border-radius: 8px;
    border: none;
    background: rgba(91, 140, 255, 0.18);
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    margin-right: 12px;
    transition: background var(--transition-fast);
}

input[type="file"]::file-selector-button:hover {
    background: rgba(91, 140, 255, 0.28);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 980px) {
    .register-card-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 820px) {
    .register-shell {
        padding: 24px;
    }

    .register-block {
        padding: 20px;
    }

    .register-member-card {
        padding: 20px;
    }

    .register-stepper {
        flex-direction: column;
        gap: 8px;
    }

    .register-form-grid {
        grid-template-columns: 1fr;
    }

    .register-form-actions .btn,
    .register-actions-row .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .register-shell {
        padding: 18px;
    }

    .register-member-controls {
        flex-direction: column;
    }

    .register-member-controls .btn {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================================
   STEP 3 - PAYMENT
   Invoice + upload layout
   ========================================================= */

/* Two-column layout: invoice left, upload right */
.pay-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

@media (max-width: 980px) {
    .pay-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}


/* =========================================================
   INVOICE CARD
   ========================================================= */

.pay-invoice {
    background:
        radial-gradient(circle at top right, rgba(91, 140, 255, 0.09), transparent 50%),
        rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius-xl);
    padding: 32px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

/* Subtle top-left corner accent */
.pay-invoice::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right,
            rgba(91, 140, 255, 0.0) 0%,
            rgba(91, 140, 255, 0.55) 40%,
            rgba(139, 92, 246, 0.55) 70%,
            rgba(139, 92, 246, 0.0) 100%);
}


/* -- Header ------------------------------------------------ */
.pay-invoice-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
}

.pay-invoice-brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pay-invoice-brand-name {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.pay-invoice-year {
    color: var(--accent-primary);
}

.pay-invoice-label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.pay-invoice-badge {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.25);
    border-radius: 999px;
    padding: 4px 12px;
    white-space: nowrap;
}


/* -- Rule -------------------------------------------------- */
.pay-invoice-rule {
    height: 1px;
    background: linear-gradient(to right,
            transparent,
            rgba(255, 255, 255, 0.09) 30%,
            rgba(255, 255, 255, 0.09) 70%,
            transparent);
    margin: 0 0 24px;
}


/* -- Meta (billed to / team) ------------------------------- */
.pay-invoice-meta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.pay-invoice-meta-right {
    text-align: right;
}

.pay-invoice-meta-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.pay-invoice-meta-value {
    font-size: 0.97rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.pay-invoice-meta-sub {
    font-size: 0.82rem;
    color: var(--text-secondary);
}


/* -- Line items -------------------------------------------- */
.pay-invoice-items {
    margin-bottom: 20px;
}

.pay-invoice-items-head {
    display: flex;
    justify-content: space-between;
    font-size: 0.70rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    margin-bottom: 14px;
}

.pay-invoice-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
}

.pay-invoice-item-name {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.pay-invoice-item-desc {
    font-size: 0.80rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.pay-invoice-item-price {
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    flex-shrink: 0;
}


/* -- Total ------------------------------------------------- */
.pay-invoice-total-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    padding: 20px 0 22px;
}

.pay-invoice-total-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.pay-invoice-total-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.pay-invoice-total-amount {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.9rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    background: linear-gradient(135deg, #fff 0%, rgba(245, 247, 255, 0.72) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}


/* -- Bank note --------------------------------------------- */
.pay-invoice-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: rgba(91, 140, 255, 0.07);
    border: 1px solid rgba(91, 140, 255, 0.18);
}

.pay-invoice-note i {
    color: var(--accent-primary);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.pay-invoice-note p {
    font-size: 0.83rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
}


/* =========================================================
   UPLOAD COLUMN
   ========================================================= */

.pay-upload-heading {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.pay-upload-sub {
    font-size: 0.90rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}


/* -- Drop zone --------------------------------------------- */
.pay-dropzone {
    display: block;
    border: 1.5px dashed rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.025);
    padding: 40px 24px;
    cursor: pointer;
    text-align: center;
    transition:
        border-color var(--transition-fast),
        background var(--transition-fast);
    position: relative;
}

.pay-dropzone:hover,
.pay-dropzone--drag {
    border-color: rgba(91, 140, 255, 0.50);
    background: rgba(91, 140, 255, 0.05);
}

.pay-dropzone--has-file {
    border-color: rgba(16, 185, 129, 0.40);
    background: rgba(16, 185, 129, 0.04);
}

.pay-dropzone-inner {
    pointer-events: none;
}

.pay-dropzone-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(91, 140, 255, 0.12);
    border: 1px solid rgba(91, 140, 255, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.4rem;
    color: var(--accent-primary);
    transition: background var(--transition-fast);
}

.pay-dropzone:hover .pay-dropzone-icon,
.pay-dropzone--drag .pay-dropzone-icon {
    background: rgba(91, 140, 255, 0.22);
}

.pay-dropzone-primary {
    font-size: 0.97rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.pay-dropzone-secondary {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.pay-dropzone-browse {
    color: var(--accent-primary);
    font-weight: 600;
}

.pay-dropzone-formats {
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.03em;
}


/* -- Selected file pill ------------------------------------ */
.pay-file-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    background: rgba(16, 185, 129, 0.09);
    border: 1px solid rgba(16, 185, 129, 0.24);
    font-size: 0.88rem;
    color: #a7f3d0;
    font-weight: 500;
    margin-top: 10px;
    overflow: hidden;
}

.pay-file-pill>i {
    flex-shrink: 0;
    font-size: 1rem;
}

.pay-file-pill>span {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pay-file-remove {
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(167, 243, 208, 0.60);
    font-size: 0.9rem;
    padding: 2px 4px;
    border-radius: 4px;
    transition: color var(--transition-fast);
    line-height: 1;
}

.pay-file-remove:hover {
    color: #fca5a5;
}


/* -- Checklist --------------------------------------------- */
.pay-checklist {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: grid;
    gap: 9px;
}

.pay-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.pay-checklist li i {
    color: #6ee7b7;
    font-size: 0.88rem;
    flex-shrink: 0;
    margin-top: 2px;
}


/* -- Submit button ----------------------------------------- */
.pay-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.pay-submit-btn:disabled {
    opacity: 0.42;
    cursor: not-allowed;
    pointer-events: none;
}