/* 全局样式 */
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f0f0f5; /* 更接近iOS的背景色 */
    color: #333;
    line-height: 1.6;
}

/* 精简标题栏 */
.header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 15px 20px;
    font-size: 26px;
    font-weight: 600;
    color: #333;
    background: #ffffff; /* 标题背景 */
    border-bottom: 1px solid #dcdcdc; /* 更柔和的分割线 */
}

.header-icon {
    font-size: 28px;
    margin-right: 10px;
    color: #007aff; /* iOS 蓝色 */
}

/* 主容器 */
main {
    display: flex;
    justify-content: center;
    padding: 10px 20px;
}

/* 表格容器 */
.table-container {
    background-color: #ffffff; /* 白色背景 */
    border-radius: 12px; /* iOS 风格圆角 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 更轻微的阴影 */
    overflow-x: auto;
    max-width: 100%;
    padding: 20px;
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden; /* 防止边角溢出 */
}

/* 表头 */
th {
    background-color: #f5f5f5; /* 更柔和的灰色背景 */
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    padding: 12px;
    font-size: 13px;
    letter-spacing: 0.5px;
}

/* 表格单元格 */
td {
    padding: 14px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0; /* 更轻微的分割线 */
    font-size: 15px;
    color: #333;
}

tr:nth-child(even) {
    background-color: #fafafa; /* 交替背景色 */
}

/* 状态徽章样式 */
img {
    max-width: 80px;
    height: auto;
}

/* 按钮样式 */
button {
    background-color: #007aff; /* iOS 蓝色 */
    color: white;
    font-size: 16px;
    padding: 12px 24px;
    border-radius: 10px; /* 圆角 */
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #005bb5; /* 按钮悬停颜色 */
}

/* 响应式优化 */
@media (max-width: 768px) {
    .header {
        font-size: 22px;
        padding: 10px 15px;
    }

    .header-icon {
        font-size: 26px;
    }

    th, td {
        font-size: 12px;
        padding: 10px 12px;
    }

    .table-container {
        padding: 15px;
    }

    button {
        font-size: 14px;
        padding: 10px 20px;
        border-radius: 8px; /* 更小的圆角 */
    }
}
