#slp-overlay {
    display: none;
    position: fixed;
    z-index: 999999;
    inset: 0;
    background: rgba(0,0,0,.65);
    padding: 20px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

#slp-overlay.slp-visible {
    display: flex;
}

body.slp-lock {
    overflow: hidden;
}

.slp-popup {
    position: relative;
    width: 100%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-sizing: border-box;
    box-shadow: 0 15px 50px rgba(0,0,0,.30);
}

.slp-close {
    position: absolute;
    top: 8px;
    right: 12px;
    border: 0;
    background: transparent;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    color: #555;
}

.slp-popup h2 {
    margin: 0 35px 20px 0;
    font-size: 26px;
}

.slp-popup p {
    margin: 0 0 15px;
}

.slp-popup label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.slp-popup input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
}

#slp-submit {
    width: 100%;
    padding: 13px;
    border: 0;
    border-radius: 6px;
    background: #2271b1;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

#slp-submit:disabled {
    opacity: .6;
    cursor: wait;
}

.slp-error {
    color: #c62828;
    min-height: 20px;
    margin-bottom: 8px;
}

.slp-success {
    text-align: center;
    padding: 30px 10px;
}

.slp-success-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 30px;
}

.slp-success h3 {
    margin: 0;
}

@media (max-width: 480px) {
    #slp-overlay {
        padding: 10px;
    }

    .slp-popup {
        padding: 22px 17px;
    }
}
