/* 全局样式 */
body { font-size: 0.9rem; min-height: 100vh; }

/* 卡片悬停 */
.card-hover:hover {
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1) !important;
    transition: box-shadow 0.2s;
    cursor: pointer;
}

/* 照片网格 */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}
.photo-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
    background: #e9ecef;
}
.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.photo-card.selected {
    outline: 3px solid #0d6efd;
    outline-offset: -3px;
}
.photo-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 4px 8px;
    font-size: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.photo-card .status-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    font-size: 0.7rem;
}

/* 看板列 */
.kanban-column {
    min-height: 300px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 10px;
}
.kanban-column .card {
    margin-bottom: 8px;
    cursor: pointer;
}

/* 工作留痕时间线 */
.timeline {
    position: relative;
    padding-left: 30px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #dee2e6;
}
.timeline-item {
    position: relative;
    margin-bottom: 20px;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0d6efd;
}
.timeline-item .time {
    font-size: 0.75rem;
    color: #6c757d;
}

/* 标签 */
.badge-draft { background: #6c757d; }
.badge-in_progress { background: #0d6efd; }
.badge-review { background: #ffc107; color: #000; }
.badge-approved { background: #198754; }
.badge-published { background: #0dcaf0; }
.badge-cancelled { background: #dc3545; }

/* 响应式调整 */
@media (max-width: 768px) {
    .photo-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    .kanban-column { min-height: 100px; margin-bottom: 12px; }
}

/* 加载动画 */
.spinner-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* 导航激活态 */
.nav-link.active { font-weight: 600 !important; }

/* Toast */
.toast-container {
    position: fixed;
    top: 70px;
    right: 20px;
    z-index: 1050;
}

/* 空状态 */
.empty-state {
    padding: 60px 20px;
    text-align: center;
    color: #adb5bd;
}
.empty-state i { font-size: 3rem; display: block; margin-bottom: 12px; }

/* 表单 */
.form-label { font-weight: 500; }

/* 评分星星 */
.star-rating { cursor: pointer; font-size: 1.2rem; }
.star-rating .bi { color: #dee2e6; }
.star-rating .bi.active { color: #ffc107; }

/* 相册封面 */
.album-cover {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    background: #e9ecef;
}
