/* 自定义样式 */

/* 确保触控区域足够大 */
button, 
input[type="button"], 
input[type="submit"], 
.btn,
.form-check-label {
    min-height: 44px;
    min-width: 44px;
    padding: 10px 16px;
    touch-action: manipulation;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 14px;
    }
    
    .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .btn-group {
        display: flex;
        flex-direction: column;
    }
}

/* 卡片样式 */
.card {
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
}

/* 统计数字样式 */
.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #0d6efd;
}

.stat-label {
    color: #6c757d;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 表单样式 */
.form-label {
    font-weight: 600;
    margin-bottom: 8px;
}

/* 表格样式 */
.table-hover tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.05);
}

/* 状态标签 */
.status-badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-present {
    background-color: #d1e7dd;
    color: #0f5132;
}

.status-absent {
    background-color: #f8d7da;
    color: #842029;
}

.status-eat {
    background-color: #cff4fc;
    color: #055160;
}

.status-not-eat {
    background-color: #fff3cd;
    color: #664d03;
}