/* Location: /css/lead_capture_form.css (V2 - Refined) */

body {
    background-color: #f4f6f9;
    font-family: "Poppins", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 111vh;
    margin: 0;
    padding: 1.2rem; /* Add padding for small screens */
    box-sizing: border-box;
}

.form-container {
    background: white;
    padding: 2rem; /* Reduced padding slightly */
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    text-align: center;
    width: 100%;
    max-width: 420px; /* A slightly slimmer max-width */
}

/* --- THE FIX for logo size and spacing --- */
.logo {
    max-height: 120px; /* Control logo by height */
    width: auto;      /* Let width adjust */
    margin-bottom: 0.6rem; /* Reduced space below logo */
}

/* --- THE FIX for title size and spacing --- */
h2 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1.5rem; /* Reduced from 1.8rem */
    line-height: 1.3;
}

p {
    color: #6c757d;
    margin: 0 auto 1.5rem auto;
    max-width: 350px;
    font-size: 0.95rem; /* A touch smaller */
}

.lead-capture-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-field {
    text-align: left;
}

.lead-capture-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #495057;
}

.lead-capture-form input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
}

.lead-capture-form button {
    padding: 0.8rem;
    font-size: 1rem;
    font-weight: bold;
    color: white;
    background-color: #28a745;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 0.5rem;
}

.lead-capture-form button:hover {
    background-color: #218838;
}

/* --- THE FIX for the final remarks/consent text --- */
.consent-text {
    font-size: 0.8rem !important; /* Smaller and more forceful */
    color: #999 !important;
    margin-top: 1rem !important;
}

.error {
    color: #721c24;
    background-color: #f8d7da;
    padding: 0.75rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}