/* 
 * problem-set-enhanced.css
 * Enhanced styling for problem sets with improved layout and visual design
 * Added 2025-10-18 to resolve 404 errors
 */

/* Enhanced Problem Set Layout */
.problem-set-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Problem Container Styling */
.problem-container {
  background-color: var(--color-background-subtle);
  border-left: 4px solid var(--color-accent-maroon);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 4px 4px 0;
}

.problem-container h3 {
  color: var(--color-text-heading);
  font-size: 1.4rem;
  margin-top: 0;
  border-bottom: 1px solid var(--color-accent-maroon);
  padding-bottom: 0.5rem;
}

/* Problem Parts */
.problem-part {
  margin: 1.5rem 0;
  padding-left: 1rem;
  border-left: 2px solid rgba(192, 149, 83, 0.4);
}

.problem-part-label {
  font-weight: bold;
  color: var(--color-text-heading);
  margin-bottom: 0.5rem;
}

/* Enhanced Submission Fields */
.submission-field {
  margin-top: 1rem;
  padding: 1rem;
  background-color: rgba(253, 253, 250, 0.7);
  border: 1px dashed var(--color-accent-maroon);
  border-radius: 4px;
}

.submission-field label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: var(--color-text-heading);
}

.submission-field textarea,
.submission-field input[type="text"] {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-background-subtle);
  border-radius: 3px;
  background-color: white;
  font-family: var(--font-sans-body);
  transition: border-color 0.2s ease;
}

.submission-field textarea:focus,
.submission-field input[type="text"]:focus {
  outline: none;
  border-color: var(--color-accent-gold);
  box-shadow: 0 0 0 2px rgba(192, 149, 83, 0.2);
}

/* Difficulty Level Indicators */
.difficulty-indicator {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  margin-left: 1rem;
  font-size: 0.8rem;
  font-weight: bold;
  border-radius: 12px;
  color: white;
}

.difficulty-apprentice {
  background-color: #5cb85c; /* Green */
}

.difficulty-journeyman {
  background-color: #f0ad4e; /* Orange */
}

.difficulty-master {
  background-color: #d9534f; /* Red */
}

/* Problem navigation enhancements */
.problem-navigation {
  display: flex;
  justify-content: space-between;
  margin: 2rem 0;
  padding-top: 1rem;
  border-top: 1px solid var(--color-background-subtle);
}

.nav-button {
  padding: 0.5rem 1rem;
  background-color: var(--color-button-primary);
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.nav-button:hover {
  background-color: var(--color-text-heading);
}

.nav-button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}