:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
}

.credit-application-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.form-section {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0 0 35px 0;
    font-size: 26px;
    font-weight: 700;
    color: #111;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary);
}

.section-number {
    background: var(--primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    flex-shrink: 0;
}

.form-group {
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: #111;
    font-size: 18px;
}

.required {
    color: #dc2626;
}

.field-help {
    display: block;
    margin-top: 10px;
    font-size: 15px;
    color: #666;
    font-style: italic;
}

/* INPUTS NORMAUX */
.normal-input {
    width: 100%;
    padding: 16px 18px;
    border: 3px solid #333;
    border-radius: 8px;
    font-size: 17px;
    color: #111;
    background: #fff;
    transition: border 0.2s;
    box-sizing: border-box;
}

.normal-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

/* Textarea pour raison */
.normal-textarea {
    width: 100%;
    padding: 16px 18px;
    border: 3px solid #333;
    border-radius: 8px;
    font-size: 17px;
    color: #111;
    background: #fff;
    transition: border 0.2s;
    box-sizing: border-box;
    font-family: inherit;
    resize: vertical;
    min-height: 120px;
}

.normal-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.normal-textarea::placeholder {
    color: #9ca3af;
}

/* INPUTS TRÈS LARGES (montant, durée, salaire) */
.large-input {
    width: 100%;
    padding: 24px 22px;
    border: 4px solid #333;
    border-radius: 12px;
    font-size: 42px;
    font-weight: 700;
    color: #111;
    background: #fff;
    transition: border 0.2s;
    box-sizing: border-box;
    line-height: 1.2;
    min-height: 95px;
    letter-spacing: 1px;
}

.large-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37,99,235,0.15);
}

.large-input::placeholder {
    color: #9ca3af;
    font-weight: 500;
    font-size: 36px;
}

/* Conteneur préfixe € */
.input-with-prefix {
    position: relative;
    display: block;
}

.prefix-euro {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 42px;
    font-weight: 700;
    color: #374151;
    pointer-events: none;
    z-index: 5;
    line-height: 1;
}

.with-prefix {
    padding-left: 85px !important;
}

/* Conteneur suffixe "maanden" */
.input-with-suffix {
    position: relative;
    display: block;
}

.suffix-text {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 600;
    color: #6b7280;
    pointer-events: none;
}

.with-suffix {
    padding-right: 140px !important;
}

/* Résultats calcul */
.calculation-results {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 3px solid var(--primary);
    border-radius: 12px;
    padding: 32px;
    margin-top: 35px;
}

.calculation-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.calculation-header svg {
    color: var(--primary);
}

.calculation-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
}

.monthly-payment-box {
    text-align: center;
    background: white;
    padding: 32px;
    border-radius: 10px;
    margin-bottom: 22px;
}

.monthly-payment {
    display: block;
    font-size: 60px;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.1;
}

.payment-label {
    display: block;
    font-size: 16px;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 10px;
}

.calculation-details {
    border-top: 2px solid rgba(37,99,235,0.2);
    padding-top: 22px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid rgba(37,99,235,0.1);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 17px;
    color: #374151;
    font-weight: 500;
}

.detail-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-dark);
}

/* Bouton */
.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 22px;
    border: none;
    border-radius: 12px;
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    transition: all 0.3s;
    margin-top: 40px;
    min-height: 70px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37,99,235,0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.privacy-note {
    text-align: center;
    font-size: 14px;
    color: #6b7280;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .form-section {
        padding: 25px 18px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .large-input {
        font-size: 34px;
        min-height: 85px;
        padding: 20px 18px;
    }
    
    .prefix-euro {
        font-size: 34px;
        left: 18px;
    }
    
    .with-prefix {
        padding-left: 70px !important;
    }
    
    .large-input::placeholder {
        font-size: 30px;
    }
}