/*
 * This is a manifest file that'll be compiled into application.css, which will include all the stylesheets accessible from this directory.
 *
 * It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the compiled file.
 *
 * Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details about supported directives.
 *= require_tree .
 *= require_self
 */

/* Spelling History Styles */
.spelling-history-container {
  background-color: #1a202c; /* Dark background */
  border-radius: 0.75rem; /* Rounded corners */
  padding: 1.5rem;
  margin-top: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* Subtle shadow */
  color: #e2e8f0; /* Light text color */
}

.spelling-history-container h2 {
  font-size: 1.875rem; /* text-3xl */
  font-weight: 700; /* font-bold */
  color: #93c5fd; /* sky-300 */
  margin-bottom: 1.5rem;
  text-align: center;
}

.spelling-history-container ul {
  list-style: none;
  padding: 0;
}

.spelling-history-container li {
  background-color: #2d3748; /* Darker background for list items */
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid #4a5568; /* Subtle border */
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.spelling-history-container li:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 20px -5px rgba(0, 0, 0, 0.2), 0 6px 10px -3px rgba(0, 0, 0, 0.08); /* Enhanced shadow on hover */
}

.spelling-history-container li strong {
  color: #a78bfa; /* purple-300 */
  font-weight: 600;
}

.spelling-history-container li br {
  margin-bottom: 0.25rem;
}

.spelling-history-container li:last-child {
  margin-bottom: 0;
}

@import "landing.css";

.spelling-history-container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1.5rem;
  background-color: #f9fafb;
  border-radius: 1rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.spelling-history-header {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1.5rem;
  text-align: center;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 1rem;
}

.spelling-history-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.spelling-attempt-card {
  background-color: #ffffff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  animation: fadeIn 0.5s ease-out;
}

.spelling-attempt-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.spelling-attempt-card strong {
  font-weight: 600;
  color: #374151;
}

.spelling-attempt-card .word {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 0.5rem;
}

.spelling-attempt-card .response {
  font-family: monospace;
  background-color: #f3f4f6;
  padding: 0.75rem;
  border-radius: 0.5rem;
  white-space: pre-wrap;
  word-wrap: break-word;
  color: #4b5563;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.spelling-attempt-card .date {
  font-size: 0.875rem;
  color: #6b7280;
  text-align: right;
}

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

@import "spelling_history.css";

/* Study List Styles */
.study-list-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #f9fafb;
  border-radius: 1rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.study-list-header {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 2rem;
  text-align: center;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 1rem;
  font-family: 'Poppins', sans-serif;
}

.study-list {
  list-style: none;
  padding: 0;
  margin: 0;
  column-count: 4;
  column-gap: 2rem;
}

.study-list li {
  margin-bottom: 0.75rem;
  break-inside: avoid-column;
}

.study-list li a {
  display: block;
  font-size: 1.125rem;
  color: #374151;
  padding: 0.5rem;
  border-radius: 0.25rem;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
}

.study-list li a:hover {
  background-color: #e5e7eb;
  color: #1f2937;
  transform: scale(1.05);
}

@media (max-width: 1024px) {
  .study-list {
    column-count: 3;
  }
}

@media (max-width: 768px) {
  .study-list {
    column-count: 2;
  }
}

@media (max-width: 640px) {
  .study-list {
    column-count: 1;
  }
}
