* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #f5f7fa;
    color: #333;
    line-height: 1.5;
    padding: 15px;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 20px;
}

h1 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

h2 {
    font-size: 1.4rem;
    margin: 20px 0 10px;
    color: #34495e;
}

input, textarea, button, select {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

button {
    background: #3498db;
    color: white;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

button:hover {
    background: #2980b9;
}

button.danger {
    background: #e74c3c;
}

button.danger:hover {
    background: #c0392b;
}

button.success {
    background: #27ae60;
}

button.success:hover {
    background: #229954;
}

.error {
    background: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 8px;
    margin: 10px 0;
}

.success {
    background: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 8px;
    margin: 10px 0;
}

/* 导航栏 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    background: white;
    padding: 10px 15px;
    border-radius: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.nav-links a {
    margin-left: 15px;
    text-decoration: none;
    color: #3498db;
    font-weight: 500;
}

.nav-links a:hover {
    text-decoration: underline;
}

/* 任务列表 */
.task-list {
    list-style: none;
}

.task-item {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.task-item:last-child {
    border-bottom: none;
}

.task-title {
    font-size: 1.2rem;
    font-weight: bold;
}

.task-meta {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-top: 5px;
}

/* 步骤样式 */
.step {
    margin: 15px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
}

.step-image {
    max-width: 100%;
    max-height: 200px;
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* 口令复制框 */
.command-box {
    background: #f0f0f0;
    padding: 10px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 15px 0;
}

.command-text {
    font-family: monospace;
    font-size: 1.1rem;
    word-break: break-all;
}

.copy-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 5px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
}

/* 帮助申请卡片 */
.help-card {
    border: 1px solid #eee;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
}

.help-screenshot {
    max-width: 300px;
    max-height: 200px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-top: 10px;
}

/* 状态标签 */
.status-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}
.status-pending { background: #f39c12; color: white; }
.status-approved { background: #27ae60; color: white; }
.status-rejected { background: #e74c3c; color: white; }

/* 发布资格提示 */
.qualification-box {
    background: #e8f4fd;
    border-left: 4px solid #3498db;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

/* 发布页步骤项 */
.step-item {
    background: #f9f9f9;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    position: relative;
}
.remove-step {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e74c3c;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;           /* 启用 Flexbox */
    align-items: center;     /* 垂直居中 */
    justify-content: center; /* 水平居中 */
    padding: 0;              /* 清除默认内边距 */
    line-height: 1;          /* 可选，确保文字高度 */
}