/* ========================
   CSS Variables
   ======================== */
.file-manage {
  --accent-cyan: #00d4ff;
  --accent-cyan-dim: rgba(0, 212, 255, 0.15);
  --accent-cyan-glow: rgba(0, 212, 255, 0.4);
  --bg-elevated: #0f1117;
  --bg-card: #161920;
  --bg-hover: #1c2029;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(0, 212, 255, 0.3);
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --radius-lg: 12px;
  --radius-md: 8px;
  --radius-sm: 6px;
  padding: 28px 32px;
}

/* ========================
   Header
   ======================== */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
}

.header-left {
  position: relative;
}

.page-title {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.page-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin: 6px 0 0;
}

.header-actions {
  display: flex;
  gap: 12px;
}

.upload-btn {
  background: var(--accent-cyan) !important;
  border: none !important;
  color: #030407 !important;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  box-shadow: 0 0 20px var(--accent-cyan-dim);
  transition: all 0.2s ease;
}

.upload-btn:hover {
  box-shadow: 0 0 35px var(--accent-cyan-glow);
  transform: translateY(-1px);
}

.qa-btn {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-subtle) !important;
  color: var(--text-secondary) !important;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: var(--radius-md);
}

.qa-btn:hover:not(:disabled) {
  background: var(--bg-hover) !important;
  border-color: var(--accent-cyan) !important;
  color: var(--accent-cyan) !important;
}

.qa-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ========================
   Stats Grid
   ======================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.25s ease;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-active);
  cursor: pointer;
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card.active {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px var(--accent-cyan-dim);
}

.stat-card.active::before {
  opacity: 1;
}

.stat-card.active .stat-glow {
  opacity: 0.5;
}

.stat-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.stat-card:hover .stat-glow {
  opacity: 0.5;
}

/* Stat variations */
.stat-total {
  --stat-color: #818cf8;
}

.stat-total::before {
  background: linear-gradient(90deg, #6366f1, #818cf8);
}

.stat-total .stat-glow {
  background: radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.3), transparent 50%);
}

.stat-completed {
  --stat-color: var(--success);
}

.stat-completed::before {
  background: linear-gradient(90deg, #16a34a, var(--success));
}

.stat-completed .stat-glow {
  background: radial-gradient(circle at 30% 30%, rgba(34, 197, 94, 0.3), transparent 50%);
}

.stat-processing {
  --stat-color: var(--warning);
}

.stat-processing::before {
  background: linear-gradient(90deg, #d97706, var(--warning));
}

.stat-processing .stat-glow {
  background: radial-gradient(circle at 30% 30%, rgba(245, 158, 11, 0.3), transparent 50%);
}

.stat-failed {
  --stat-color: var(--danger);
}

.stat-failed::before {
  background: linear-gradient(90deg, #dc2626, var(--danger));
}

.stat-failed .stat-glow {
  background: radial-gradient(circle at 30% 30%, rgba(239, 68, 68, 0.3), transparent 50%);
}

.stat-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  z-index: 1;
}

.stat-icon-wrap {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  color: var(--stat-color);
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  font-family: 'SF Mono', 'JetBrains Mono', monospace;
  line-height: 1.1;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ========================
   File Container
   ======================== */
.file-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  overflow-x: auto;
}

/* ========================
   Empty State
   ======================== */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
  min-height: 450px;
}

.empty-illustration {
  position: relative;
  width: 140px;
  height: 140px;
  margin-bottom: 28px;
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(0, 212, 255, 0.2);
}

.orbit-1 {
  inset: 10px;
  animation: orbit-rotate 20s linear infinite;
}

.orbit-2 {
  inset: 30px;
  border-color: rgba(0, 212, 255, 0.15);
  animation: orbit-rotate 15s linear infinite reverse;
}

.orbit-3 {
  inset: 50px;
  border-color: rgba(0, 212, 255, 0.1);
  animation: orbit-rotate 10s linear infinite;
}

@keyframes orbit-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.empty-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-hover) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  color: var(--accent-cyan);
  box-shadow: 0 0 40px var(--accent-cyan-dim);
}

.empty-title {
  font-size: 22px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 8px;
}

.empty-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  text-align: center;
}

/* ========================
   Files Table
   ======================== */
.files-table-wrapper {
  display: flex;
  flex-direction: column;
  min-width: 800px;
}

.table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border-subtle);
}

.table-select .select-all {
  --el-checkbox-text-color: var(--text-secondary);
}

.selected-text {
  color: var(--accent-cyan);
  font-weight: 500;
}

.batch-delete-btn {
  background: transparent !important;
  border-color: var(--danger) !important;
  color: var(--danger) !important;
}

.batch-delete-btn:hover {
  background: var(--danger) !important;
  color: white !important;
}

.batch-clear-btn {
  background: transparent !important;
  border-color: var(--text-muted) !important;
  color: var(--text-secondary) !important;
}

.batch-clear-btn:hover {
  background: var(--bg-hover) !important;
  border-color: var(--text-secondary) !important;
  color: #ffffff !important;
}

.files-table {
  display: flex;
  flex-direction: column;
}

.file-row {
  display: grid;
  grid-template-columns: 40px 50px 1fr 80px 100px 80px 70px;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.15s ease;
}

.file-row.row-animated {
  animation: row-in 0.3s ease backwards;
  animation-delay: var(--delay);
}

@keyframes row-in {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
}

.file-row:hover {
  background: var(--bg-hover);
}

.file-row.is-selected {
  background: rgba(0, 212, 255, 0.05);
}

.file-row.is-processing {
  background: rgba(245, 158, 11, 0.03);
}

.file-row.is-processing:hover {
  background: rgba(245, 158, 11, 0.08);
}

/* Column styles */
.col-select {
  display: flex;
  justify-content: center;
}

.col-icon {
  display: flex;
  justify-content: center;
}

.file-type-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--type-color) 15%, transparent);
  border-radius: var(--radius-sm);
  color: var(--type-color);
}

.col-name {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.filename-text {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-ext {
  font-size: 11px;
  font-family: 'SF Mono', monospace;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

.col-size,
.col-date {
  font-size: 13px;
  color: var(--text-muted);
  font-family: 'SF Mono', monospace;
  min-width: 70px;
}

.col-status {
  min-width: 80px;
}

/* Status Pill */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.status-processing {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning);
}

.status-processing .status-dot {
  background: var(--warning);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.status-completed {
  background: rgba(34, 197, 94, 0.1);
  color: var(--success);
}

.status-completed .status-dot {
  background: var(--success);
}

.status-failed {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
}

.status-failed .status-dot {
  background: var(--danger);
}

.status-pending {
  background: rgba(107, 114, 128, 0.1);
  color: var(--text-muted);
}

.status-pending .status-dot {
  background: var(--text-muted);
}

/* Actions */
.col-actions {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  min-width: 70px;
}

.action-btn {
  color: var(--text-muted) !important;
  transition: all 0.15s ease;
}

.action-btn:hover {
  color: var(--accent-cyan) !important;
  background: var(--accent-cyan-dim) !important;
}

.action-btn.delete:hover {
  color: var(--danger) !important;
  background: rgba(239, 68, 68, 0.1) !important;
}

/* ========================
   Upload Dialog
   ======================== */
:deep(.upload-dialog .el-dialog) {
  background: var(--bg-elevated) !important;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

:deep(.upload-dialog .el-dialog__header) {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
}

:deep(.upload-dialog .el-dialog__title) {
  font-weight: 600;
  font-size: 18px;
  color: #ffffff;
}

:deep(.upload-dialog .el-dialog__body) {
  padding: 24px;
}

.upload-area {
  border: 2px dashed var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--bg-card);
}

.upload-area:hover {
  border-color: var(--accent-cyan);
  background: var(--accent-cyan-dim);
}

.upload-content {
  text-align: center;
}

.upload-illustration {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.upload-ring {
  position: absolute;
  inset: 0;
  border: 2px dashed var(--accent-cyan);
  border-radius: 50%;
  opacity: 0.3;
  animation: ring-pulse 2s ease-in-out infinite;
}

@keyframes ring-pulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.1); opacity: 0.15; }
}

.upload-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-cyan-dim);
  border-radius: 50%;
  color: var(--accent-cyan);
}

.upload-text {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.upload-text em {
  color: var(--accent-cyan);
  font-style: normal;
  font-weight: 600;
}

.upload-hint {
  font-size: 13px;
  color: var(--text-muted);
}

/* Selected Files */
.selected-area {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.selected-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

.selected-header strong {
  color: var(--accent-cyan);
}

.selected-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 150px;
  overflow-y: auto;
}

.selected-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-secondary);
}

/* ========================
   Preview Modal
   ======================== */
.preview-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.preview-modal {
  position: fixed;
  top: 20px;
  bottom: 20px;
  right: 40px;
  z-index: 2001;
  width: 720px;
  max-width: calc(100vw - 80px);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

.header-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.title-icon {
  font-size: 20px;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.filename {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.close-btn {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  color: var(--text-muted) !important;
}

.close-btn:hover {
  background: var(--bg-hover) !important;
  color: #ffffff !important;
}

.preview-tabs-wrapper {
  padding: 12px 20px 0;
  background: var(--bg-card);
}

.preview-tabs {
  position: relative;
  display: flex;
  background: var(--bg-elevated);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  padding: 4px;
  border: 1px solid var(--border-subtle);
  border-bottom: none;
}

.tab-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
  z-index: 1;
}

.tab-item:hover:not(.active) {
  color: var(--text-secondary);
}

.tab-item.active {
  color: #ffffff;
}

.tab-indicator {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: var(--accent-cyan);
  border-radius: var(--radius-sm);
  transition: transform 0.2s ease;
  z-index: 0;
  opacity: 0.15;
}

.tab-indicator.at-right {
  transform: translateX(100%);
}

.preview-content {
  flex: 1;
  overflow: auto;
  background: var(--bg-primary);
  border-left: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
}

.code-content {
  font-family: 'SF Mono', 'JetBrains Mono', monospace;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
  padding: 20px;
}

.pdf-viewer {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
  background: white;
}

.preview-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 300px;
  color: var(--text-muted);
  gap: 12px;
}

.preview-empty.is-error {
  color: var(--danger);
}

/* Transitions */
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.2s ease;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

.slide-right-enter-active {
  transition: all 0.25s ease;
}

.slide-right-leave-active {
  transition: all 0.15s ease;
}

.slide-right-enter-from {
  opacity: 0;
  transform: translateX(30px);
}

.slide-right-leave-to {
  opacity: 0;
  transform: translateX(20px);
}

/* ========================
   Responsive
   ======================== */
@media (max-width: 900px) {
  .file-manage {
    padding: 20px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-header {
    flex-direction: column;
    gap: 16px;
  }

  .header-actions {
    width: 100%;
  }

  .header-actions .el-button {
    flex: 1;
  }

  .file-row {
    grid-template-columns: 40px 40px 1fr 60px;
    gap: 8px;
  }

  .col-date,
  .col-status {
    display: none;
  }

  .col-actions {
    min-width: 50px;
  }

  .preview-modal {
    right: 20px;
    left: 20px;
    top: 20px;
    bottom: 20px;
    width: auto;
    max-width: none;
  }
}

/* ========================
   Batch Delete Dialog
   ======================== */
.batch-delete-dialog :deep(.el-dialog) {
  background:
    radial-gradient(circle at top left, rgba(239, 68, 68, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(251, 146, 60, 0.06), transparent 22%),
    linear-gradient(180deg, #12161f 0%, #0d1017 100%);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(239, 68, 68, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.batch-delete-dialog :deep(.el-dialog__header) {
  padding: 0;
  margin: 0;
}

.batch-delete-dialog :deep(.el-dialog__body) {
  padding: 0;
}

.batch-delete-dialog :deep(.el-dialog__footer) {
  padding: 0;
}

/* Header */
.batch-delete-header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 28px 28px 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.batch-delete-icon {
  position: relative;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(249, 115, 22, 0.1));
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 16px;
  color: #fb7185;
  flex-shrink: 0;
  box-shadow:
    0 8px 24px rgba(239, 68, 68, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.batch-delete-icon-ring {
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: 20px;
  animation: ring-pulse 2s ease-in-out infinite;
}

@keyframes ring-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.05); }
}

.batch-delete-title-group {
  flex: 1;
  min-width: 0;
}

.batch-delete-title-group h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
  color: #f8fafc;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.batch-delete-subtitle {
  margin: 0;
  font-size: 14px;
  color: rgba(148, 163, 184, 0.8);
  line-height: 1.5;
}

/* Body */
.batch-delete-body {
  padding: 24px 28px;
}

.batch-files-container {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
}

.batch-files-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.batch-files-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.6);
  font-family: 'JetBrains Mono', monospace;
}

.batch-files-count {
  font-size: 12px;
  color: rgba(239, 68, 68, 0.8);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
}

.batch-files-scroll {
  max-height: 200px;
  overflow-y: auto;
  padding: 8px;
}

.batch-file-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background 0.15s ease;
}

.batch-file-row:hover {
  background: rgba(255, 255, 255, 0.03);
}

.batch-file-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 68, 68, 0.08);
  border-radius: 8px;
  color: rgba(251, 113, 133, 0.8);
  flex-shrink: 0;
}

.batch-file-name {
  flex: 1;
  font-size: 14px;
  color: #e2e8f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.batch-file-size {
  font-size: 12px;
  color: rgba(148, 163, 184, 0.6);
  font-family: 'JetBrains Mono', monospace;
  flex-shrink: 0;
}

.batch-warning {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.12);
  border-radius: 12px;
  color: #fca5a5;
  font-size: 13px;
}

/* Footer */
.batch-delete-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 20px 28px 28px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.15));
}

.batch-btn-cancel {
  min-width: 110px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: rgba(226, 232, 240, 0.8);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.batch-btn-cancel:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.batch-btn-delete {
  min-width: 140px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%);
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  transition: all 0.25s ease;
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.25);
}

.batch-btn-delete:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(239, 68, 68, 0.35);
}
