/* Interview Question Page Styles */

.questions-section {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 clamp(1.25rem, 4vw, 2.75rem);
}

.questions-header {
  text-align: center;
  margin-bottom: 3rem;
}

.questions-header h2 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.questions-subtitle {
  font-size: 1.25rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

.questions-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.question-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.question-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.question-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #3964ff 0%, #1b3fcf 100%);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.question-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.question-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.question-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.5;
  margin: 0;
  flex: 1;
  min-width: 200px;
}

.question-type-badge {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  background: rgba(57, 100, 255, 0.1);
  color: #3964ff;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}

/* Answer Accordion */
.answer-accordion {
  margin-top: 1rem;
}

.answer-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  color: #3964ff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.5rem 0;
  transition: all 0.2s ease;
}

.answer-toggle:hover {
  color: #1b3fcf;
}

.toggle-icon {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.answer-toggle.active .toggle-icon {
  transform: rotate(180deg);
}

.answer-content {
  margin-top: 0.5rem;
  padding: 1.25rem 0;
  background: transparent;
  border-left: none;
  border-radius: 0;
  animation: slideDown 0.3s ease-out;
}

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

.answer-text {
  font-size: 1rem;
  color: #374151;
  line-height: 1.7;
  white-space: pre-wrap;
}

/* Responsive */
@media (max-width: 768px) {
  .questions-section {
    margin: 2rem auto;
  }

  .question-card {
    padding: 1.5rem;
    flex-direction: column;
    gap: 1rem;
  }

  .question-number {
    width: 40px;
    height: 40px;
    font-size: 1.125rem;
  }

  .question-text {
    font-size: 1.125rem;
  }

  .question-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

