/* Mellza — form.css (formu olan sayfalarda yüklenir) */
.mz-form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label, .chips legend { font-size: 14px; font-weight: 500; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 96px; resize: vertical; }
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23131313' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(25,61,140,.15); }
.field [aria-invalid="true"] { border-color: #B3261E; box-shadow: 0 0 0 3px rgba(179,38,30,.12); }
.field__err { font-size: 13px; color: #B3261E; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }

.chips { border: 0; margin: 0; padding: 0; }
.chips legend { padding: 0; margin-bottom: 10px; }
.chips { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .chips--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 6px 10px; text-align: center; border: 1.5px solid var(--line-2); border-radius: var(--radius); background: #fff; font-size: 14px; font-weight: 500; transition: background .15s, color .15s, border-color .15s; }
.chip input:hover + span { border-color: var(--navy); }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.form-note { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.form-note a { text-decoration: underline; text-underline-offset: 2px; }
.form-msg { font-size: 14px; padding: 12px 14px; border-radius: var(--radius); background: #E7F1EA; color: #1E5631; }
.form-msg--err { background: #FBEAEA; color: #8C1D18; }
.mz-form[aria-busy="true"] button[type="submit"] { opacity: .7; pointer-events: none; }

/* Başarı durumu (JS ile) */
.form-done { display: grid; gap: 14px; justify-items: start; padding: 8px 0; }
.form-done svg { color: #fff; background: var(--navy); padding: 12px; width: 48px; height: 48px; }
.form-done h3 { font-size: 26px; }
.form-done p { color: var(--muted); }
