/* =============================================================
   form.css — Feedback form styles (used with main.css)
   ============================================================= */

form { margin: 0 0 20px; }

fieldset {
    margin: 0 0 24px;
    padding: 10px 24px 18px;
    background: #0f1a10;
    border: 1px dashed #2c5a33;
    border-radius: 6px;
}

legend {
    padding: 0 10px;
    font-family: inherit;
    font-weight: 700;
    font-size: 1em;
    color: #39ff88;
    background: #0a0e0a;
}

.form-row {
    overflow: hidden;
    padding: 9px 0;
    border-bottom: 1px dashed #1f3d24;
}
.form-row:last-child { border-bottom: 0; }

label, .label {
    float: left;
    width: 190px;
    padding-top: 7px;
    font-weight: 500;
    color: #b8f5c2;
}
label.inline {
    float: none;
    width: auto;
    padding: 0 16px 0 4px;
    font-weight: normal;
}

.req { color: #ff5c7a; }

input, select, textarea {
    font-family: inherit;
    font-size: 1em;
    color: #e6ffec;
}

#feedback-form input[type="text"], select, textarea {
    width: 360px;
    padding: 8px 12px;
    background: #050805;
    border: 1px solid #1f3d24;
    border-radius: 3px;
}
textarea { width: 520px; resize: vertical; }

#feedback-form input[type="text"]:focus, select:focus, textarea:focus {
    border-color: #39ff88;
    outline: none;
    background: #0a0e0a;
}

.choice-group { display: block; margin-left: 190px; padding-top: 6px; }
.choice-group input { vertical-align: middle; }

/* Field-level messages */
.hint {
    display: block;
    margin-left: 190px;
    font-size: 0.82em;
    color: #5fa86e;
}
.error {
    display: block;
    margin-left: 190px;
    font-size: 0.88em;
    font-weight: 700;
    color: #ff5c7a;
}

/* Field highlighted by validation.js */
#feedback-form input.invalid,
#feedback-form select.invalid,
#feedback-form textarea.invalid {
    border-color: #ff5c7a;
    background: #1f0a0d;
}

.form-actions { padding-left: 214px; }
.form-actions .button { margin-right: 10px; }
