.feedback-modal {
    box-sizing: border-box;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    padding: 32px 36px 36px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 24px 64px rgba(17, 28, 45, 0.12);
    display: flex;
    flex-direction: column;
}

.feedback-modal h3 {
    margin: 0 0 24px;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 600;
    color: #1c1f2a;
}

.feedback-modal .form-row {
    position: relative;
    margin-bottom: 18px;
}

.feedback-modal .form-row:last-child {
    margin-bottom: 0;
}

.feedback-modal .form-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.feedback-modal .form-control {
    width: 100%;
}

.feedback-modal input[type="text"],
.feedback-modal input[type="email"],
.feedback-modal input[type="tel"],
.feedback-modal textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 16px 18px;
    border-radius: 8px;
    height: 42px;
    border: 1px solid #e1e4ef;
    background: #f7f8fc;
    font-size: 16px;
    line-height: 1.4;
    color: #1c1f2a;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.feedback-modal textarea {
    min-height: 132px;
    resize: vertical;
}

.feedback-modal input[type="text"]::placeholder,
.feedback-modal input[type="email"]::placeholder,
.feedback-modal input[type="tel"]::placeholder,
.feedback-modal textarea::placeholder {
    color: #8c91a5;
}

.feedback-modal input[type="text"]:focus,
.feedback-modal input[type="email"]:focus,
.feedback-modal input[type="tel"]:focus,
.feedback-modal textarea:focus {
    outline: none;
    border-color: #e94b4b;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(233, 75, 75, 0.14);
}

.feedback-modal .captcha-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.feedback-modal .captcha-row img {
    border-radius: 8px;
    border: 1px solid #e1e4ef;
}

.feedback-modal .captcha-row input[type="text"] {
    flex: 1 1 160px;
}

.feedback-modal .form-actions {
    margin-top: 12px;
}

.feedback-modal .button {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid #e94b4b;
    background: #ffffff;
    color: #e94b4b;
    text-transform: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    justify-content: center;
}

.feedback-modal .button:hover,
.feedback-modal .button:focus {
    background: #e94b4b;
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(233, 75, 75, 0.25);
    outline: none;
}

.feedback-modal .button:active {
    background: #d73f3f;
    border-color: #d73f3f;
}

.feedback-modal .required {
    color: #e94b4b;
}

@media (max-width: 575px) {
    .feedback-modal {
        padding: 28px 24px 32px;
        border-radius: 8px;
    }

    .feedback-modal h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }
}
