/* Custom styles */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-wrapper {
  flex: 1;
  padding: 1.5rem 0;
}

/* Card styles */
.card {
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-2px);
}

/* Game styles */
#currentChar {
  font-size: 4rem;
  line-height: 1;
}

#answerInput {
  font-size: 1.5rem;
  height: 4rem;
}

/* Alphabet styles */
.alphabet-card {
  cursor: pointer;
}

.alphabet-card:hover {
  background-color: #f8f9fa;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.3s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
  #currentChar {
    font-size: 3rem;
  }

  #answerInput {
    font-size: 1.2rem;
    height: 3.5rem;
  }
}

/* Custom colors */
:root {
  --primary-color: #206bc4;
  --secondary-color: #626976;
  --success-color: #2fb344;
  --danger-color: #d63939;
  --warning-color: #f59f00;
  --info-color: #4299e1;
}

/* Button styles */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: #1a5aa3;
  border-color: #1a5aa3;
}

/* Card header styles */
.card-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

/* Table styles */
.table th {
  background-color: #f8f9fa;
}

/* Form styles */
.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(32, 107, 196, 0.25);
}

/* Alert styles */
.alert {
  border-radius: 0.25rem;
  border: none;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
}

/* Modal styles */
.modal-content {
  border: none;
  border-radius: 0.5rem;
}

.modal-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

/* Loading spinner */
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
