/* 이미지 관리 페이지 */
.img-mgmt-stats { margin-bottom: 2rem; }
.img-stats-row { display: flex; gap: 2rem; margin-bottom: 1rem; }
.img-stat strong { font-size: 1.5rem; font-weight: 800; }
.img-stat span { font-size: 0.85rem; color: var(--text-muted); }
.img-progress-bar { height: 6px; background: var(--gray-200); border-radius: 3px; overflow: hidden; }
.img-progress-fill { height: 100%; background: var(--secondary); border-radius: 3px; transition: width 0.5s; }
.img-mgmt-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 2rem; }
.img-section-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; letter-spacing: 0.05em; }
.img-section-title span { font-weight: 400; color: var(--text-muted); }
.img-mgmt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 2.5rem; }
.img-mgmt-section { margin-bottom: 1rem; }
.img-card { padding: 0; overflow: hidden; }
.img-card-preview {
    position: relative; overflow: hidden; background: var(--gray-100);
    display: flex; align-items: center; justify-content: center;
}
.img-card-preview img { width: 100%; height: 100%; object-fit: cover; }
.img-card-placeholder { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--text-muted); font-size: 0.8rem; }
.img-card-placeholder span:first-child { font-size: 2rem; }
.img-status {
    position: absolute; top: 8px; right: 8px; width: 24px; height: 24px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700;
}
.img-status.is-ok { background: rgba(39,174,96,0.9); color: #fff; }
.img-status.is-missing { background: rgba(231,76,60,0.9); color: #fff; }
.img-card-info { padding: 12px 16px; }
.img-card-info strong { display: block; font-size: 0.85rem; }
.img-card-info small { font-size: 0.75rem; color: var(--text-muted); }
.img-prompt-section { padding: 0 16px; }
.img-prompt-toggle { background: none; border: none; cursor: pointer; font-size: 0.8rem; color: var(--primary); font-weight: 600; padding: 4px 0; }
.img-prompt-body { background: var(--gray-50); border-radius: var(--radius-sm); padding: 12px; margin: 8px 0; }
.img-prompt-text { font-size: 0.75rem; line-height: 1.6; white-space: pre-wrap; word-break: break-word; color: var(--text-light); margin-bottom: 8px; }
.img-card-actions { padding: 12px 16px; display: flex; flex-direction: column; gap: 8px; }
.img-upload-form { display: flex; gap: 8px; align-items: center; }
.img-file-input { position: absolute; width: 0; height: 0; overflow: hidden; opacity: 0; }
.img-file-label { cursor: pointer; font-size: 0.8rem; color: var(--primary); font-weight: 600; }
.img-file-label:hover { text-decoration: underline; }
@media (max-width: 1024px) { .img-mgmt-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .img-mgmt-grid { grid-template-columns: 1fr; } .img-stats-row { flex-wrap: wrap; } }
