/* =========================================
   Form Estimates — Design Card Styles
   Applied via customization settings.
   All selectors scoped under .fe-card
   ========================================= */

/* Card container */
.fe-card {
    background-color: var(--fe-bg, #ffffff);
    box-shadow: 0 10px 40px var(--fe-shadow, rgba(0, 0, 0, 0.1));
    border-radius: 12px;
    overflow: hidden;
    padding: 0;
}

/* Accent bar at top */
.fe-accent-bar {
    height: 6px;
    background-color: var(--fe-accent, #0073aa);
    width: 100%;
}

/* Inner padding */
.fe-card-body {
    padding: 2rem 2.5rem;
}

/* Title */
.fe-card .fe-form-title {
    color: var(--fe-accent, #0073aa);
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Form grid — 2 columns */
.fe-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

/* Full-width fields span 2 columns */
.fe-form-grid-full {
    grid-column: span 2;
}

/* Labels */
.fe-card .fe-form-group label {
    color: var(--fe-text, #333333);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

/* Inputs */
.fe-card .fe-form-group input[type="text"],
.fe-card .fe-form-group input[type="email"],
.fe-card .fe-form-group input[type="tel"],
.fe-card .fe-form-group textarea {
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.7rem 1rem;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.fe-card .fe-form-group input[type="text"]:focus,
.fe-card .fe-form-group input[type="email"]:focus,
.fe-card .fe-form-group input[type="tel"]:focus,
.fe-card .fe-form-group textarea:focus {
    outline: none;
    border-color: var(--fe-accent, #0073aa);
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.12);
}

/* Submit button */
.fe-card .fe-submit-btn {
    background-color: var(--fe-accent, #0073aa);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.15s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fe-card .fe-submit-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

/* Legal disclaimer */
.fe-card .fe-legal-disclaimer {
    margin-top: 12px;
}

.fe-card .fe-legal-disclaimer p {
    font-size: 11px;
    color: var(--fe-text, #333333);
    opacity: 0.6;
    line-height: 1.4;
}

.fe-card .fe-legal-disclaimer a {
    color: var(--fe-accent, #0073aa);
    text-decoration: underline;
}

/* Text Us section */
.fe-card .fe-text-us-section {
    text-align: center;
    margin-top: 1.5rem;
}

.fe-card .fe-text-us-divider {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 1.5rem 0 1rem;
}

.fe-card .fe-text-us-phone a {
    color: var(--fe-accent, #0073aa);
    font-weight: 700;
}

/* Required asterisk */
.fe-card .fe-required {
    color: var(--fe-accent, #0073aa);
}

/* Inline messages */
.fe-card .fe-form-message {
    border-radius: 6px;
}

/* Responsive — single column on mobile */
@media (max-width: 768px) {
    .fe-form-grid {
        grid-template-columns: 1fr;
    }

    .fe-form-grid-full {
        grid-column: span 1;
    }

    .fe-card-body {
        padding: 1.5rem;
    }
}