.ecc-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #333;
}

.ecc-form-errors-summary {
    background: #fff3f3;
    border: 1px solid #d32f2f;
    border-left: 4px solid #d32f2f;
    padding: 15px 20px;
    margin-bottom: 25px;
    border-radius: 4px;
}

.ecc-form-errors-summary h3 {
    margin: 0 0 10px;
    color: #d32f2f;
    font-size: 1.1em;
}

.ecc-form-errors-summary ul {
    margin: 0;
    padding-left: 20px;
}

.ecc-parish-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ecc-honeypot {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    pointer-events: none;
}

.ecc-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ecc-field label {
    font-weight: 600;
    font-size: 0.95em;
}

.ecc-required {
    color: #d32f2f;
    margin-left: 2px;
}

.ecc-field input[type="text"],
.ecc-field input[type="email"],
.ecc-field input[type="tel"],
.ecc-field input[type="date"],
.ecc-field select,
.ecc-field textarea {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.ecc-field input:focus,
.ecc-field select:focus,
.ecc-field textarea:focus {
    outline: none;
    border-color: #1e4a8a;
    box-shadow: 0 0 0 2px rgba(30, 74, 138, 0.2);
}

.ecc-field [aria-invalid="true"] {
    border-color: #d32f2f;
    background-color: #fff5f5;
}

.ecc-field-help {
    font-size: 0.85em;
    color: #666;
    margin: 0;
}

.ecc-field-error {
    color: #d32f2f;
    font-size: 0.9em;
    font-weight: 500;
    display: block;
    margin-top: 4px;
}

.ecc-field-fixed .ecc-fixed-value {
    padding: 10px 12px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    color: #333;
    font-weight: 500;
}

.ecc-location-widget {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ecc-mini-map {
    height: 300px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    z-index: 1;
}

.ecc-button-primary,
.ecc-button-secondary {
    padding: 12px 24px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: background-color 0.2s, transform 0.1s;
}

.ecc-button-primary {
    background: #1e4a8a;
    color: #fff;
    align-self: flex-start;
    min-width: 200px;
}

.ecc-button-primary:hover:not(:disabled) {
    background: #163a6e;
}

.ecc-button-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.ecc-button-secondary {
    background: #fff;
    color: #1e4a8a;
    border: 1px solid #1e4a8a;
    align-self: flex-start;
}

.ecc-button-secondary:hover {
    background: #f0f4fa;
}

.ecc-form-actions {
    margin-top: 10px;
}

.ecc-form-disclaimer {
    font-size: 0.85em;
    color: #666;
    text-align: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.ecc-field-captcha {
    align-items: center;
}

@media ( max-width: 600px ) {
    .ecc-form-wrapper {
        padding: 15px;
    }
    .ecc-mini-map {
        height: 250px;
    }
    .ecc-button-primary {
        width: 100%;
    }
}
