/* 通用用户页面样式 - 简洁紧凑版 */
* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; 
    background: #f5f5f5;
    min-height: 100vh;
    padding-bottom: 10px;
}

/* 头部 */
.header {
    background: #fff;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-left { 
    width: 40px; 
}
.header-left a {
    color: #c35454;
    font-size: 16px;
    text-decoration: none;
}
.header-title { 
    font-size: 16px; 
    font-weight: 600; 
    color: #e3522f; 
}
.header-right { 
    width: 30px; 
}

/* 内容卡片 */
.content-card {
    background: #fff;
    margin: 10px;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.content-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

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

.form-label {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
}

.form-input:focus {
    outline: none;
    border-color: #f5a623;
}

.form-textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    resize: vertical;
    min-height: 80px;
}

/* 按钮 */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #f5a623;
    color: white;
}

.btn-primary:active {
    opacity: 0.8;
}

.btn-block {
    width: 100%;
    display: block;
}

.btn-secondary {
    background: #f0f0f0;
    color: #666;
}

/* 列表 */
.list-item {
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.list-label {
    font-size: 13px;
    color: #666;
}

.list-value {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

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

.empty-state img {
    width: 100px;
    opacity: 0.3;
    margin-bottom: 15px;
}

.empty-state p {
    font-size: 13px;
    color: #999;
}

/* 表格 */
.table {
    width: 100%;
    font-size: 13px;
}

.table th {
    background: #f8f9fa;
    padding: 10px;
    text-align: left;
    font-weight: 600;
    color: #666;
    font-size: 12px;
}

.table td {
    padding: 10px;
    border-bottom: 1px solid #f5f5f5;
    color: #333;
}

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

/* 标签 */
.badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

.badge-success {
    background: #e8f5e9;
    color: #4CAF50;
}

.badge-warning {
    background: #fff3e0;
    color: #FF9800;
}

.badge-danger {
    background: #ffebee;
    color: #f44336;
}

.badge-info {
    background: #e3f2fd;
    color: #2196F3;
}

/* 分隔线 */
.divider {
    height: 1px;
    background: #f0f0f0;
    margin: 15px 0;
}

/* 提示文字 */
.text-muted {
    color: #999;
    font-size: 12px;
}

.text-primary {
    color: #f5a623;
}

.text-success {
    color: #4CAF50;
}

.text-danger {
    color: #f44336;
}

/* 信息盒子 */
.info-box {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.info-box p {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
    margin: 5px 0;
}

/* 统计卡片 */
.stat-card {
    background: #fff;
    margin: 10px;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: center;
}

.stat-value {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: #999;
}
