/* Lesvoorbereiding-specific color overrides */
.wizard-subtitle {
  color: #1e6091;
}

.step-indicator.active {
  background: #168aad;
  color: white;
}

.step-indicator.completed {
  background: #52b69a;
  color: white;
}


.form-input:focus, 
.form-textarea:focus {
  border-color: #168aad;
}


.option-card.selected {
  border-color: #168aad;
  background: #d9ed92;
}

.checkbox-item:hover,
.checkbox-item.selected {
  border-color: #168aad;
  background: #d9ed92;
}

.checkbox-item input[type="checkbox"] {
  accent-color: #168aad;
}

.nav-button {
  background: #168aad;
}

.nav-button:hover {
  background: #1a759f;
}

.copy-button {
  background: #168aad;
}

.copy-button:hover {
  background: #1a759f;
}

.platform-button {
  background: #168aad;
}

.platform-button:hover {
  background: #1a759f;
}

.tips-section {
  background: #b5e48c;
  border: 2px solid #76c893;
}

.tips-title {
  color: #184e77;
}

.tips-list li {
  color: #184e77;
}

.tip-number {
  background: #52b69a;
}

/* Enhanced error message with shimmer animation */
.error-message {
  background: linear-gradient(45deg, #ff6b6b, #ee5a52);
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  margin: 10px 0;
  box-shadow: 0 4px 15px rgba(238, 90, 82, 0.3);
  border-left: 4px solid #ff5252;
  display: none;
  animation: slideInDown 0.3s ease-out;
  position: relative;
  overflow: hidden;
}

.error-message::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: shimmer 2s infinite;
}

.error-message.show {
  display: block;
}

.error-message .error-icon {
  display: inline-block;
  margin-right: 10px;
  font-size: 1.2em;
}

@keyframes slideInDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Checkbox grid layout */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}

/* Compact option cards for lesvoorbereiding */
.option-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin: 1rem 0;
}

.option-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #e9ecef;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.option-card:hover {
  border-color: #168aad;
  box-shadow: 0 4px 15px rgba(22, 138, 173, 0.2);
  transform: translateY(-1px);
}

.option-card.selected {
  border-color: #168aad;
  background: #d9ed92;
  box-shadow: 0 4px 15px rgba(22, 138, 173, 0.3);
}

.option-card-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.option-card > div {
  flex: 1;
}

.option-card-title {
  margin: 0 0 0.25rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
  line-height: 1.2;
}

.option-card-description {
  margin: 0;
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .option-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  
  .option-card {
    padding: 0.5rem;
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .option-card-icon {
    font-size: 1.25rem;
  }
  
  .option-card-title {
    font-size: 0.8rem;
  }
  
  .option-card-description {
    font-size: 0.65rem;
  }
}

@media (max-width: 480px) {
  .option-cards {
    grid-template-columns: 1fr;
  }
}

/* Summary container styling */
.summary-container {
  background: linear-gradient(135deg, #f8fafc 0%, #e8f5e8 100%);
  border: 2px solid #b5e48c;
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 8px 32px rgba(22, 138, 173, 0.1);
}

.summary-title {
  color: #168aad;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1.5rem 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.summary-card {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.summary-card:hover {
  border-color: #168aad;
  box-shadow: 0 4px 20px rgba(22, 138, 173, 0.15);
  transform: translateY(-2px);
}

.summary-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e2e8f0;
}

.summary-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.summary-header h4 {
  color: #168aad;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.summary-content {
  color: #374151;
  line-height: 1.6;
}

.summary-content p {
  margin: 0.5rem 0;
  font-size: 0.9rem;
}

.summary-value {
  color: #168aad;
  font-weight: 600;
}

.summary-text {
  background: #f8fafc;
  border-radius: 8px;
  padding: 0.75rem;
  border-left: 4px solid #168aad;
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0.5rem 0 0 0;
  white-space: pre-wrap;
  max-height: 120px;
  overflow-y: auto;
}

@media (max-width: 768px) {
  .summary-container {
    padding: 1.5rem;
    margin: 1rem 0;
  }

  .summary-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .summary-card {
    padding: 1rem;
  }

  .summary-title {
    font-size: 1.2rem;
    flex-direction: column;
    gap: 0.25rem;
  }
}

/* Generate Prompt Section Styling */
.generate-prompt-container {
  background: linear-gradient(135deg, #168aad 0%, #1a759f 100%);
  border-radius: 20px;
  padding: 2.5rem;
  margin: 3rem 0;
  text-align: center;
  box-shadow: 0 12px 40px rgba(22, 138, 173, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.generate-prompt-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  animation: shimmer 3s infinite;
}

.generate-prompt-header {
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.generate-prompt-title {
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.generate-prompt-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin: 0;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.generate-prompt-btn {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  color: #168aad;
  border: none;
  border-radius: 50px;
  padding: 1.2rem 3rem;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2;
  min-width: 320px;
  justify-content: center;
}

.generate-prompt-btn:hover {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
}

.generate-prompt-btn:active {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.btn-icon {
  font-size: 1.3rem;
  animation: pulse 2s infinite;
}

.btn-text {
  font-weight: 700;
  letter-spacing: 0.5px;
}

.btn-arrow {
  font-size: 1.2rem;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.generate-prompt-btn:hover .btn-arrow {
  transform: translateX(4px);
}

.generate-prompt-tips {
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 2;
}

.generate-prompt-tips p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@media (max-width: 768px) {
  .generate-prompt-container {
    padding: 2rem 1.5rem;
    margin: 2rem 0;
  }

  .generate-prompt-title {
    font-size: 1.4rem;
  }

  .generate-prompt-subtitle {
    font-size: 1rem;
  }

  .generate-prompt-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    min-width: 280px;
    flex-direction: column;
    gap: 0.5rem;
  }

  .btn-text {
    text-align: center;
    line-height: 1.3;
  }
}