:root {
    --fb-primary: #4f7cff;
    --fb-accent: #6c5ce7;
    --fb-text: #1a1f2e;
    --fb-muted: #8a94a6;
    --fb-border: #e3e7ee;
    --fb-bg: #f7f8fa;
}

.feedback-page {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Вступление */
.feedback-intro {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin: 0 0 24px;
    padding: 18px 22px;
    background: linear-gradient(135deg, rgba(79, 124, 255, 0.06) 0%, rgba(108, 92, 231, 0.06) 100%);
    border: 1px solid var(--fb-border);
    border-left: 4px solid var(--fb-primary);
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.65;
    color: #3d4757;
}

.fb-intro-icon {
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.feedback-intro p {
    margin: 0;
}

/* === НОВАЯ РАСКЛАДКА ФОРМЫ === */

/* Строка: Кому + Тема */
.fb-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    list-style: none;
    padding: 0;
}

.fb-col {
    flex: 1;
}

/* Первая колонка (Кому) - чуть меньше, если нужно, или равно */
.fb-col-1 {
    flex: 1; 
}

/* Вторая колонка (Тема) - занимает остаток */
.fb-col-2 {
    flex: 1.5;
}

/* Поле сообщения на всю ширину (уже есть в ul, но убедимся в ширине) */
.ui-form li.form-group textarea.wide {
    width: 100%;
    box-sizing: border-box;
}

/* === КНОПКА ОТПРАВИТЬ (НОВЫЙ ЦВЕТ) === */
.fb-submit-btn {
    background: linear-gradient(135deg, var(--fb-primary) 0%, var(--fb-accent) 100%);
    color: #fff !important;
    border: none !important;
    padding: 16px 24px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(79, 124, 255, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fb-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.35);
}

.fb-submit-btn:active {
    transform: translateY(0);
}

/* Подпись о данных */
.feedback-privacy {
    margin-top: 16px;
    font-size: 12px;
    color: var(--fb-muted);
    line-height: 1.5;
    text-align: center;
}

/* Контактная карточка */
.feedback-contact {
    margin-top: 22px;
    padding: 18px 22px;
    text-align: center;
    background: var(--fb-bg);
    border: 1px solid var(--fb-border);
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.7;
    color: #3d4757;
}

.fb-contact-name {
    font-weight: 700;
    font-size: 15px;
    color: var(--fb-text);
    margin-bottom: 4px;
}

.fb-contact-line {
    margin-top: 6px;
}

.fb-contact-phone {
    color: var(--fb-primary);
    text-decoration: none;
    font-weight: 600;
}

.fb-contact-phone:hover {
    text-decoration: underline;
}

/* Капча-картинка */
.c-captcha img {
    border-radius: 8px;
    border: 1px solid var(--fb-border);
}

/* Turnstile / reCAPTCHA */
.fb-captcha iframe,
.c-captcha iframe {
    max-width: 100%;
}

/* Адаптив */
@media (max-width: 600px) {
    .fb-row {
        flex-direction: column;
        gap: 0;
    }
    .fb-col-1, .fb-col-2 {
        width: 100%;
    }
    .feedback-intro,
    .feedback-contact {
        padding: 14px 16px;
    }
}
/* Карточка статуса: крупная, заметная, в стиле сайта */
.fb-msg-modern-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 800px;
    margin: 60px auto; /* Большой отступ сверху, чтобы не прилипало к меню */
    padding: 32px 40px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e0e4e8;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

/* Акцентная полоса слева (цвет шапки сайта) */
.fb-msg-modern-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 8px;
    background-color: #1e4fa1; /* ← ВСТАВЬ СЮДА ЦВЕТ ТВОЕЙ СИНЕЙ ШАПКИ */
}

/* Блок с иконкой */
.fb-msg-icon-box {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f5f8fb;
    color: #2d4a7a; /* Цвет иконки под основной цвет сайта */
    font-size: 32px;
    margin-right: 24px;
}

/* Блок с текстом */
.fb-msg-content-box {
    flex: 1;
    min-width: 0;
}

/* Заголовок: крупный и жирный */
.fb-msg-title {
    margin: 0 0 12px 0;
    font-size: 24px;       /* Крупный шрифт */
    font-weight: 700;
    color: #1a1f2e;
    line-height: 1.2;
}

/* Описание: чуть мельче, но читаемо */
.fb-msg-desc {
    margin: 0;
    font-size: 16px;       /* Читаемый размер */
    color: #5f697a;
    line-height: 1.5;
}

/* Кнопка: крупная, акцентная (оранжевая) */
.fb-msg-btn {
    flex-shrink: 0;
    padding: 16px 32px;    /* Крупные отступы внутри кнопки */
    background-color: #f39c12; /* ← ВСТАВЬ СЮДА ЦВЕТ ТВОЕГО ОРАНЖЕВОГО АКЦЕНТА */
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    font-size: 16px;       /* Крупный текст в кнопке */
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.fb-msg-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
    filter: brightness(1.1);
}

/* Адаптив для мобильных: всё выстраивается в колонку */
@media (max-width: 768px) {
    .fb-msg-modern-card {
        flex-direction: column;
        text-align: center;
        padding: 32px 20px;
        gap: 24px;
    }
    .fb-msg-modern-card::before {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        height: 6px;
        border-radius: 8px;
    }
    .fb-msg-icon-box {
        margin-right: 0;
    }
    .fb-msg-title {
        font-size: 22px;
    }
}