/* ===== Photo Set Page ===== */
.page-photoset { animation: fadeIn 0.4s ease; }

.checkbox-group { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-secondary);
}

.checkbox-item input[type="checkbox"] {
    width: 18px; height: 18px;
    accent-color: var(--accent);
    cursor: pointer;
}

.checkbox-item.checked { color: var(--text-primary); font-weight: 500; }

.photoset-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
}

.photoset-count input {
    width: 50px;
    text-align: center;
    padding: 4px 6px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 13px;
}

/* Three-view display */
.three-view-section { margin-bottom: 24px; }

.three-view-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.three-view-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition);
}

.three-view-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.three-view-image {
    height: 280px;
    background: var(--bg-input);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 13px;
    overflow: hidden;
}

.three-view-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--bg-input);
    cursor: zoom-in;
    display: block;
}

.three-view-label {
    padding: 10px;
    text-align: center;
    font-size: 12.5px;
    font-weight: 550;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
}

/* Batch actions bar */
.batch-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-top: 16px;
}

.batch-info { font-size: 13px; color: var(--text-secondary); }
.batch-btns { display: flex; gap: 8px; }

.three-view-card.pending,
.result-card.pending {
    border-style: dashed;
}

.three-view-card.pending .three-view-image,
.result-card.pending .result-image {
    background: linear-gradient(110deg, var(--bg-input) 20%, rgba(255,255,255,0.05) 40%, var(--bg-input) 60%);
    background-size: 200% 100%;
    animation: photosetShimmer 1.2s linear infinite;
}

.photoset-generating {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.photoset-gen-spinner {
    width: 28px;
    height: 28px;
    border: 2px solid var(--border-color);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: photosetSpin 0.8s linear infinite;
}

.photoset-gen-text {
    font-size: 12px;
    color: var(--text-secondary);
}

.photoset-failed {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    padding: 0 12px;
}

@keyframes photosetSpin {
    to { transform: rotate(360deg); }
}

@keyframes photosetShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
