.decks-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  min-height: 100vh;
  background: var(--bg-gradient-start);
  transition: background-color 0.25s ease;
}

.decks-card {
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: 14px;
  padding: 2rem;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  color: var(--text-color);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.decks-card h2 {
  margin-bottom: 1rem;
  text-align: center;
  color: var(--text-color);
}

.decks-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.deck-item {
  margin-bottom: 0.8rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--accent-color-1);
  color: var(--accent-color-1);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.deck-item a {
  color: var(--text-color);
  text-decoration: none;
}

.delete-btn {
  color: var(--text-color);
  padding: 5px 10px;
  box-sizing: border-box;
  background-color: darkred;

}

.delete-btn:hover {
  background-color: red;
  border-color: var(--text-color);
}

.deck-item:hover {
  background: var(--accent-color-2);
}

.loading-text {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-color);
}