/* 基础样式 - 可根据主题需求修改 */
.wpul-actions {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.wpul-logout-link,
.wpul-delete-link {
    display: inline-block;
    padding: 6px 12px;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

/* 注销按钮样式 */
.wpul-logout-link {
    background: #007cba;
    color: white;
    border: 1px solid #006ba1;
}

.wpul-logout-link:hover {
    background: #006ba1;
    color: white;
}

/* 删除账号按钮样式 */
.wpul-delete-link {
    background: #dc3232;
    color: white;
    border: 1px solid #b32929;
}

.wpul-delete-link:hover {
    background: #b32929;
    color: white;
}

/* 弹窗基础样式 */
.wpul-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    overflow: auto;
}

.wpul-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.wpul-modal-content {
    position: relative;
    background: #fff;
    margin: 10% auto;
    padding: 25px;
    width: 90%;
    max-width: 500px;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* 弹窗关闭按钮 */
.wpul-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #666;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.wpul-modal-close:hover {
    color: #333;
}

/* 弹窗按钮样式 */
.wpul-modal-buttons {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.wpul-btn-cancel,
.wpul-btn-confirm,
.wpul-btn-danger {
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    border: none;
}

.wpul-btn-cancel {
    background: #f0f0f1;
    color: #3c434a;
}

.wpul-btn-cancel:hover {
    background: #dcdcde;
}

.wpul-btn-confirm {
    background: #007cba;
    color: white;
}

.wpul-btn-confirm:hover {
    background: #006ba1;
}

.wpul-btn-danger {
    background: #dc3232;
    color: white;
}

.wpul-btn-danger:hover {
    background: #b32929;
}

/* 表单样式 */
#wpul-password-form input[name="user_password"],
#wpul-delete-form input[type="checkbox"] {
    margin: 10px 0;
}

#wpul-password-form input[name="user_password"] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

/* 警告信息样式 */
.warning {
    color: #dc3232;
    font-weight: bold;
    margin: 15px 0 10px;
}

.warning-list {
    color: #646970;
    margin: 10px 0 20px 25px;
}

.warning-list li {
    margin-bottom: 5px;
}

/* 防止页面滚动 */
body.wpul-modal-open {
    overflow: hidden;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .wpul-modal-content {
        margin: 20% auto;
        padding: 20px;
    }
    
    .wpul-modal-buttons {
        flex-direction: column;
    }
    
    .wpul-modal-buttons button,
    .wpul-modal-buttons a {
        width: 100%;
        text-align: center;
    }
}
    