/* ============================================================
   FORM OVERRIDES - Contact form section
   ============================================================
   Override contact form and form card styles here. This file is
   loaded after style.css so these rules take precedence.

   Note: The form content inside the Zoho iframe is on Zoho's
   domain and cannot be styled from this site. Use Zoho Forms
   theme / custom CSS in Zoho if you need to style the form fields.
   ============================================================ */

/* Contact section (wrapper) - no gray, pure white */
#contact.contact-form-section {
    background: #ffffff !important;
}

/* Form card (white box around iframe) - full width so iframe can render */
#contact .form-card {
    background: #ffffff !important;
    width: 100%;
    min-width: 0; /* allow shrink in flex/grid */
    box-sizing: border-box;
}

/* Wrapper around the Zoho iframe - visible area so form can load */
#contact #zoho-form-iframe-wrap {
    background: #ffffff !important;
    min-height: 500px;
    width: 100%;
    position: relative;
}

/* Iframe: full width and height so Zoho form displays */
#contact .form-card iframe {
    width: 100% !important;
    min-height: 500px !important;
    display: block;
    border: none;
}

/* Badge: open form in new tab for better experience */
#contact .form-fallback-badge-wrap {
    margin-top: 1rem;
    margin-bottom: 0;
    text-align: center;
}
#contact .form-fallback-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-primary);
    background: var(--color-primary-subtle, #fff7ed);
    border: 1px solid rgba(234, 88, 12, 0.25);
    border-radius: 50px;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
#contact .form-fallback-badge:hover {
    color: var(--color-primary-dark, #c2410c);
    background: rgba(234, 88, 12, 0.12);
    border-color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.15);
}
#contact .form-fallback-badge i {
    flex-shrink: 0;
}

/* Contact chips (phone, email, RBQ link above form) */
#contact .contact-chip {
    /* font-size: 0.9rem; */
}

/* Success / error message after submit */
#contact .form-message.success {
    /* border-radius: 8px; */
}

#contact .form-message.error {
    /* border-radius: 8px; */
}
