/* Refresh Button Styles */
.refresh-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: var(--spacing-xs, 0.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast, 0.2s ease);
  border-radius: var(--radius-sm, 0.5rem);
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(255, 152, 0, 0.3);
  min-height: 44px;
  min-width: 44px;
}

.refresh-btn:hover {
  background: var(--bg-gray, #e5e5e5);
}

.refresh-btn svg {
  width: 20px;
  height: 20px;
  color: var(--text-secondary, #4d4d4f);
}

/* Dark mode – make refresh icon visible */
body.night-mode .refresh-btn svg,
.night-mode .refresh-btn svg {
  color: rgba(255, 255, 255, 0.9);
}

body.night-mode .refresh-btn:hover:not(:disabled),
.night-mode .refresh-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12);
}

body.night-mode .refresh-btn:hover:not(:disabled) svg,
.night-mode .refresh-btn:hover:not(:disabled) svg {
  color: #fff;
}

body.night-mode .refresh-btn:disabled svg,
.night-mode .refresh-btn:disabled svg {
  color: rgba(255, 255, 255, 0.4);
}

