/*
 * contact.css
 * Contact form and response page styles for niclab.com
 * Used by contact.php
 */

/* ── Error/success page shell ── */
.page-shell {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.grow {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Form inputs ── */
.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    font-family: system-ui, sans-serif;
    transition: border-color 0.2s;
    background: #ffffff;
    color: #1a1a1a;
    box-sizing: border-box;
}
.form-input:focus {
    outline: none;
    border-color: #1e3a5f;
}
.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #374151;
}

/* ── Validation states ── */
.field-error {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}
.field-invalid {
    border-color: #dc2626 !important;
}

/* ── Required star ── */
.required-star { color: #d97706; }

/* ── Submit button ── */
.btn-submit {
    width: 100%;
    background: #1e3a5f;
    color: #ffffff;
    padding: 16px;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: system-ui, sans-serif;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-submit:hover { background: #152d4a; }
