/* ── suggest.css v4 — Gold Warm ── */
.sug-form { max-width: 680px; margin: 0 auto; }
.sug-form__section {
    background: var(--glass); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 24px; margin-bottom: 20px;
}
.sug-form__section h3 {
    font-size: 0.95rem; font-weight: 700; margin-bottom: 16px;
    display: flex; align-items: center; gap: 8px; color: var(--text);
}
.sug-form__section h3 i { color: var(--gold); }
.sug-form__row { display: flex; gap: 12px; }
.sug-form__field { flex: 1; display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.sug-form__field label { font-size: 0.78rem; font-weight: 600; color: var(--muted); }
.sug-form__field input,
.sug-form__field select,
.sug-form__field textarea {
    padding: 10px 14px; border: 1px solid var(--border); border-radius: 8px;
    font-size: 0.9rem; font-family: inherit; color: var(--text);
    background: var(--dark3); outline: none; transition: border-color 0.15s;
    width: 100%;
}
.sug-form__field input:focus,
.sug-form__field select:focus,
.sug-form__field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,168,92,0.1); }
.sug-form__field textarea { resize: vertical; min-height: 80px; }
.sug-form__field--error input,
.sug-form__field--error textarea {
    border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,0.12);
}
.sug-form__field--error::after {
    content: 'Обязательное поле'; font-size: 0.72rem; color: #ef4444; font-weight: 600;
}

.sug-form__file { margin-top: 8px; }
.sug-form__file input[type="file"] { display: none; }
.sug-form__file-label {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px; border: 2px dashed var(--border); border-radius: 10px;
    cursor: pointer; font-weight: 600; font-size: 0.9rem; color: var(--gold);
    transition: all 0.15s; background: var(--glass);
}
.sug-form__file-label:hover { border-color: var(--gold); background: var(--glass-hover); }
.sug-form__file-label--docs { border-color: rgba(212,168,92,0.3); color: var(--gold); }
.sug-form__file-hint { font-size: 0.75rem; color: var(--muted); margin-top: 8px; }
.sug-form__counter { color: var(--gold); font-weight: 600; }
.sug-form__file-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.sug-file-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 8px 4px 4px; border-radius: 8px;
    background: rgba(212,168,92,0.12); color: var(--gold); font-size: 0.78rem;
    max-width: 100%;
}
.sug-file-chip--doc { background: rgba(212,168,92,0.15); color: var(--gold-light); padding: 4px 10px; }
.sug-file-chip__thumb { width: 36px; height: 36px; object-fit: cover; border-radius: 6px; flex: 0 0 auto; }
.sug-file-chip__name { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sug-file-chip__size { font-size: 0.7rem; opacity: 0.7; white-space: nowrap; }
.sug-file-chip__remove {
    border: none; background: rgba(0,0,0,0.28); color: #fff;
    width: 18px; height: 18px; line-height: 1; border-radius: 50%;
    cursor: pointer; font-size: 0.9rem; padding: 0; flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center;
}
.sug-file-chip__remove:hover { background: rgba(220,38,38,0.85); }

.sug-form__submit { width: 100%; justify-content: center; margin-top: 8px; }

.sug-success { text-align: center; padding: 60px 20px; }
.sug-success__icon { font-size: 4rem; color: #16a34a; margin-bottom: 20px; display: block; }
.sug-success h2 { font-size: 1.5rem; margin-bottom: 8px; color: var(--cream); }
.sug-success p { color: var(--muted); margin-bottom: 24px; }
.sug-error {
    background: rgba(220,38,38,0.1); color: #ef4444; padding: 14px 18px;
    border-radius: 10px; font-size: 0.88rem; font-weight: 600; margin-bottom: 20px;
    text-align: center; border: 1px solid rgba(239,68,68,0.2);
}

@media (max-width: 600px) {
    .sug-form__row { flex-direction: column; }
    .sug-form__section { padding: 16px; }
}
