.cache-manager {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 15px;
  font-size: 12px;
  z-index: 1000;
  max-width: 280px;
}

.cache-manager-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--text);
}

.cache-manager-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  z-index: 999;
}

.cache-manager-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(255, 107, 107, 0.5);
}

.cache-manager.hidden {
  display: none;
}

.cache-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.cache-stat-item {
  text-align: center;
  padding: 8px;
  background: var(--bg);
  border-radius: 8px;
}

.cache-stat-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

.cache-stat-label {
  font-size: 10px;
  color: var(--subtext);
  margin-top: 2px;
}

.cache-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cache-btn {
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.2s;
}

.cache-btn-primary {
  background: var(--primary);
  color: white;
}

.cache-btn-primary:hover {
  background: #ff5252;
}

.cache-btn-secondary {
  background: var(--bg);
  color: var(--text);
}

.cache-btn-secondary:hover {
  background: #e9ecef;
}

.cache-info {
  margin-top: 12px;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 6px;
  font-size: 11px;
  color: var(--subtext);
  line-height: 1.5;
}

.cache-info strong {
  color: var(--text);
}
