/* ---------- Practice Page Styles ---------- */

/* Page heading */
body.vocab-page h1 {
  text-align: center;
  color: #2e5c2e;
  margin-bottom: 20px;
}

/* ----- Practice Cards ----- */
.vocab-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

.card {
  background-color: #fff;
  padding: 30px;
  width: 280px;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1.5em;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  cursor: pointer;
  user-select: none;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.3em;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* Hidden Czech text (Click to show) */
.card.hidden-czech {
  color: #dddddd;   /* lighter grey (999 is grey and bbb lighter up to eee the lightest) */
}

/* ----- Progress Bar ----- */
.progress-wrapper {
  width: 80%;
  margin: 20px auto 30px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.progress-bar {
  width: 100%;
  height: 20px;
  background-color: #ddd;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress {
  height: 100%;
  width: 0%;
  background-color: #007BFF;
  transition: width 0.3s ease;
}

.progress-text {
  font-weight: bold;
  font-size: 1rem;
}

/* ----- Big Buttons ----- */
.big-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.big-buttons a,
.big-buttons button {
  font-size: 1.15rem;
  padding: 16px 36px;
  background: linear-gradient(180deg, #007BFF 0%, #0056b3 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s;
}

.big-buttons a:hover,
.big-buttons button:hover {
  background: linear-gradient(180deg, #0056b3 0%, #004085 100%);
  transform: translateY(-3px);
}

.big-buttons button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* ----- Small Buttons ----- */
.small-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  margin-bottom: 40px;
}

.small-buttons a {
  font-size: 0.95rem;
  padding: 8px 18px;
  background: #ffffff;
  color: #2f5230;
  border: 2px solid #007BFF;
  border-radius: 10px;
  text-decoration: none;
}

.small-buttons a:hover {
  background: #f2fff2;
  color: #000;
}

.card.click-to-show {
  color: #dddddd;       /* grey text */
  font-style: italic; 
  cursor: pointer;
}
