/* ================================================================
   TRE – Contact Form
   File: assets/css/tre-contact-form.css
   ================================================================ */

.tre-cf {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0 0 28px;
}

/* title */
.tre-cf__title {
    font-size: 16px;
    font-weight: 800;
    color: #0f1f4a;
    margin: 0 0 10px;
}

/* success message */
.tre-cf__success {
    background: #eaf4ec;
    border: 1px solid #b6dfbc;
    border-radius: 4px;
    padding: 14px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #2a6e36;
}

/* error messages */
.tre-cf__errors {
    background: #fdf0f0;
    border: 1px solid #f0c0c0;
    border-radius: 4px;
    padding: 12px 16px;
    margin-bottom: 14px;
}
.tre-cf__errors p {
    font-size: 12px;
    color: #c0392b;
    margin: 0 0 4px;
}
.tre-cf__errors p:last-child { margin-bottom: 0; }

/* card wrapper */
.tre-cf__card {
    background: #ffffff;
    border: 1px solid #e8eef8;
    border-radius: 6px;
    padding: 20px;
}

/* two-column grid */
.tre-cf__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
}

/* field */
.tre-cf__field {
    display: flex;
    flex-direction: column;
}
.tre-cf__field--full {
    grid-column: 1 / -1;
}

/* label */
.tre-cf__field label {
    font-size: 11px;
    font-weight: 700;
    color: #0f1f4a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}
.tre-cf__req {
    color: #e63030;
    font-weight: 700;
}

/* inputs */
.tre-cf__field input,
.tre-cf__field select,
.tre-cf__field textarea {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #1a1a1a;
    background: #fff;
    border: 1px solid #c9d4ec;
    border-radius: 3px;
    padding: 8px 10px;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}
.tre-cf__field input:focus,
.tre-cf__field select:focus,
.tre-cf__field textarea:focus {
    border-color: #2053a5;
    box-shadow: 0 0 0 2px rgba(32,83,165,.12);
}
.tre-cf__field textarea {
    resize: vertical;
    min-height: 120px;
}

/* footer row */
.tre-cf__footer {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 16px;
    flex-wrap: wrap;
}

/* submit button */
.tre-cf__submit {
    background: #2053a5;
    color: #ffffff;
    border: none;
    border-radius: 3px;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 700;
    font-family: Arial, Helvetica, sans-serif;
    cursor: pointer;
    transition: background .2s;
}
.tre-cf__submit:hover { background: #163d80; }

/* note */
.tre-cf__note {
    font-size: 11px;
    color: #888;
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .tre-cf__grid {
        grid-template-columns: 1fr;
    }
    .tre-cf__card { padding: 16px; }
}
