

/* Start:/feedback/feedback.css?175681907113724*/
/**
 * @file: feedback.css
 * @description: Стили для раздела "Партнерам" - современный адаптивный дизайн
 * @dependencies: основные стили сайта
 * @created: 2024-12-19
 */

/* Общие стили для раздела feedback */
.feedback-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 100vh;
}

/* Навигационные карточки */
.feedback-menu {
    margin-top: 40px;
}

.feedback-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feedback-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid #f0f0f0;
}

.feedback-title,
.feedback-text {
    color: #333 !important;
}

.feedback-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(238, 56, 49, 0.15);
}

.card-icon {
    color: #ee3831;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.feedback-card h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
}

.feedback-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 16px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: #ee3831;
    color: white;
}

.btn-primary:hover {
    background: #d32f2a;
    transform: translateY(-2px);
}

.btn-primary:active {
    background: #c22920;
    transform: translateY(0px);
    box-shadow: 0 2px 8px rgba(238, 56, 49, 0.3);
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(238, 56, 49, 0.2);
}

/* Убираем стандартный синий фон при клике на кнопки */
.btn,
.btn:active,
.btn:focus,
.btn:hover {
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Явно переопределяем стандартные стили браузера для ссылок-кнопок */
a.btn:focus,
a.btn:active {
    background-color: #ee3831 !important;
    color: white !important;
    text-decoration: none !important;
}

a.btn-primary:active,
a.btn-primary:focus {
    background-color: #c22920 !important;
    color: white !important;
}

/* Стили форм */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.form-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e8ecef;
}

.form-title {
    text-align: center;
    color: #333;
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: 600;
}

.form-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
}

/* Стили полей формы */
.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.form-label .required {
    color: #ee3831;
    margin-left: 3px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fff;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(238, 56, 49, 0.1);
}

.form-control:invalid {
    border-color: #dc3545;
}

select.form-control {
    cursor: pointer;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Скрытые поля */
.hidden-field {
    display: none;
    animation: slideDown 0.3s ease;
}

.hidden-field.show {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 200px;
    }
}

/* Файлы */
.file-upload {
    position: relative;
    display: inline-block;
    width: 100%;
}

.file-upload input[type='file'] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-label {
    display: block;
    padding: 12px 16px;
    border: 2px dashed #ccc;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
}

.file-upload-label:hover {
    background: #fff;
}

.file-upload-text {
    color: #666;
}

.file-upload.has-file .file-upload-label {
    border-color: #28a745;
    background: #f8fff9;
}

/* Checkbox и radio */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    cursor: pointer;
    color: #333;
}
.checkbox-group input {
    max-width: 100px;
}

.checkbox-group label {
    color: #333;
}

.checkbox-group input[type='checkbox'],
.checkbox-group input[type='radio'] {
    margin-right: 12px;
    margin-top: 4px;
    transform: scale(1.3);
    accent-color: #ee3831;
}

/* Убираем стандартные серые фоны браузера */
input:focus,
button:focus,
select:focus,
textarea:focus {
    outline: none;
}

button:active,
input[type='submit']:active,
input[type='button']:active {
    background-color: inherit;
}

/* Убираем стандартные стили для чекбоксов в разных браузерах */
input[type='checkbox']:focus {
    outline: 2px solid rgba(238, 56, 49, 0.3);
    outline-offset: 2px;
}

/* Стили для контейнера согласий */
.consent-container {
    margin: 20px 0;
    padding: 20px;
    background-color: #fafbfc;
    border-radius: 8px;
    border: 1px solid #e8ecef;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.consent-container .checkbox-group {
    margin-bottom: 12px;
    padding: 8px;
    transition: background-color 0.2s;
    border-radius: 4px;
}

.consent-container .checkbox-group:hover {
    background-color: rgba(238, 56, 49, 0.02);
    border-radius: 6px;
}

.consent-container .checkbox-group:last-of-type {
    margin-bottom: 10px;
}

/* Стили для уведомления о хранении данных */
.data-storage-notice {
    background-color: #f0f8ff;
    border: 1px solid #d4edfc;
    border-radius: 6px;
    padding: 12px 15px;
    margin-top: 15px;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.data-storage-notice small {
    font-size: 12px;
    color: #5a6c7d;
    line-height: 1.5;
    display: block;
}

.data-storage-notice .fa-info-circle {
    margin-right: 8px;
    margin-top: 2px;
    color: #5a6c7d;
    flex-shrink: 0;
}

.checkbox-label {
    color: #333;
    line-height: 1.5;
    cursor: pointer;
}

.checkbox-label a {
    color: #ee3831;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Кнопки отправки */
.submit-btn {
    background: #ee3831;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 20px;
}

.submit-btn:hover:not(:disabled) {
    background: #d32f2a;
    transform: translateY(-2px);
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.submit-btn:active {
    background: #c22920;
    transform: translateY(0px);
    box-shadow: 0 2px 8px rgba(238, 56, 49, 0.3);
}

.submit-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(238, 56, 49, 0.2);
}

/* Уведомления */
.notification {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: none;
}

.notification.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    padding: 20px;
}

.notification.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Политика конфиденциальности */
.policy-text {
    font-size: 13px;
    color: #777;
    text-align: center;
    margin-top: 20px;
    line-height: 1.5;
}

.policy-text a {
    color: #ee3831;
    text-decoration: none;
}

.policy-text a:hover {
    text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 768px) {
    .feedback-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feedback-card {
        padding: 25px 20px;
    }

    .form-card {
        padding: 30px 20px;
        margin: 10px;
    }

    .form-title {
        font-size: 24px;
    }

    .feedback-section {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .feedback-card h2 {
        font-size: 20px;
    }

    .feedback-card p {
        font-size: 14px;
    }

    .form-title {
        font-size: 22px;
    }

    .btn {
        padding: 10px 25px;
        font-size: 14px;
    }

    .form-control {
        padding: 10px 14px;
        font-size: 14px;
    }
}

/* Анимации загрузки */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent
    );
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Эффекты при наведении на поля */
.form-group {
    position: relative;
}

.form-control:focus + .form-label,
.form-control:not(:placeholder-shown) + .form-label {
    transform: translateY(-25px) scale(0.9);
}

/* Улучшенные стили для select */
.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '▼';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #666;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.select-wrapper:focus-within::after {
    transform: translateY(-50%) rotate(180deg);
}

/* Дополнительные эффекты для улучшения UX */
.form-control:focus {
    animation: focusPulse 0.3s ease;
}

@keyframes focusPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink-caret {
    from,
    to {
        border-color: transparent;
    }
    50% {
        border-color: #ee3831;
    }
}

/* Индикатор прогресса заполнения формы */
.form-progress {
    width: 100%;
    height: 4px;
    background: #f0f0f0;
    border-radius: 2px;
    margin-bottom: 30px;
    overflow: hidden;
}

.form-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ee3831, #ff6b6b);
    border-radius: 2px;
    transition: width 0.3s ease;
    width: 0%;
}

/* Micro-интерактивность */
.form-control:valid {
    border-color: #28a745;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2328a745' viewBox='0 0 16 16'%3E%3Cpath d='M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
}

/* Стили для планшетов */
@media (max-width: 1024px) and (min-width: 769px) {
    .feedback-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .form-card {
        padding: 35px 25px;
    }

    .feedback-card {
        padding: 25px;
    }
}

/* Улучшенная анимация для кнопок */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

/* Floating labels эффект */
.form-group-floating {
    position: relative;
    margin-bottom: 25px;
}

.form-group-floating .form-control {
    padding: 20px 16px 8px 16px;
}

.form-group-floating .form-label {
    position: absolute;
    top: 16px;
    left: 16px;
    transition: all 0.3s ease;
    pointer-events: none;
    color: #666;
    background: white;
    padding: 0 4px;
}

.form-group-floating .form-control:focus + .form-label,
.form-group-floating .form-control:not(:placeholder-shown) + .form-label {
    top: -8px;
    font-size: 12px;
}

/* Темная тема отключена для лучшей читаемости */

/* Accessibility улучшения */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .form-control {
        border-width: 3px;
    }

    .btn {
        border: 3px solid;
    }
}

/* End */
/* /feedback/feedback.css?175681907113724 */
