/* ==========================================================================
   Zeon OS - RECYCLE BIN APP STYLES
   ========================================================================== */

.recyclebin-app {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  background: var(--bg-surface);
  color: var(--text-primary);
  font-family: var(--font-sans);
  overflow: hidden;
}

/* Toolbar */
.recyclebin-toolbar {
  height: 48px;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: var(--glass-border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  gap: 10px;
  flex-shrink: 0;
}

.recyclebin-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.recyclebin-btn {
  background: rgba(255, 255, 255, 0.06);
  border: var(--glass-border-subtle);
  color: var(--text-secondary);
  border-radius: var(--radius-xs);
  padding: 5px 10px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.recyclebin-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
}

.recyclebin-btn:disabled {
  opacity: 0.35;
  pointer-events: none;
}

.recyclebin-btn.btn-danger:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.3);
}

.recyclebin-btn.btn-restore:hover {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.3);
}

.recyclebin-search-box {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  border: var(--glass-border-subtle);
  border-radius: var(--radius-sm);
  padding: 3px 10px;
  gap: 6px;
}

.recyclebin-search-input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 12px;
  width: 140px;
}

/* 7-Day Info Banner */
.recyclebin-banner {
  height: 32px;
  background: rgba(59, 130, 246, 0.1);
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: #93c5fd;
  flex-shrink: 0;
}

/* Main Area / Table View */
.recyclebin-main {
  flex: 1;
  overflow-y: auto;
  overflow-x: auto;
  position: relative;
}

.recyclebin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  text-align: left;
}

.recyclebin-table th {
  position: sticky;
  top: 0;
  background: rgba(15, 20, 32, 0.95);
  backdrop-filter: blur(12px);
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: var(--glass-border-subtle);
  user-select: none;
  z-index: 2;
}

.recyclebin-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.12s ease;
  cursor: pointer;
}

.recyclebin-row:hover {
  background: rgba(255, 255, 255, 0.05);
}

.recyclebin-row.selected {
  background: rgba(59, 130, 246, 0.15);
}

.recyclebin-row td {
  padding: 10px 14px;
  vertical-align: middle;
}

.recyclebin-item-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.recyclebin-item-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.recyclebin-item-name {
  font-weight: 500;
  color: var(--text-primary);
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recyclebin-original-path {
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 11.5px;
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Expiry Countdown Badges */
.recyclebin-expiry-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.recyclebin-expiry-badge.status-safe {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.recyclebin-expiry-badge.status-warning {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.recyclebin-expiry-badge.status-urgent {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
  animation: pulse-urgent 2s infinite;
}

@keyframes pulse-urgent {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Action button icons in row */
.recyclebin-row-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.7;
  transition: opacity 0.15s ease;
}

.recyclebin-row:hover .recyclebin-row-actions {
  opacity: 1;
}

.recyclebin-icon-btn {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-secondary);
  border-radius: var(--radius-xs);
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.recyclebin-icon-btn:hover {
  background: var(--accent);
  color: #ffffff;
}

.recyclebin-icon-btn.btn-row-del:hover {
  background: var(--danger);
  color: #ffffff;
}

/* Empty State */
.recyclebin-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 40px;
  text-align: center;
  color: var(--text-secondary);
}

.recyclebin-empty-icon {
  width: 64px;
  height: 64px;
  color: var(--text-muted);
  opacity: 0.4;
  margin-bottom: 12px;
}

/* Statusbar */
.recyclebin-statusbar {
  height: 26px;
  background: rgba(0, 0, 0, 0.3);
  border-top: var(--glass-border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  font-size: 11px;
  color: var(--text-muted);
  flex-shrink: 0;
}
