@charset "UTF-8";
/* CSS Document *//* ===== Modern Form Styling ===== */


body {
    margin: 0;
    padding: 40px 20px;
    background: #f5f7fb;
    font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
    color: #000000;
}

/* Main Form Container */
#WebToLeadForm table {
    width: 100% !important;
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff !important;
    border: none !important;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    border-spacing: 0 !important;
    padding: 0 !important;
}

/* Header */
#WebToLeadForm h2 {
    margin: 0;
    padding: 32px 20px;
    background: linear-gradient(
        135deg,
    );
    color: #000000;
    font-size: 2rem;
    font-weight: 700;
}

/* Intro Text */
#WebToLeadForm td[colspan="4"] {
    line-height: 1.7;
}

/* Table Rows */
#WebToLeadForm tr {
    border-bottom: 1px solid #f1f5f9;
}

#WebToLeadForm td {
    padding: 14px 18px;
    vertical-align: top;
    color: #000000;
    font-size: 14px !important;
}

/* Labels */
#WebToLeadForm td:first-child span {
    font-weight: 600;
    color: #000000;
}

/* Inputs */
#WebToLeadForm input[type="text"],
#WebToLeadForm input[type="email"],
#WebToLeadForm input[type="tel"],
#WebToLeadForm textarea,
#WebToLeadForm select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cccccc;
    border-radius: 10px;
    background: white;
    font-size: 14px;
    transition: all .25s ease;
    box-sizing: border-box;
}

/* Focus State */
#WebToLeadForm input:focus,
#WebToLeadForm textarea:focus,
#WebToLeadForm select:focus {
    outline: none;
    border-color: #f46d4f;
    box-shadow: 0 0 0 4px rgba(37,99,235,0.15);
}

/* Textareas */
#WebToLeadForm textarea {
    resize: vertical;
    min-height: 100px;
}

/* Multi-selects */
#WebToLeadForm select[multiple] {
    min-height: 140px;
    overflow-x: auto!important;
}

/* DOB Inputs */
#birthdate_day,
#birthdate_month,
#birthdate_year {
    width: 70px !important;
    display: inline-block;
    margin-right: 10px;
}

/* Required Asterisk */
.required {
    color: #dc2626 !important;
    font-weight: 700;
}

/* Helper Text */
#WebToLeadForm td:nth-child(3) {
    color: #282828;
    font-size: 13px;
    line-height: 1.5;
}

/* Checkbox Row */
#WebToLeadForm input[type="checkbox"] {
    transform: scale(1.2);
    margin-left: 10px;
}

/* Submit Button */
#WebToLeadForm .button,
#WebToLeadForm input[type="button"] {
    background: linear-gradient(
        135deg,
        #000000,
        #000000
    );
    color: white;
    border: none;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all .25s ease;
}

#WebToLeadForm .button:hover,
#WebToLeadForm input[type="button"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37,99,235,.25);
}

/* Section Description Rows */
#WebToLeadForm tr td[colspan="4"] {
    background: #ffffff;
}

/* Hidden Conditional Rows Animation */
#WebToLeadForm tr[style*="display: none"] {
    background: #fafafa;
}

/* Mobile */
@media (max-width: 768px) {

    #WebToLeadForm table,
    #WebToLeadForm tbody,
    #WebToLeadForm tr,
    #WebToLeadForm td {
        display: block;
        width: 100% !important;
    }

    #WebToLeadForm td {
        padding: 10px 15px;
    }

    #WebToLeadForm h2 {
        font-size: 1.5rem;
        padding: 24px 15px;
    }

    #birthdate_day,
    #birthdate_month,
    #birthdate_year {
        width: 30% !important;
        margin-bottom: 10px;
    }

    #WebToLeadForm input[type="button"] {
        width: 100%;
    }
}

