.feedback-form-container {
    max-width: 530px;
    margin: 30px 0;
    padding: 0px;
}
.feedback-form-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
    position: relative;
    span {
        font-size: 24px;
        font-weight: 700;
        color: #000;
    }
    &:before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 30%;
        height: 2px;
        background: #000;
    }
}
.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}

/* Заголовок */
.feedback-form h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #000;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 15px;
}

/* Toggle Switch Styles */
.toggle-switch {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.toggle-label {
    color: #000;
    font-size: 20px;
    font-weight: 600;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 32px;
    margin: 0 15px;
}

.toggle-input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #eeeeee;
    transition: .4s;
    border-radius: 34px;
    width: 65px;
    height: 28px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 32px;
    width: 32px;
    left: 0px;
    bottom: -2px;
    background-color: #0CC8D9;
    transition: .4s;
    border-radius: 50%;
}


.toggle-input:checked + .slider:before {
    transform: translateX(32px);
}

/* Input Styles */
.input-wrap {
    position: relative;
}

.input-wrap label {
    display: block;
    margin-bottom: 10px;
    color: #000;
    font-size: 20px;
    font-weight: 500;
    margin-left: 20px;
}

.input-wrap input,
.input-wrap textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 20px;
    color: #000;
    background:  #FAFAFA;
    font-family: 'Fira Sans Extra Condensed',sans-serif;
    line-height: 1;
}

.input-wrap input::placeholder,
.input-wrap textarea::placeholder {
    color: #999;
    font-family: 'Fira Sans Extra Condensed',sans-serif;
    line-height: 1;
    font-size: 20px;
}

.input-wrap textarea {
    min-height: 150px;
    resize: vertical;
}

.input-wrap.error input,
.input-wrap.error textarea {
    border-color: #ff0000;
}

.error-message {
    display: none;
    color: #ff0000;
    font-size: 12px;
    margin-top: 5px;
    margin-left: 20px;
    position: relative;
}

.input-wrap.error .error-message {
    display: block;
}

/* Acceptance Checkbox */
.acceptance {
    margin: 0;
    flex: 1;
}

.acceptance label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    position: relative;
    font-family: 'Fira Sans Extra Condensed',sans-serif;
    line-height: 1;
    margin: 0;
}

.acceptance input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.acceptance label span {
    padding-left: 25px;
}

.acceptance label span:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 15px;
    height: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background-color: #fff;
    transition: all 0.2s ease;
}

.acceptance input[type="checkbox"]:checked + span:before {
    background-color: #fff;
    border-color: #000;
}

.acceptance input[type="checkbox"]:checked + span:after {
    content: '';
    position: absolute;
    left: 5px;
    top: 3px;
    width: 5px;
    height: 8px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}


/* Submit Button */
.submit-button {
    margin: 0;
    min-width: 150px;
    align-self: center;
    background: #fff;
    border: 1px solid #000;
    border-radius: 8px;
    color: #000;
    font-size: 16px;
    padding: 10px 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: 500;
    position: relative;
}

.submit-button:hover:not(.disabled) {
    background: #f5f5f5;
    color: #000;
    border: 1px solid #000;
}

.submit-button.disabled {
    background: #fff;
    color: #e0e0e0;
    border: 1px solid #e0e0e0;
    cursor: not-allowed;
}

.submit-button.loading {
    color: transparent;
    pointer-events: none;
}

.submit-button.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 2px solid #000;
    border-radius: 50%;
    border-top-color: #fff;
    animation: button-loading-spinner 0.8s linear infinite;
}

@keyframes button-loading-spinner {
    from {
        transform: rotate(0turn);
    }
    to {
        transform: rotate(1turn);
    }
}

/* ReCaptcha */
.g-recaptcha {
    margin: 20px 0;
}

/* Success Message */
.success-message {
    padding: 15px;
    background: #4caf5040;
    color: #6a8c6b;
    border-radius: 4px;
    text-align: center;
    margin-top: 20px;
    display: none;
}

/* Стили для вывода результатов */
.feedback-results {
    margin-top: 30px;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 4px;
    display: none;
}

.feedback-results h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.feedback-results dl {
    margin: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
}

.feedback-results dt {
    font-weight: bold;
    color: #666;
}

.feedback-results dd {
    margin: 0;
    color: #333;
}

/* Контейнер для чекбокса и кнопки */
.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
} 

@media (max-width: 768px) {
    .feedback-form-container {
        max-width: 100%;
    }
    .toggle-label {
        font-size: 16px;
    }

    .input-wrap input, .input-wrap textarea {
        font-size: 16px;
    }
    .input-wrap input::placeholder, .input-wrap textarea::placeholder {
        font-size: 16px;
    }
    .submit-button {
        font-size: 16px;
    }
}