/* Базовые стили для модальных окон */
.leads-manager-modal,
.leads-manager-modal-thanks {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    overflow-y: auto;
}

.leads-manager-modal.active,
.leads-manager-modal-thanks.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Анимация появления */
@keyframes modalShow {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.leads-manager-modal.active .modal-content,
.leads-manager-modal-thanks.active .modal-content {
    animation: modalShow 0.3s ease-out;
}

.leads-manager-disabled input[type="submit"] {
    cursor: pointer;
    opacity: 0.8;
    pointer-events: none;
}

/* File error state */
.form__row.file-error .input-file-text.failed-file {
    color: #ff3b30;
}

.form__row.file-error .input-file {
    border-color: #ff3b30;
}

/* Disabled button state */