/* ==========================================================================
   Steady Leads -- Contractor Overflow Intake (page ID 6, form ID 5)
   Scoped entirely to body.page-id-6. Brand source:
   agents/web-design/clients/steady-leads/00_brand/brand-extraction-2026-07-06.md
   Navy #0F172A | Gradient #93C5FD -> #4A8CF7 | White #FFFFFF | Inter typeface
   ========================================================================== */

body.page-id-6 {
    background-color: #0F172A !important;
    font-family: 'Inter', sans-serif !important;
}

/* Header / nav bar -- dark navy, matches page background so it reads as one
   continuous branded surface rather than a default white WP header. */
body.page-id-6 header.wp-block-template-part {
    background-color: #0F172A;
    border-bottom: 1px solid rgba(147, 197, 253, 0.15);
}

body.page-id-6 header.wp-block-template-part .wp-block-site-title a,
body.page-id-6 header.wp-block-template-part .wp-block-site-title {
    color: #FFFFFF !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700;
    letter-spacing: -0.02em;
}

body.page-id-6 header.wp-block-template-part .wp-block-navigation a {
    color: #93C5FD !important;
    font-family: 'Inter', sans-serif !important;
}

body.page-id-6 header.wp-block-template-part svg {
    fill: #FFFFFF;
    color: #FFFFFF;
}

/* Footer -- match dark navy so the whole page reads as one branded surface. */
body.page-id-6 footer.wp-block-template-part {
    background-color: #0F172A;
    border-top: 1px solid rgba(147, 197, 253, 0.15);
}

body.page-id-6 footer.wp-block-template-part * {
    color: #93C5FD !important;
    font-family: 'Inter', sans-serif !important;
}

body.page-id-6 footer.wp-block-template-part a:hover {
    color: #FFFFFF !important;
}

/* Logo, injected via the_content filter just above the page title. */
body.page-id-6 .sl-overflow-logo-wrap {
    display: flex;
    justify-content: center;
    margin: 0 0 2rem 0;
}

body.page-id-6 .sl-overflow-logo {
    width: 180px;
    height: auto;
    display: block;
}

/* Page title */
body.page-id-6 .wp-block-post-title {
    color: #FFFFFF !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 800;
    text-align: center;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

/* Intro paragraphs above the form */
body.page-id-6 .entry-content > p.wp-block-paragraph {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    color: #E2E8F0;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
}

body.page-id-6 .entry-content > p.wp-block-paragraph strong {
    color: #93C5FD;
}

/* Card container for the whole form -- clean light card floating on the navy
   page background, per the brand direction's light-section/dark-section
   pairing (card = light section on dark chrome). */
body.page-id-6 .fluentform_wrapper_5 {
    max-width: 640px;
    margin: 2.5rem auto 4rem auto;
    background-color: #FFFFFF;
    border-radius: 16px;
    padding: 2.5rem clamp(1.5rem, 5vw, 3rem);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

body.page-id-6 .fluentform_wrapper_5 * {
    font-family: 'Inter', sans-serif !important;
    box-sizing: border-box;
}

/* Field groups -- generous vertical spacing between every field */
body.page-id-6 .fluentform_wrapper_5 .ff-el-group {
    margin-bottom: 1.75rem;
}

body.page-id-6 .fluentform_wrapper_5 .ff-el-group:last-of-type {
    margin-bottom: 0;
}

/* Labels */
body.page-id-6 .fluentform_wrapper_5 .ff-el-input--label label {
    display: block;
    color: #0F172A;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

body.page-id-6 .fluentform_wrapper_5 .ff-el-is-required label:after {
    content: " *";
    color: #4A8CF7;
}

/* Inputs, selects, textareas */
body.page-id-6 .fluentform_wrapper_5 .ff-el-form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid #CBD5E1;
    border-radius: 8px;
    font-size: 1rem;
    color: #0F172A;
    background-color: #F8FAFC;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.page-id-6 .fluentform_wrapper_5 .ff-el-form-control::placeholder {
    color: #94A3B8;
}

body.page-id-6 .fluentform_wrapper_5 .ff-el-form-control:focus {
    outline: none;
    border-color: #4A8CF7;
    background-color: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(74, 140, 247, 0.15);
}

body.page-id-6 .fluentform_wrapper_5 select.ff-el-form-control {
    appearance: auto;
    cursor: pointer;
}

body.page-id-6 .fluentform_wrapper_5 textarea.ff-el-form-control {
    resize: vertical;
    min-height: 100px;
}

/* Tooltip icon -- recolor to brand blue instead of default gray/black */
body.page-id-6 .fluentform_wrapper_5 .ff-el-tooltip svg path {
    fill: #93C5FD;
}

/* Consent checkbox -- the specific fix for the cramped/no-spacing complaint.
   Give the checkbox room, align it to the top of the text, and add a real
   gap between the box and the copy instead of the default inline crush. */
body.page-id-6 .fluentform_wrapper_5 .ff-el-form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background-color: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    border-radius: 10px;
    padding: 1rem 1.15rem;
}

body.page-id-6 .fluentform_wrapper_5 .ff-el-form-check-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0;
    cursor: pointer;
}

body.page-id-6 .fluentform_wrapper_5 .ff-el-form-check-input {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 0.15rem;
    accent-color: #4A8CF7;
    cursor: pointer;
}

body.page-id-6 .fluentform_wrapper_5 .ff-el-form-check-label span {
    font-size: 0.9rem;
    line-height: 1.55;
    color: #0F172A;
}

/* Submit button -- brand gradient, full-width, real button */
body.page-id-6 .fluentform_wrapper_5 .ff_submit_btn_wrapper {
    margin-top: 2rem;
}

body.page-id-6 .fluentform_wrapper_5 .ff-btn-submit {
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #93C5FD 0%, #4A8CF7 100%) !important;
    color: #FFFFFF !important;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
    box-shadow: 0 8px 24px rgba(74, 140, 247, 0.35);
}

body.page-id-6 .fluentform_wrapper_5 .ff-btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(74, 140, 247, 0.45);
}

/* Error state styling, kept legible against the light card */
body.page-id-6 .fluentform_wrapper_5 .error,
body.page-id-6 #fluentform_5_errors {
    color: #DC2626;
    font-size: 0.85rem;
    margin-top: 0.35rem;
}

/* Mobile spacing tune-up */
@media (max-width: 600px) {
    body.page-id-6 .fluentform_wrapper_5 {
        margin: 1.5rem 1rem 3rem 1rem;
        padding: 1.75rem 1.25rem;
    }

    body.page-id-6 .sl-overflow-logo {
        width: 140px;
    }
}
