/* Custom Button Styles */

/* Purple button (Indigo - Site Style) */
.btn-indigo {
  background-color: #754bbf !important;
  color: #ffffff !important;
  border-color: #6a43b0 !important;
}

.btn-indigo:hover {
  background-color: #6a43b0 !important;
  color: #ffffff !important;
}

/* Red button (Brown in original) */
.btn-brown {
  background-color: #A52A2A !important;
  color: #ffffff !important;
  border-color: #8B2323 !important;
}

.btn-brown:hover {
  background-color: #8B2323 !important;
  color: #ffffff !important;
}

/* Dark Blue button */
.btn-blue {
  background-color: #1E40AF !important; /* Dark blue color matching the chart */
  color: #ffffff !important;
  border-color: #1E3A8A !important;
}

.btn-blue:hover {
  background-color: #1E3A8A !important;
  color: #ffffff !important;
}

/* Green button (Teal in original) */
.btn-teal {
  background-color: #008B45 !important;
  color: #ffffff !important;
  border-color: #007538 !important;
}

.btn-teal:hover {
  background-color: #007538 !important;
  color: #ffffff !important;
}

/* General button styles enhancement */
.btn {
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  transition: all 0.2s ease-in-out;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn i {
  font-size: 1rem;
}

/* Job Finder Section Styling */
#job-finder {
  background-color: #f5f5f5;
  padding: 3rem 0;
  margin-top: 0;
  margin-bottom: 2rem;
  border-radius: 0.5rem;
  scroll-margin-top: 80px; /* Ensures proper scrolling when using anchor links */
  width: 100%;
}

/* Override column constraints to allow full width */
#job-finder > div[class*="md:col"] {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}

.job-finder-container {
  background-color: #f5f5f5;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Main job finder component - ensure full width */
#main-job-finder {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Assessment container styling */
.assessment-container {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 1.5rem;
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Results container styling */
.results-container {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  width: 100%;
}

/* Ensure the question container takes full width */
#question-container {
  width: 100%;
}

/* Ensure proper responsive behavior */
@media (max-width: 768px) {
  .job-finder-container {
    padding: 0 1rem;
  }
}

/* Fix for the features section to override column layout */
section[id="job-finder"] .row {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
}

section[id="job-finder"] .container {
  max-width: 1200px;
  width: 100%;
}

section[id="job-finder"] [class*="col"] {
  max-width: 100% !important;
  flex: 0 0 100% !important;
  padding: 0 !important;
}

/* Skill Profile Chart Styling */
#skills-chart {
  overflow-x: auto;
}

#skills-chart .bg-primary {
  background-color: #754bbf;
}

#skills-chart .h-4 {
  transition: width 0.5s ease-in-out;
}

/* Top Skills Card Styling */
#top-skills .border {
  border-color: #e5e7eb;
}

#top-skills .rounded-lg {
  border-radius: 0.5rem;
}

/* Likert Scale Styling */
.likert-scale {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.likert-scale .option {
  text-align: center;
}

.likert-scale label {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  width: 100%;
}

.likert-scale .option label div {
  transition: all 0.2s ease-in-out;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.likert-scale .option label:hover div {
  border-color: #754bbf;
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Enhanced Likert labels */
.likert-labels {
  max-width: 400px;
  margin: 0 auto;
  font-weight: 500;
}

.likert-labels span {
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
}

/* Custom border width class */
.border-3 {
  border-width: 3px !important;
}

/* Specific label styling for Strongly Disagree/Agree */
.likert-label-disagree {
  background-color: #A52A2A;
  color: #ffffff;
  border: 1px solid #8B2323;
}

.likert-label-agree {
  background-color: #008B45;
  color: #ffffff;
  border: 1px solid #007538;
}