@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

/* ── Wrapper ─────────────────────────────────────────────────── */
.linov-devis-wrapper {
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
    border: 2px solid #F28C28;
    border-radius: 12px;
    padding: 35px 40px;
    margin: 35px 0;
    box-shadow: 0 6px 24px rgba(31, 90, 139, 0.10);
}

/* ── Header ──────────────────────────────────────────────────── */
.linov-devis-header {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.linov-devis-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #1F5A8B;
    margin: 0 0 6px;
}

.linov-devis-subtitle {
    color: #777;
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.5;
}

/* ── Grid ────────────────────────────────────────────────────── */
.linov-devis-row {
    display: flex;
    gap: 20px;
}

.linov-devis-col {
    flex: 1;
    min-width: 0;
}

.linov-devis-col--half {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
}

/* ── Field ───────────────────────────────────────────────────── */
.linov-devis-field {
    margin-bottom: 22px;
}

.linov-devis-field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #1F5A8B;
    margin-bottom: 7px;
    letter-spacing: 0.2px;
	text-align: left;
}

.linov-devis-required {
    color: #F28C28;
    margin-left: 2px;
}

.linov-devis-field input {
    width: 100%;
    padding: 11px 15px;
    border: 1.5px solid #d8e2ec;
    border-radius: 7px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #333;
    background: #fafcfe;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-sizing: border-box;
    outline: none;
}

.linov-devis-field input:focus {
    border-color: #F28C28;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(242, 140, 40, 0.15);
}

.linov-devis-field input.is-invalid {
    border-color: #e74c3c;
    background: #fff9f8;
}

/* ── Alerts ──────────────────────────────────────────────────── */
.linov-devis-alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 22px;
    font-size: 0.875rem;
    line-height: 1.6;
}

.linov-devis-alert--success {
    background: #edfaf3;
    border: 1px solid #2ecc71;
    color: #1a6b40;
}

.linov-devis-alert--error {
    background: #fff1f0;
    border: 1px solid #e74c3c;
    color: #b03a2e;
}

/* ── Submit ──────────────────────────────────────────────────── */
.linov-devis-submit {
    margin-top: 8px;
    text-align: left;
}

.linov-devis-btn {
    display: inline-block;
    background: linear-gradient(135deg, #F28C28 0%, #e07a18 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 13px 38px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 14px rgba(242, 140, 40, 0.40);
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.1s ease;
}

.linov-devis-btn:hover {
    background: linear-gradient(135deg, #1F5A8B 0%, #174d7a 100%);
    box-shadow: 0 4px 16px rgba(31, 90, 139, 0.40);
    transform: translateY(-2px);
}

.linov-devis-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(31, 90, 139, 0.30);
}

.linov-devis-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 767px) {
    .linov-devis-wrapper {
        padding: 24px 20px;
    }

    .linov-devis-row {
        flex-direction: column;
        gap: 0;
    }

    .linov-devis-col--half {
        flex: 1;
        max-width: 100%;
    }

    .linov-devis-btn {
        width: 100%;
        text-align: center;
    }
}
