.b24lf-no-scroll {
    overflow: hidden;
}

.b24lf-wrapper {
    max-width: 560px;
}

.b24lf-title {
    margin: 0 0 18px;
    font-size: 30px;
    line-height: 1.2;
}

.b24lf-form {
    display: block;
}

.b24lf-row {
    margin-bottom: 14px;
}

.b24lf-row input,
.b24lf-row textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 14px;
    border: 1px solid #d8d8d8;
    border-radius: 10px;
    font-size: 15px;
    line-height: 1.3;
    background: #fff;
}

.b24lf-row textarea {
    min-height: 120px;
    resize: vertical;
}

.b24lf-submit,
.b24lf-open-modal {
    display: inline-block;
    padding: 13px 22px;
    border: 0;
    border-radius: 10px;
    background: #0d6efd;
    color: #fff;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: opacity .2s ease;
}

.b24lf-submit:hover,
.b24lf-open-modal:hover {
    opacity: .92;
}

.b24lf-submit[disabled] {
    opacity: .6;
    cursor: not-allowed;
}

.b24lf-message {
    margin-top: 14px;
    font-size: 14px;
}

.b24lf-message.success {
    color: #198754;
}

.b24lf-message.error {
    color: #dc3545;
}

.b24lf-modal-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.58);
    z-index: 99999;
}

.b24lf-modal-overlay.active {
    display: flex;
}

.b24lf-modal {
    position: relative;
    width: 100%;
    max-width: 620px;
    max-height: calc(100vh - 40px);
    overflow: auto;
    background: #fff;
    border-radius: 18px;
    padding: 28px 24px 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.b24lf-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: 0;
    background: transparent;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}
