/* =====================================================================
   Arrtha Motors – Vehicle Finance Page Stylesheet
   Matches Reference: Clean 2x2 Form Layout with Automotive Accents
   ===================================================================== */

.fin-page-wrap {
    background-color: #f8fafc;
    min-height: 100vh;
}

/* ---------- Breadcrumb Bar ---------- */
.fin-breadcrumb-bar {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 14px 0;
    font-size: 14px;
}

.fin-breadcrumb-bar a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.fin-breadcrumb-bar a:hover {
    color: rgb(171, 23, 231);
}

.fin-breadcrumb-bar .sep {
    margin: 0 10px;
    color: #cbd5e1;
}

.fin-breadcrumb-bar .active {
    color: rgb(171, 23, 231);
    font-weight: 600;
}

/* ---------- Main Form Section (Exact Match to Reference) ---------- */
.fin-form-section {
    padding: 60px 0 80px;
    background: #ffffff;
}

.fin-header-block {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 48px;
}

.fin-main-title {
    font-size: 42px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.fin-main-title .highlight-red {
    color: #e52d27;
    position: relative;
    display: inline-block;
}

.fin-main-subtitle {
    font-size: 16px;
    color: #64748b;
    line-height: 1.65;
    margin: 0 auto;
    max-width: 760px;
}

/* ---------- Form Box (2x2 Grid) ---------- */
.fin-form-card {
    max-width: 840px;
    margin: 0 auto;
    background: #ffffff;
    padding: 10px 15px;
}

.fin-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 28px;
}

.fin-form-group {
    display: flex;
    flex-direction: column;
}

.fin-form-label {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.fin-form-label .req {
    color: #ef4444;
}

.fin-input,
.fin-select {
    width: 100%;
    height: 48px;
    padding: 10px 16px;
    font-size: 15px;
    color: #0f172a;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    transition: all 0.2s ease-in-out;
    outline: none;
    font-family: inherit;
}

.fin-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
    padding-right: 40px;
    cursor: pointer;
}

.fin-input::placeholder {
    color: #94a3b8;
    font-size: 14.5px;
}

.fin-input:focus,
.fin-select:focus {
    border-color: #e52d27;
    box-shadow: 0 0 0 3px rgba(229, 45, 39, 0.12);
}

.fin-form-action {
    text-align: center;
    margin-top: 36px;
}

.fin-submit-btn {
    background-color: rgb(171, 24, 231);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 48px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(171, 24, 231, 0.35);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.fin-submit-btn:hover {
    background-color: rgb(147, 20, 201);
    box-shadow: 0 6px 20px rgba(171, 24, 231, 0.45);
    transform: translateY(-2px);
    color: #ffffff;
}

.fin-submit-btn:active {
    background-color: rgb(123, 16, 169);
    transform: translateY(0);
}

/* ---------- Flash Messages ---------- */
.fin-alert {
    max-width: 840px;
    margin: 0 auto 30px;
    padding: 16px 22px;
    border-radius: 8px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.fin-alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.fin-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

/* ---------- Finance Benefits Section ---------- */
.fin-benefits-section {
    padding: 70px 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.fin-section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 50px;
}

.fin-section-tag {
    display: inline-block;
    background: rgba(171, 24, 231, 0.1);
    color: rgb(171, 24, 231);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.fin-section-title {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}

.fin-benefit-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    height: 100%;
    transition: all 0.3s ease;
}

.fin-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.fin-benefit-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}

.fin-icon-red {
    background: #fef2f2;
    color: #e52d27;
}

.fin-icon-purple {
    background: rgba(171, 24, 231, 0.1);
    color: rgb(171, 24, 231);
}

.fin-icon-blue {
    background: #eff6ff;
    color: #2563eb;
}

.fin-icon-green {
    background: #ecfdf5;
    color: #059669;
}

.fin-benefit-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.fin-benefit-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* ---------- Banking Partners Strip ---------- */
.fin-partners-section {
    padding: 50px 0;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.fin-partners-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 1.5px;
    margin-bottom: 30px;
}

.fin-partners-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px 28px;
}

.fin-partner-badge {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    padding: 8px 20px;
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.fin-partner-badge:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.fin-partner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
}

/* ---------- Help Card Banner ---------- */
.fin-help-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 16px;
    padding: 40px;
    color: #ffffff;
    margin-top: 60px;
}

.fin-help-title {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
}

.fin-help-desc {
    font-size: 15px;
    color: #94a3b8;
    margin-bottom: 0;
}

.fin-help-btn {
    background: #e52d27;
    color: #ffffff;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.fin-help-btn:hover {
    background: #cc1e18;
    color: #ffffff;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .fin-form-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .fin-main-title {
        font-size: 30px;
    }

    .fin-form-section {
        padding: 40px 0 60px;
    }

    .fin-submit-btn {
        width: 100%;
    }
}