/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

/* 容器 */
.container {
    max-width: 750px;
    margin: 0 auto;
    padding: 0;
}

/* 标题 */
.page-title {
    font-size: 17px;
    font-weight: 400;
    text-align: center;
    padding: 30px 20px 20px;
    color: #000;
}

/* 列表容器 */
.list-container {
    background: #fff;
    margin: 0 0 40px 0;
    border-top: 0.5px solid #e5e5e5;
    border-bottom: 0.5px solid #e5e5e5;
}

/* 列表项 */
.list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 15px;
    border-bottom: 0.5px solid #e5e5e5;
    cursor: pointer;
    transition: background-color 0.15s;
    background: #fff;
}

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

.list-item:active {
    background-color: #f2f2f2;
}

.list-item-title {
    flex: 1;
    font-size: 14px;
    color: #000;
    line-height: 1.4;
    padding-right: 10px;
}

.list-item-arrow {
    flex-shrink: 0;
    color: #c7c7cc;
    font-size: 20px;
    font-weight: 300;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.15s;
    text-align: center;
    font-weight: 500;
}

.btn:active {
    opacity: 0.7;
}

.btn-primary {
    background-color: #007aff;
    color: #fff;
}

.btn-success {
    background-color: #34c759;
    color: #fff;
}

.btn-danger {
    background-color: #ff3b30;
    color: #fff;
}

.btn-warning {
    background-color: #ff9500;
    color: #fff;
}

.btn-secondary {
    background-color: #8e8e93;
    color: #fff;
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 400;
    color: #000;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 0.5px solid #c6c6c8;
    border-radius: 10px;
    transition: border-color 0.15s;
    background: #fff;
}

.form-control:focus {
    outline: none;
    border-color: #007aff;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

/* 表格样式 */
.table {
    width: 100%;
    background: #fff;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
    border: 0.5px solid #e5e5e5;
}

.table th,
.table td {
    padding: 14px 15px;
    text-align: left;
    border-bottom: 0.5px solid #e5e5e5;
    font-size: 14px;
}

.table th {
    background-color: #f9f9f9;
    font-weight: 500;
    color: #000;
}

.table tr:last-child td {
    border-bottom: none;
}

.table tr:active {
    background-color: #f2f2f2;
}

/* 卡片样式 */
.card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    border: 0.5px solid #e5e5e5;
    margin-bottom: 20px;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #000;
}

/* 消息提示 */
.alert {
    padding: 14px 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success {
    background-color: #d1f4e0;
    color: #248a3d;
}

.alert-error {
    background-color: #ffd3d0;
    color: #c41e3a;
}

.alert-info {
    background-color: #d0e9ff;
    color: #0051a5;
}

/* 操作按钮组 */
.action-buttons {
    display: flex;
    gap: 10px;
}

.action-buttons .btn {
    padding: 6px 12px;
    font-size: 13px;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #8e8e93;
}

.empty-state-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state-text {
    font-size: 15px;
}

/* 响应式 */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .list-item {
        padding: 15px;
    }
    
    .card {
        padding: 16px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons .btn {
        width: 100%;
    }
}

