.lpp-regulamin-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lpp-regulamin-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    cursor: pointer;
}

.lpp-regulamin-modal__box {
    position: relative;
    z-index: 1;
    background: #ffffff;
    border-radius: 8px;
    padding: 40px 36px 32px;
    max-width: 520px;
    width: calc(100% - 40px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
    font-family: "Fustat", sans-serif;
}

.lpp-regulamin-modal__close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: #716c6c;
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.2s;
}

.lpp-regulamin-modal__close:hover {
    color: #003e80;
}

.lpp-regulamin-modal__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lpp-regulamin-modal__label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.55;
    color: #1e1e1e;
}

.lpp-regulamin-modal__checkbox {
    flex-shrink: 0;
    margin-top: 2px;
    width: 18px;
    height: 18px;
    accent-color: #003e80;
    cursor: pointer;
    -webkit-appearance: checkbox;
    -moz-appearance: checkbox;
    appearance: checkbox;
    border-radius: 0;
    border: 1px solid #C2C2C2;
}

.lpp-regulamin-modal__label a {
    color: #003e80;
    text-decoration: underline;
}

.lpp-regulamin-modal__label a:hover {
    color: #0057b6;
}

.lpp-regulamin-modal__btn {
    align-self: flex-end;
    background-color: #003e80;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 12px 28px;
    font-size: 14px;
    font-family: "Fustat", sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, opacity 0.2s;
    letter-spacing: 0.02em;
}

.lpp-regulamin-modal__btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.lpp-regulamin-modal__btn:not(:disabled):hover {
    background-color: #0057b6;
}

@media (max-width: 499px) {
    .lpp-regulamin-modal__box {
        padding: 32px 20px 24px;
    }

    .lpp-regulamin-modal__btn {
        align-self: stretch;
        text-align: center;
    }
}
