.wpp-auth-modal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.wpp-auth-modal-content {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    width: 350px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.wpp-auth-modal-content h3 {
    margin-top: 20px;
    font-size: 18px;
    color: #333;
}

.wpp-auth-modal form {
    margin-bottom: 15px;
}

.wpp-auth-modal label {
    display: block;
    margin: 8px 0 4px;
    font-size: 14px;
    color: #555;
}

.wpp-auth-modal input[type="text"],
.wpp-auth-modal input[type="email"],
.wpp-auth-modal input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.wpp-auth-modal button[type="submit"] {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
}

.wpp-auth-modal button[type="submit"]:hover {
    background: #005a87;
}

.wpp-error-message {
    color: #d63638;
    font-size: 14px;
    margin-top: 10px;
}

.wpp-error-message p {
    margin: 5px 0;
}

/* Крестик для закрытия */
.close-modal {
    position: absolute;
    top: -13px;
    right: 10px;
    color: #d63638;
    cursor: pointer;
    font-size: 37px;
    transition: all .3s;
}

.close-modal:hover {
    color: #e11619;
}

/* Лоадер на кнопке */
.wpp-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: wpp-spin 1s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes wpp-spin {
    to { transform: rotate(360deg); }
}

/* Стиль кнопки при загрузке */
button:disabled,
input[type="submit"]:disabled {
    opacity: 0.8;
    cursor: not-allowed;
}