.atc-form-wrapper {
    max-width: 680px;
    margin: 0 auto;
    padding: 0;
}

.atc-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Sections */
.atc-section {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 1.5em 1.5em 1em;
    margin-bottom: 1.5em;
    background: transparent;
}

.atc-section legend {
    font-size: 1.1em;
    font-weight: 700;
    padding: 0 0.5em;
    color: inherit;
}

/* Fields */
.atc-field {
    margin-bottom: 1.1em;
}

.atc-field > label {
    display: block;
    margin-bottom: 0.35em;
    font-weight: 600;
}

.atc-required {
    color: #e53935;
}

.atc-hint {
    font-size: 0.85em;
    color: #777;
    margin: 0.2em 0 0.6em;
}

.atc-field input[type="text"],
.atc-field input[type="tel"],
.atc-field input[type="email"],
.atc-field select,
.atc-field textarea {
    width: 100%;
    padding: 0.6em 0.8em;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: inherit;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.atc-field input:focus,
.atc-field select:focus,
.atc-field textarea:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.15);
}

.atc-field input.atc-invalid,
.atc-field select.atc-invalid {
    border-color: #e53935;
    box-shadow: 0 0 0 2px rgba(229, 57, 53, 0.15);
}

.atc-field textarea {
    resize: vertical;
    min-height: 100px;
}

/* Radio & Checkbox Groups */
.atc-radio-group,
.atc-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em 1.5em;
    margin-top: 0.3em;
}

.atc-radio-label,
.atc-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.4em;
    font-weight: normal;
    cursor: pointer;
    white-space: nowrap;
}

.atc-radio-label input,
.atc-checkbox-label input {
    margin: 0;
    width: auto;
}

/* 2-Column Grid for Room Dimensions */
.atc-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8em 1.2em;
}

.atc-field-inline label {
    display: block;
    font-size: 0.9em;
    font-weight: 600;
    margin-bottom: 0.25em;
}

.atc-field-inline input {
    width: 100%;
    padding: 0.5em 0.7em;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: inherit;
    box-sizing: border-box;
}

.atc-field-inline input:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.15);
}

/* Submit */
.atc-submit-row {
    margin-top: 0.5em;
}

.atc-submit-btn {
    display: inline-block;
    padding: 0.75em 2.5em;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1em;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s;
}

.atc-submit-btn:hover {
    background: #005a87;
}

.atc-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Feedback */
.atc-feedback {
    padding: 0;
    border-radius: 4px;
    font-size: 0.95em;
    line-height: 1.5;
    margin-top: 0.5em;
}

.atc-feedback.atc-success {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 0.85em 1em;
    border: 1px solid #a5d6a7;
}

.atc-feedback.atc-error {
    background: #ffebee;
    color: #c62828;
    padding: 0.85em 1em;
    border: 1px solid #ef9a9a;
}

/* Honeypot */
.atc-hp {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* Responsive */
@media (max-width: 600px) {
    .atc-grid-2 {
        grid-template-columns: 1fr;
    }

    .atc-section {
        padding: 1em;
    }

    .atc-radio-group,
    .atc-checkbox-group {
        flex-direction: column;
        gap: 0.4em;
    }
}
