/**
 * 用户账号删除系统 - 样式表
 * 子比主题风格
 */

/* 删除账号容器 */
.uad-delete-account-container {
    margin: 20px 0;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
}

/* 表单样式 */
#uad-delete-account-form,
#uad-cancel-deletion-form {
    max-width: 600px;
    margin: 0 auto;
}

/* 表单样式 */
.uad-delete-account-form label {
    display: block;
    margin-bottom: 8px;
    color: #333;
}

.uad-delete-account-form input[type="email"],
.uad-delete-account-form input[type="password"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
}

/* 警告文本 */
.uad-delete-warning {
    background-color: #fff8f7;
    border-left: 3px solid #ff3f2b;
    padding: 12px 15px;
    margin-bottom: 20px;
    color: #333;
}

/* 确认复选框 */
.uad-checkbox-confirm {
    margin-bottom: 20px;
}

/* 删除按钮 */
.uad-delete-button {
    background-color: #ff3f2b;
    color: white;
    border: none;
    padding: 10px 18px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 4px;
}

.uad-cancel-button {
    background-color: #4caf50;
    color: white;
    border: none;
    padding: 10px 18px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 4px;
}

/* 消息样式 */
.uad-message {
    margin-top: 15px;
    padding: 10px 15px;
    border-radius: 4px;
    display: none;
}

.uad-success {
    background-color: #f1f9f1;
    border-left: 3px solid #4caf50;
    color: #2e7d32;
    padding: 12px 15px;
}

.uad-error {
    background-color: #fff8f7;
    border-left: 3px solid #ff3f2b;
    color: #d32f2f;
    padding: 12px 15px;
}

/* 邮箱确认区域 */
.uad-confirm-email, 
.uad-confirm-password {
    margin-bottom: 15px;
}

/* 待处理删除请求 */
.uad-pending-request {
    background-color: #fff8e1;
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid #ffc107;
    margin-bottom: 20px;
}

.uad-pending-message {
    font-size: 14px;
    color: #333;
    margin-bottom: 20px;
    padding: 12px 15px;
    background-color: #fff8f7;
    border-left: 3px solid #ff9800;
}

/* 登录取消通知 */
.uad-login-notice {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 20px;
    background-color: #4CAF50;
    color: white;
    border-radius: 5px;
    z-index: 9999;
    box-shadow: 0 2px 5px rgba(0,0,0,.2);
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 模态框样式 */
.uad-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    overflow: auto;
}

.uad-modal-content {
    position: relative;
    background-color: #fff;
    margin: 10% auto;
    padding: 25px;
    width: 90%;
    max-width: 450px;
}

.uad-close {
    position: absolute;
    right: 15px;
    top: 15px;
    color: #999;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.uad-modal h2 {
    margin-top: 0;
    color: #333;
    font-size: 20px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.uad-modal-message {
    margin-bottom: 15px;
    padding: 12px;
}

.uad-modal-body {
    margin-top: 15px;
}

/* 冷静期提示 */
.uad-cooling-period {
    margin-top: 15px;
    padding: 10px;
    background-color: #e3f2fd;
    border-left: 4px solid #2196F3;
    font-style: italic;
    color: #0d47a1;
}

/* 响应式样式 */
@media (max-width: 768px) {
    .uad-modal-content {
        width: 95%;
        margin: 15% auto;
        padding: 20px;
    }
    
    .uad-delete-button, 
    .uad-cancel-button {
        width: 100%;
    }
    
    .uad-login-notice {
        left: 20px;
        right: 20px;
        bottom: 20px;
        text-align: center;
    }
}

/* 删除账号按钮 - 子比主题风格 */
.uad-delete-account-button {
    display: block;
    width: 100%;
    padding: 6px 12px;
    background-color: #ff3f2b;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    text-align: center;
    margin-top: 6px;
    border-radius: 4px;
}

.uad-delete-account-button:hover {
    color: #fff;
    text-decoration: none;
    opacity: 0.9;
}

/* 通知样式 */
.uad-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100000;
    padding: 15px 20px;
    max-width: 320px;
    font-size: 14px;
    background-color: #fff;
    border-left: 3px solid #ff3f2b;
}

/* 仪表盘部分样式 */
.uad-dashboard-section {
    margin-top: 25px;
    padding: 20px;
    background-color: #fff;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.uad-dashboard-section h3 {
    margin-top: 0;
    color: #333;
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
}

.uad-dashboard-section p {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.6;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .uad-notification {
        width: 90%;
        right: 5%;
        left: 5%;
        max-width: none;
    }
}

/* 表单组样式 */
.uad-form-group {
    margin-bottom: 15px;
}

.uad-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.uad-form-group input[type="email"],
.uad-form-group input[type="password"],
.uad-form-group input[type="text"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
}

/* 表单操作区域 */
.uad-form-actions {
    margin-top: 20px;
    text-align: center;
}

/* 重定向消息和倒计时样式 */
.uad-success-message {
    font-size: 16px;
    color: #2e7d32;
    margin-bottom: 15px;
    text-align: center;
}

.uad-redirect-message {
    font-size: 14px;
    color: #555;
    text-align: center;
    margin-top: 20px;
}

#uad-countdown {
    font-weight: bold;
    color: #f44336;
    font-size: 18px;
} 