/* Базовые настройки */
.feedback-wrapper *,
.feedback-wrapper *::before,
.feedback-wrapper *::after {
    box-sizing: border-box;
}

body {
/*
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f3f4f6;
    color: #111827;
*/
}

/* Центровка карточки */
.feedback-wrapper {
    /* min-height: 100vh; */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

/* Карточка формы */
.feedback-card {
    width: 100%;
    max-width: 520px;
    background: #ffffff;
    border-radius: 20px;
    padding: 24px 28px 28px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.15);
    border: 1px solid rgba(148, 163, 184, 0.3);
}

/* Заголовки */
.feedback-title {
    margin: 0 0 6px 0;
    font-size: 24px;
    font-weight: 600;
    color: #111827;
}

.feedback-subtitle {
    margin: 0 0 20px 0;
    font-size: 14px;
    color: #6b7280;
}

/* Сообщения */
.feedback-alert {
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.4;
}

.feedback-alert.success {
    background: #ecfdf3;
    border: 1px solid #4ade80;
    color: #166534;
}

.feedback-alert.error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #b91c1c;
}

/* Форма */
.feedback-form {
    margin-top: 4px;
}

/* Группы полей */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}

.required {
    color: #ef4444;
}

/* Поля ввода */
.feedback-form input[type="text"],
.feedback-form input[type="email"],
.feedback-form textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    padding: 9px 11px;
    font-size: 14px;
    color: #111827;
    background-color: #f9fafb;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.feedback-form textarea {
    resize: vertical;
    min-height: 110px;
}

.feedback-form input::placeholder,
.feedback-form textarea::placeholder {
    color: #9ca3af;
}

.feedback-form input:focus,
.feedback-form textarea:focus {
    outline: none;
    border-color: #2563eb;
    background-color: #ffffff;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.2);
}

/* Файл */
.file-input-wrapper input[type="file"] {
    width: 100%;
    font-size: 13px;
}

.field-hint {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #9ca3af;
}

/* Кнопки */
.form-actions {
    margin-top: 8px;
    display: flex;
    justify-content: flex-end;
}

.btn-primary {
    border: none;
    cursor: pointer;
    border-radius: 9999px;
    padding: 9px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.35);
    transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.15s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.45);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.35);
}

/* Адаптив */
@media (max-width: 640px) {
    .feedback-card {
        padding: 18px 16px 20px;
        border-radius: 16px;
    }

    .feedback-title {
        font-size: 20px;
    }
}
