/* styles.css */
@import url('https://fonts.googleapis.com/css2?family=Bangers&display=swap');

:root {
  --font-bangers: 'Bangers', cursive;
}

.cards-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 20px 0;
}

.card-wrapper {
  flex: 0 0 auto;
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  text-align: center;
  padding: 1rem;
  border-radius: 0.25rem;
}

.video-container {
  width: 80%;
  margin: auto;
  background-color: rgb(35, 68, 105);
  border-radius: 10px;
  border: 1px solid white;
}

.video-tutorial-title {
  color: white;
  font-size: 22px;
  padding: 15px;
  font-family: var(--font-bangers) !important;
  letter-spacing: 1px;
}

.quiz-alert {
  margin: 20px auto;
}

.tutorial-offcanvas-panel {
  width: 800px !important;
  background-color: #f5f5f5;
}

.tutorial-offcanvas-title {
  color: white;
  background-color: rgb(35, 68, 105);
}

.bubble-row {
  display: flex;
  flex-wrap: wrap;  
  gap: 10px;
  margin-bottom: 20px;
}

.bubble {
  flex: 0 0 auto;     
  width: 35px;
  height: 35px;
  background-color: #ddd;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

.bubble.active {
  background-color: rgb(35, 68, 105);
  color: white;
}

.bubble.completed {
  background-color: rgb(35, 68, 105);
  color: white;
}

.question-card {
  margin-bottom: 20px;
}

.quiz-nav-buttons {
  display: flex;
  justify-content: space-between;
}

.quiz-options {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quiz-option {
  background: #f9f9f9;
  border: 1px solid #ddd;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s ease;
}

.quiz-option.selected {
  border-color: rgb(35, 68, 105);
  background-color: #e6f0ff;
  font-weight: 500;
}

.quiz-option input[type="radio"] {
  margin-right: 8px;
}

.pretest-start-info {
  background: rgba(221, 221, 221, 0.75);
  padding: 16px;
  border-radius: 10px;
  margin-bottom: 20px;
  color: rgb(35, 68, 105);
  border: 1px solid rgba(221, 221, 221);;
}

.code-box {
  margin-top: 20px;
}

.code-input {
  font-size: 1.4rem;
  letter-spacing: 8px;
  padding: 8px 12px;
  text-align: center;
  border-radius: 8px;
  border: 1px solid #ccc;
  width: 100%;
  max-width: 200px;
}

.previous-attempts-container {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 16px 20px;
  margin-top: 30px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.previous-attempts-container h6 {
  font-weight: 600;
  color: #003366;
  margin-bottom: 12px;
}

.previous-attempts-container table {
  margin-bottom: 0;
  font-size: 14px;
}
