/* Start Button Styles */
.gender-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 16px 32px;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  letter-spacing: 0.5px;
  margin-top: 10px;
}

.gender-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  background: linear-gradient(135deg, #5a67d8 0%, #6b46a0 100%);
}

.gender-btn:active {
  transform: translateY(0px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.gender-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.5);
}

/* Hide the default gender-selection button container styling */
.gender-selection {
  text-align: center;
  padding: 20px;
}

.gender-selection h3 {
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

/* Option Styles (MBTI Options) */
.mbti-options {
  display: flex;
  gap: 20px;
  margin-top: 25px;
  flex-wrap: wrap;
  justify-content: center;
}

.mbti-option {
  flex: 1;
  min-width: 200px;
  background: #f8f9fa;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 18px 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mbti-option:hover {
  background: #f0f2f5;
  border-color: #667eea;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.mbti-option.selected {
  background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
  border-color: #667eea;
  border-width: 2px;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
  position: relative;
}

.mbti-option.selected::before {
  content: '✓';
  position: absolute;
  top: 10px;
  right: 15px;
  color: #667eea;
  font-size: 1.2rem;
  font-weight: bold;
}

.option-label {
  font-size: 1rem;
  font-weight: 500;
  color: #2c3e50;
  display: block;
  line-height: 1.4;
}

.mbti-option:hover .option-label {
  color: #667eea;
}

.mbti-option.selected .option-label {
  color: #5a67d8;
  font-weight: 600;
}

/* Question container styling to match */
.question {
  background: white;
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.question h3 {
  color: #667eea;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.question p {
  font-size: 1.2rem;
  color: #2c3e50;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 10px;
}

/* Next and Submit buttons to match start button style */
.calc-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
  margin-top: 20px;
  display: inline-block;
}

.calc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
  background: linear-gradient(135deg, #5a67d8 0%, #6b46a0 100%);
}

.calc-btn:active {
  transform: translateY(0px);
}

.calc-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.5);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .mbti-options {
    flex-direction: column;
    gap: 12px;
  }
  
  .mbti-option {
    min-width: auto;
    padding: 14px 20px;
  }
  
  .option-label {
    font-size: 0.95rem;
  }
  
  .gender-btn {
    padding: 12px 24px;
    font-size: 1rem;
  }
  
  .question p {
    font-size: 1rem;
  }
}
