/* WBS Elállás 2 – frontend gombok és megerősítő modal */

.wbs-elallas2-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0;
}

.wbs-elallas2-btn {
    display: inline-block;
    padding: 12px 22px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    transition: opacity .15s ease;
    align-self: flex-start;
}

.wbs-elallas2-btn:hover {
    opacity: .9;
    text-decoration: none;
}

.wbs-elallas2-btn[disabled] {
    opacity: .6;
    cursor: not-allowed;
}

/* Modal */
.wbs-elallas2-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    padding: 20px;
}

.wbs-elallas2-modal {
    background: #fff;
    border-radius: 8px;
    max-width: 520px;
    width: 100%;
    padding: 28px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .3);
}

.wbs-elallas2-modal__title {
    margin: 0 0 14px;
    font-size: 20px;
    line-height: 1.3;
    color: #222;
}

.wbs-elallas2-modal__text {
    margin: 0 0 22px;
    font-size: 16px;
    line-height: 1.5;
    color: #222;
}

.wbs-elallas2-modal__text p {
    margin: 0 0 10px;
}

.wbs-elallas2-modal__actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.wbs-elallas2-modal__btn {
    padding: 10px 18px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
}

.wbs-elallas2-modal__btn[disabled] {
    opacity: .6;
    cursor: not-allowed;
}

.wbs-elallas2-modal__btn--cancel {
    background: #e0e0e0;
    color: #333;
}

.wbs-elallas2-modal__btn--confirm {
    background: #d9534f;
    color: #fff;
}

.wbs-elallas2-feedback {
    font-size: 14px;
}

.wbs-elallas2-feedback--ok {
    color: #2e7d32;
}

.wbs-elallas2-feedback--error {
    color: #c62828;
}
