/* ===== FORMS AND CONTENT SECTIONS ===== */
/* Extracted from style.css lines ~456-650 and ~2201-2450 */

/* ----------------------------------------
   Search Form Styles (Header Search)
   ---------------------------------------- */
/* HEADER SEARCH FORM STYLES (.formstyle) MOVED TO navbar-consolidated.css */


/* Community form styles - Primary definition (was duplicated in variables-overrides.css) */
.community-cols textarea.form-control {
    height: 120px;
    resize: none;
}

/* ----------------------------------------
   Subscription Forms
   ---------------------------------------- */
/* Simplified heading styles using new heading system variables */
.subscribe-form h3 {
    margin-bottom: var(--heading-margin-bottom);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
}

.subscribe-form .form-control {
    border: 1px solid #f6f6f6;
    background-color: #f6f6f6;
    color: var(--color-text-primary);
    background-image: url(../img/icon-message.svg);
    background-position: 95%;
    background-repeat: no-repeat;
    background-size: auto;
    border-radius: var(--radius-lg);
    min-height: 64px;
    margin-bottom: 1rem;
    padding-left: 24px;
    padding-right: 24px;
    font-size: 18px;
}

.subscribe-form .form-control:focus {
    appearance: none;
    box-shadow: none;
    border-color: var(--color-accent);
}


/* ----------------------------------------
   Community Details & Forms
   ---------------------------------------- */
.community-cols .form-control {
    color: #333;
    background-color: var(--color-bg-primary);
    border: 1px solid #ccc;
    width: 100%;
    height: 48px;
    margin-bottom: 32px;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 1.42857;
    display: block;
    border-radius: var(--radius-lg);
}

.community-cols .form-control:focus, 
.community-cols .form-control:hover {
    border-color: #3898ec;
    box-shadow: none;
}

.community-cols textarea.form-control {
    height: 120px;
    resize: none;
}

/* ----------------------------------------
   Contact Forms
   ---------------------------------------- */
.contact-form {
    padding: 0px 0px 80px 0px;
}

.contact-form p {
    color: var(--color-text-muted);
    font-size: 18px;
    font-weight: 400;
}

.contact-form a {
    color: #06c;
    text-decoration: none;
}

.contact-form label {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.67em;
    margin-bottom: 16px;
}

.contact-form .form-control {
    color: #333;
    background-color: var(--color-bg-primary);
    border: 1px solid #ccc;
    width: 100%;
    height: 48px;
    margin-bottom: 32px;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 1.42857;
    display: block;
    border-radius: var(--radius-lg);
}

.contact-form .form-control:focus {
    border-color: #3898ec;
    box-shadow: none;
}

.contact-form textarea {
    min-height: 8rem;
    resize: none;
}


/* Home quote section styles moved to cards-sections.css to avoid duplication */

/* Marketing & informed consumers sections moved to cards-sections.css to avoid duplication */



/* Finding dreams section moved to pages-special.css to avoid duplication */

/* Learn About and Contact Info sections moved to page-cities.css */

/* ----------------------------------------
   Utility Styles for Forms
   ---------------------------------------- */
.grecaptcha-badge {
    display: none !important;
}

.sticky-col {
    position: sticky;
    top: 155px;
}

/* ----------------------------------------
   Property Search Form Styles
   ---------------------------------------- */
.prop-search {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-lg);
    background: var(--color-bg-primary);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-sm);
    flex-wrap: wrap;
}

.prop-search .form-control {
    border: 1px solid #f6f6f6;
    background-color: #f6f6f6;
    color: var(--color-text-primary);
    border-radius: var(--radius-lg);
    min-height: 48px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    flex: 1;
    min-width: 200px;
    transition: all 0.3s ease;
}

.prop-search .form-control:focus,
.prop-search .form-control:hover {
    border-color: var(--color-accent);
    background-color: var(--color-bg-primary);
    box-shadow: 0 0 0 3px rgba(248, 87, 87, 0.1);
    outline: none;
}

.prop-search select.form-control {
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23666" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
    padding-right: 48px;
}


/* Mobile Responsive Design Moved */
/* All mobile form styles (max-width: 768px and tablet styles) */
/* have been moved to mobile-consolidated.css for better organization */

/* Contact Form 7 Integration */
input.wpcf7-form-control.wpcf7-not-valid {
    /* Styles for invalid CF7 form fields */
}

