/**
 * SimpleGallery 2026 - Archive Manager App Stylesheet
 * Fully Theme-Adaptive Archive Inspector and Extractor
 */

.archive-viewer-modal-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}

.archive-inspector-card {
  width: 85vw;
  height: 78vh;
  max-width: 900px;
  background: var(--window-bg, var(--bg-main, #0f172a));
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.15));
  border-radius: var(--radius-lg, 12px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--text-main, #f8fafc);
}

.archive-inspector-header {
  padding: 14px 20px;
  background: var(--header-bg, var(--bg-card, rgba(30, 41, 59, 0.9)));
  border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.archive-inspector-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main, #f8fafc);
  display: flex;
  align-items: center;
  gap: 8px;
}

.archive-inspector-stats {
  display: flex;
  gap: 1rem;
  padding: 10px 20px;
  background: var(--bg-card, rgba(15, 23, 42, 0.6));
  border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  font-size: 0.825rem;
  color: var(--text-muted, #94a3b8);
}

.archive-stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.archive-stat-item strong {
  color: var(--accent-primary, #38bdf8);
}

.archive-file-list {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem 0;
  display: flex;
  flex-direction: column;
  background: var(--bg-main, transparent);
}

.archive-file-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
  border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.04));
  font-size: 0.85rem;
  color: var(--text-main, #cbd5e1);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  transition: background 0.15s ease;
}

.archive-file-row:hover {
  background: var(--bg-card, rgba(255, 255, 255, 0.04));
}

.archive-file-name {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.archive-file-size {
  color: var(--text-muted, #94a3b8);
  font-size: 0.8rem;
  flex-shrink: 0;
}
