/* JLPT Boost Simplified CSS - No Sidebar Styles */
:root {
  --primary: hsl(212, 72%, 59%);
  --secondary: #6772e5;
  --success: #28a745;
  --warning: #ffc107;
  --light: #f8f9fa;
  --dark: #343a40;
}

/* Main Content */
.jlpt-boost-page .main-content {
  flex: 1;
  display: flex;
}

/* Content Area */
.jlpt-boost-page .content-area {
  flex: 1;
  overflow-y: auto;
}

.jlpt-boost-page .page {
  display: none;
  height: 100%;
}

.jlpt-boost-page .page.active {
  display: block;
}

.jlpt-boost-page .page-content {
  padding: 0 40px;
  margin: 0 auto;
}

/* Setup Hero */
.jlpt-boost-page .setup-hero {
  text-align: center;
  margin-bottom: 40px;
}

.jlpt-boost-page .setup-icon {
  font-size: 64px;
  margin-bottom: 20px;
}

.jlpt-boost-page .setup-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.jlpt-boost-page .setup-description {
  font-size: 18px;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Form Styles */
.jlpt-boost-page .setup-form {
  background: white;
  border-radius: 16px;
  padding: 35px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
}

.jlpt-boost-page .form-section {
  margin-bottom: 35px;
}

.jlpt-boost-page .form-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
  display: block;
}

.jlpt-boost-page .form-description {
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 15px;
}

/* Level Selector */
.jlpt-boost-page .level-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}

.jlpt-boost-page .level-option {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.jlpt-boost-page .level-option:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.jlpt-boost-page .level-option.selected {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(71, 114, 229, 0.3);
}

.jlpt-boost-page .level-number {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.jlpt-boost-page .level-name {
  font-size: 12px;
  opacity: 0.8;
}

/* Question Types */
.jlpt-boost-page .question-types,
.jlpt-boost-page .test-collections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
}

.jlpt-boost-page .question-type {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.jlpt-boost-page .question-type:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.jlpt-boost-page .question-type.selected {
  background: linear-gradient(135deg, #f8f9ff 0%, #e3f2fd 100%);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(71, 114, 229, 0.2);
}

.jlpt-boost-page .question-type.selected::before {
  content: "✓";
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary);
  color: white;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
}

.jlpt-boost-page .question-type-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.jlpt-boost-page .question-type-icon {
  font-size: 20px;
}

.jlpt-boost-page .question-type-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
}

.jlpt-boost-page .question-type-description {
  font-size: 14px;
  color: #6c757d;
  line-height: 1.5;
}

.jlpt-boost-page .question-category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 30px 0 15px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #e9ecef;
  grid-column: 1 / -1; /* Spans full width in grid */
}

.jlpt-boost-page .category-icon {
  font-size: 24px;
}

.jlpt-boost-page .category-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  margin: 0;
}

/* Settings Grid */
.jlpt-boost-page .settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.jlpt-boost-page .setting-item {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  border: 1px solid #e9ecef;
}

.jlpt-boost-page .setting-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.jlpt-boost-page .setting-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ced4da;
  border-radius: 6px;
  font-size: 14px;
}

/* Start Button */
.jlpt-boost-page .start-button {
  background: linear-gradient(135deg, var(--success) 0%, #20c997 100%);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
  width: 100%;
  margin-top: 25px;
}

.jlpt-boost-page .start-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.jlpt-boost-page .start-button:disabled {
  background: #6c757d;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Loading Message */
.jlpt-boost-page .loading-message {
  text-align: center;
  padding: 40px;
  color: #6c757d;
  font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
  .jlpt-boost-page .page-content {
    padding: 20px;
  }

  .jlpt-boost-page .level-selector {
    grid-template-columns: repeat(2, 1fr);
  }

  .jlpt-boost-page .question-types,
  .jlpt-boost-page .test-collections {
    grid-template-columns: 1fr;
  }

  .jlpt-boost-page .settings-grid {
    grid-template-columns: 1fr;
  }
}
/* unanswer */
.nav-question.unanswered {
  background-color: #f5f5f5;
  color: #999;
  border: 1px solid #ddd;
}
