/* Main Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
  color: #333;
}

/* Header Styles */
header {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Card Styles */
.card {
  border-radius: 0.5rem;
  border: none;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

/* Form Styles */
.form-control:focus, .form-select:focus {
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-text {
  color: #6c757d;
}

/* Button Styles */
.btn {
  border-radius: 0.25rem;
  padding: 0.5rem 1rem;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.btn-primary:hover {
  background-color: #0b5ed7;
  border-color: #0a58ca;
}

.btn-outline-primary {
  color: #0d6efd;
  border-color: #0d6efd;
}

.btn-outline-primary:hover {
  background-color: #0d6efd;
  color: #fff;
}

/* Progress Bar Styles */
.progress {
  height: 0.5rem;
  border-radius: 0.25rem;
  background-color: #e9ecef;
}

.progress-bar {
  background-color: #0d6efd;
}

/* Lesson Plan Styles */
.lesson-plan {
  padding: 1rem;
}

.lesson-section {
  margin-bottom: 2rem;
}

.lesson-header {
  border-bottom: 1px solid #dee2e6;
  padding-bottom: 1rem;
}

/* AI Choices Styles */
.ai-refresh-btn {
  font-size: 0.8rem;
  padding: 0.25rem 0.5rem;
  vertical-align: middle;
}

.ai-refresh-btn i {
  margin-right: 0.25rem;
}

.ai-choices-checkbox-group .form-check {
  margin-bottom: 0.5rem;
}

.custom-option-input {
  margin-top: 0.5rem;
  margin-left: 1.5rem;
  max-width: 300px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .col-md-8.offset-md-2 {
    padding: 0 0.5rem;
  }
  
  .card-body {
    padding: 1rem;
  }
  
  .ai-refresh-btn {
    display: block;
    margin-top: 0.5rem;
    margin-left: 0;
  }
}

/* Print Styles */
@media print {
  body {
    background-color: #fff;
  }
  
  .container {
    max-width: 100%;
    width: 100%;
  }
  
  .card {
    border: none;
    box-shadow: none;
  }
  
  .ai-refresh-btn {
    display: none;
  }
}

/* Category and Question Styles */
.category-container {
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

.category-title {
  color: #333;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}

.question-container {
  padding: 1rem;
  border-radius: 0.5rem;
  background-color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
}

.checkbox-options-container {
  max-height: 300px;
  overflow-y: auto;
  padding: 0.5rem;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 0.25rem;
}

/* Category Background Colors */
#category-basic-info {
  background-color: #e6f7ff;
}

#category-learning-objectives {
  background-color: #e6ffe6;
}

#category-teaching-approach {
  background-color: #fff0e6;
}

#category-student-info {
  background-color: #f0e6ff;
}

#category-assessment {
  background-color: #ffe6e6;
}

/* Animation for loading */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* Spinner animation for loading states */
.spinner-border {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  vertical-align: text-bottom;
  border: 0.2em solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spinner-border .75s linear infinite;
}

@keyframes spinner-border {
  to { transform: rotate(360deg); }
}

/* Bootstrap Icons */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.0/font/bootstrap-icons.css");
