.feedback-form-wrapper {
    max-width: 600px;
    margin: 30px auto;
    padding: 0 30px;
    /* padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); */
    /* font-family: 'Arial', sans-serif; */
}

.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 4px;
}

.required {
    color: #e53e3e;
    margin-left: 2px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    color: #2d3748;
    background: #f7fafc;
    transition: all 0.3s ease;
    outline: none;
    box-sizing: border-box;
}

.form-control:focus {
    border-color: #4299e1;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.15);
}

.form-control::placeholder {
    color: #a0aec0;
}

.form-control.error {
    border-color: #fc8181;
    background: #fff5f5;
}

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

/* .btn-submit {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

.btn-submit:active {
    transform: translateY(0);
} */

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

.main-user-consent-request {
    display: flex;

}

.main-user-consent-request span {
    margin-top: 0;
}

.main-user-consent-request input[type="checkbox"] {
    margin-top: 3px;
}


/*  */
.feedback-form-wrapper .form-group {
    margin-bottom: 0;;
}
.feedback-form-wrapper .form-control {
    margin-bottom: 0;
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.feedback-form-wrapper .btn.btn-trans {
    margin-top: 0;
}


/* Сообщения об успехе */
.feedback-success-message {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.success-text {
    font-size: 18px;
    color: #2d3748;
    line-height: 1.6;
    animation: fadeInUp 0.5s ease-out 0.2s backwards;
}

@keyframes fadeInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Сообщения об ошибках */
/* .feedback-error-container {
    margin-bottom: 20px;
} */

.feedback-error-message {
    background: #fff5f5;
    color: #c53030;
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 4px solid #fc8181;
    margin-bottom: 8px;
    font-size: 14px;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-10px);
    }

    75% {
        transform: translateX(10px);
    }
}

/* Адаптация согласий */
.feedback-form .main-user-consent-request {
    margin: 5px 0;
}

.feedback-form .main-user-consent-request a {
    color: #4299e1;
    text-decoration: underline;
}

/* Адаптивный дизайн */
@media (max-width: 768px) {
    .feedback-form-wrapper {
        margin: 20px 10px;
        padding: 20px;
    }

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

    .btn-submit {
        font-size: 14px;
        padding: 12px 20px;
    }
}

/* Индикатор загрузки */
.btn-submit.loading {
    position: relative;
    color: transparent;
}

.btn-submit.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}