/* ==========================
   DIRECT-APPLY FORM — page-specific styles
   Loaded by /direct-apply/index.html
   Shared form styles live in /forms.css
   ========================== */

/* ══════════ FUNDING APPLICATION FORM ══════════ */
        .app-section {
            padding: 60px 0 80px;
        }

        .app-container {
            width: min(1200px, 100%);
            margin: 0 auto;
            padding: 0 20px;
        }

        .app-step {
            display: none;
        }

        .app-step.active {
            display: block;
        }

        /* Currency input wrapper (dollar sign inside field) */
        .currency-input-wrap {
            position: relative;
            min-width: 0;
        }

        .currency-input-wrap .currency-sign {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            font-family: 'Vectora Light';
            font-size: 16px;
            color: #718096;
            pointer-events: none;
            z-index: 1;
        }

        .currency-input-wrap input {
            padding-left: 26px !important;
            width: 100%;
        }

        /* Field group (label above input) for steps 2+ */
        .field-group {
            display: flex;
            flex-direction: column;
            min-width: 0;
        }

        .field-group>.field-label {
            font-family: 'Vectora Roman';
            font-size: 15px;
            line-height: 1;
            margin-bottom: 3px;
            color: #000;
        }

        /* Debt sheet column headers (above first row only) */
        .debt-sheet-header {
            margin-bottom: 3px !important;
        }

        .debt-sheet-header .field-label {
            font-family: 'Vectora Roman';
            font-size: 15px;
            line-height: 1;
            color: #000;
        }

        /* Debt row remove button (red X) */
        .debt-row {
            position: relative;
        }

        .debt-remove-btn {
            position: absolute;
            right: -22px;
            top: 50%;
            transform: translateY(-50%);
            width: 20px;
            height: 20px;
            background: none;
            border: none;
            color: #cc4b37;
            font-size: 22px;
            line-height: 1;
            cursor: pointer;
            padding: 0;
            opacity: 0.55;
            transition: opacity 0.15s;
        }

        .debt-remove-btn:hover {
            opacity: 1;
        }

        #debtRows .debt-row:only-child .debt-remove-btn {
            display: none;
        }

        /* App form h2 + intro p (inside .application-grid) */
        .application-grid>h2 {
            font-family: 'Vectora Black';
            text-align: left;
            font-size: 35px;
            letter-spacing: -0.05em;
            color: #6ab235;
            margin-bottom: 5px;
        }

        .application-grid>p {
            font-family: 'Vectora Roman';
            font-size: 18px;
            text-align: justify;
            margin-bottom: 35px;
        }

        .app-step1-intro {
            font-family: 'Vectora Roman';
            font-size: 18px;
            text-align: left;
            margin-bottom: 28px;
        }

        /* GO BACK link */
        .go-back-link {
            display: inline-block;
            font-family: 'Vectora Roman';
            text-align: left;
            font-size: 15px;
            font-weight: 700;
            -webkit-text-stroke: 0.4px;
            color: #6ab235;
            padding: 30px 0;
            text-decoration: none;
            cursor: pointer;
        }

        .go-back-link:hover {
            color: #000;
        }

        /* Add Owner link */
        .add-owner-link {
            display: block;
            font-family: 'Vectora Roman';
            text-align: left;
            font-size: 17px;
            font-weight: 700;
            -webkit-text-stroke: 0.4px;
            color: #6ab235;
            padding: 20px 0;
            text-decoration: none;
            cursor: pointer;
        }

        .add-owner-link:hover {
            color: #000;
        }

        /* BUSINESS DEBT SHEET */
        .business-debt-sheet {
            display: none;
            padding: 30px 0 10px;
        }

        .business-debt-sheet.show {
            display: block;
        }

        .add-another {
            display: block;
            font-family: 'Vectora Roman';
            text-align: left;
            font-size: 15px;
            font-weight: 700;
            -webkit-text-stroke: 0.4px;
            color: #6ab235;
            padding: 0 0 20px 0;
            text-decoration: none;
            cursor: pointer;
        }

        .add-another:hover {
            color: #000;
        }

        .add-another.hide {
            display: none;
        }

        .debt-calculation-row {
            display: flex;
            justify-content: flex-end;
            gap: 75px;
            padding: 10px 0 10px;
        }

        .debt-calculation-row p {
            font-family: 'Vectora Roman';
            font-size: 17px;
            margin: 0;
        }

        .calculation {
            font-family: 'Vectora Bold';
            font-size: 18px;
            letter-spacing: -0.03em;
            color: #6ab235;
            font-weight: 700;
            -webkit-text-stroke: 0.3px;
        }

        /* UPLOAD FIELDS */
        .upload-group {
            display: flex;
            flex-direction: column;
            gap: 6px;
            min-width: 0;
        }

        .upload-label {
            font-family: 'Vectora Roman';
            font-size: 16px;
            font-weight: 500;
            color: #000;
        }

        .upload-minimal {
            display: block;
            width: 100%;
            cursor: pointer;
        }

        .upload-box {
            background: #f5f7fa;
            border: 0 solid #e0e6ee;
            border-radius: 6px;
            padding: 12px 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            font-family: 'Vectora Light';
            font-size: 14.5px;
            color: #798494;
            transition: all 0.2s ease;
        }

        .upload-icon {
            width: 15px;
            height: 15px;
            stroke-width: 2;
            color: #798494;
            opacity: 0.7;
        }

        .upload-minimal:hover .upload-box {
            background: #dadfe6;
            color: #000;
        }

        .upload-box.has-file {
            color: #000;
            background: #eaf5e0;
        }

        .upload-box.error {
            background: #fbeae6;
            color: #cc4b37;
        }

        .additional-docs-wrap {
            display: none;
        }

        .additional-docs-wrap.show {
            display: block;
        }

        /* Submit disclaimer */
        .submit-disclaimer {
            font-family: 'Vectora Light';
            font-size: 12px;
            text-align: justify;
            margin-top: 50px;
            margin-bottom: 30px;
        }

        .submit-disclaimer a {
            color: #6ab235;
            font-weight: 700;
            -webkit-text-stroke: 0.5px;
            text-decoration: underline;
        }

        /* Thank you page */
        .app-thank-you-page {
            max-width: 700px;
            margin: 0 auto;
            padding: 20px;
        }

        .app-thank-you-page h2 {
            font-family: 'Vectora Black';
            text-align: center;
            font-size: 42px;
            letter-spacing: -0.05em;
            color: #6ab235;
            margin-bottom: 10px;
        }

        .app-thank-you-page p {
            font-family: 'Vectora Roman';
            font-size: 17px;
            line-height: 1.7;
            text-align: center;
            margin-bottom: 35px;
        }

        .app-thank-you-page p a {
            font-weight: 700;
            -webkit-text-stroke: 0.3px;
            color: #6ab235;
            text-decoration: underline;
        }

        /* MOBILE — page-specific overrides */
        @media (max-width: 600px) {
            .debt-calculation-row {
                flex-direction: column;
                gap: 12px;
                align-items: flex-start;
            }
        }
