/*
 * Baseline form styling.
 *
 * On the static site these rules only existed inside contact.html's <style>
 * block, so [ftl_contact_form] dropped onto any other page — a page builder
 * layout, a new landing page — rendered completely unstyled.
 *
 * This is loaded globally, *before* the per-page stylesheets. The contact page
 * and the four event pages re-declare these same selectors with their own
 * values and still win on load order, so those pages are unchanged; everywhere
 * else now inherits the contact page's look.
 */

.contact-form-card {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-form-card h3 {
    color: #333;
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
    background-color: #fcfcfc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8cc63f;
    box-shadow: 0 0 0 3px rgba(140, 198, 63, 0.15);
    background-color: #fff;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.btn-submit {
    background-color: #8cc63f;
    color: #fff;
    border: none;
    padding: 16px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 15px rgba(140, 198, 63, 0.4);
}

.btn-submit:hover {
    background-color: #7ab32e;
    transform: translateY(-2px);
}
