/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors */
  --background: 0 0% 100%;
  --foreground: 222.2 84% 4.9%;
  --job-orange: 30 100% 50%;
  --job-orange-foreground: 0 0% 100%;
  --job-yellow: 45 100% 60%;
  --job-footer: 0 0% 0%;
  --job-footer-foreground: 0 0% 100%;
  --job-text: 0 0% 20%;
  --job-text-light: 0 0% 40%;
  --gray-100: 0 0% 96%;
  --gray-200: 0 0% 90%;
  --gray-300: 0 0% 80%;
  --gray-400: 0 0% 60%;
  --gray-500: 0 0% 50%;
  --gray-600: 0 0% 40%;
  --gray-700: 0 0% 30%;
  --gray-800: 0 0% 20%;
  --gray-900: 0 0% 10%;
  --white: 0 0% 100%;
  --black: 0 0% 0%;
  --red-50: 0 100% 97%;
  --red-200: 0 100% 90%;
  --red-700: 0 100% 50%;
  --yellow-400: 45 100% 60%;
  --green-400: 142 100% 60%;
  --green-500: 142 100% 50%;
  --radius: 0.5rem;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
}

/* Utility Classes */
.min-h-screen {
  min-height: 100vh;
}

.bg-gray-100 {
  background-color: hsl(var(--gray-100));
}

.bg-white {
  background-color: hsl(var(--white));
}

.bg-job-text {
  background-color: hsl(var(--job-text));
}

.bg-job-yellow {
  background-color: hsl(var(--job-yellow));
}

.bg-job-footer {
  background-color: hsl(var(--job-footer));
}

.bg-gray-50 {
  background-color: hsl(0 0% 98%);
}

.bg-gray-600 {
  background-color: hsl(var(--gray-600));
}

.bg-gray-700 {
  background-color: hsl(var(--gray-700));
}

.bg-gray-800 {
  background-color: hsl(var(--gray-800));
}

.text-white {
  color: hsl(var(--white));
}

.text-job-text {
  color: hsl(var(--job-text));
}

.text-job-text-light {
  color: hsl(var(--job-text-light));
}

.text-job-orange {
  color: hsl(var(--job-orange));
}

.text-job-yellow {
  color: hsl(var(--job-yellow));
}

.text-job-footer {
  color: hsl(var(--job-footer));
}

.text-job-footer-foreground {
  color: hsl(var(--job-footer-foreground));
}

.text-gray-300 {
  color: hsl(var(--gray-300));
}

.text-gray-600 {
  color: hsl(var(--gray-600));
}

.text-muted {
  color: hsl(215.4 16.3% 46.9%);
}

.text-sm {
  font-size: 0.875rem;
}

.text-xs {
  font-size: 0.75rem;
}

.text-base {
  font-size: 1rem;
}

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

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.text-5xl {
  font-size: 3rem;
}

.text-6xl {
  font-size: 3.75rem;
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.font-medium {
  font-weight: 500;
}

.leading-tight {
  line-height: 1.25;
}

.leading-relaxed {
  line-height: 1.75;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-md {
  max-width: 28rem;
}

.max-w-lg {
  max-width: 32rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.px-12 {
  padding-left: 3rem;
  padding-right: 3rem;
}

.px-16 {
  padding-left: 4rem;
  padding-right: 4rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mt-8 {
  margin-top: 2rem;
}

.pt-12 {
  padding-top: 3rem;
}

.rounded-lg {
  border-radius: var(--radius);
}

.rounded-sm {
  border-radius: 0.125rem;
}

.rounded-md {
  border-radius: calc(var(--radius) - 2px);
}

.rounded-full {
  border-radius: 9999px;
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.shadow-sm {
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.border {
  border-width: 1px;
}

.border-gray-200 {
  border-color: hsl(var(--gray-200));
}

.border-gray-300 {
  border-color: hsl(var(--gray-300));
}

.border-gray-700 {
  border-color: hsl(var(--gray-700));
}

.space-y-3 > * + * {
  margin-top: 0.75rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.space-y-8 > * + * {
  margin-top: 2rem;
}

.space-x-2 > * + * {
  margin-left: 0.5rem;
}

.space-x-3 > * + * {
  margin-left: 0.75rem;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.justify-center {
  justify-content: center;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.w-full {
  width: 100%;
}

.w-8 {
  width: 2rem;
}

.w-12 {
  width: 3rem;
}

.w-16 {
  width: 4rem;
}

.w-20 {
  width: 5rem;
}

.w-24 {
  width: 6rem;
}

.w-32 {
  width: 8rem;
}

.w-48 {
  width: 12rem;
}

.h-8 {
  height: 2rem;
}

.h-24 {
  height: 6rem;
}

.h-5 {
  height: 1.25rem;
}

.h-8 {
  height: 2rem;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-x-3 {
  column-gap: 0.75rem;
}

.gap-y-2 {
  row-gap: 0.5rem;
}

.underline {
  text-decoration: underline;
}

.hover\:underline:hover {
  text-decoration: underline;
}

.cursor-pointer {
  cursor: pointer;
}

.hover\:bg-gray-50:hover {
  background-color: hsl(0 0% 98%);
}

.hover\:bg-gray-500:hover {
  background-color: hsl(var(--gray-500));
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  text-align: center;
  border-radius: calc(var(--radius) - 2px);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-orange {
  background-color: hsl(var(--job-orange));
  color: hsl(var(--job-orange-foreground));
}

.btn-orange:hover {
  background-color: hsl(30 100% 45%);
  transform: scale(1.05);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.btn-yellow {
  background-color: hsl(var(--job-yellow));
  color: hsl(var(--job-footer));
  font-weight: 600;
}

.btn-yellow:hover {
  background-color: hsl(45 100% 55%);
  transform: scale(1.02);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.btn-secondary {
  background-color: hsl(var(--gray-600));
  color: hsl(var(--white));
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  font-size: 1rem;
}

.btn-secondary:hover {
  background-color: hsl(var(--gray-500));
}

/* Form Elements */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  background-color: hsl(210 40% 96.1% / 0.5);
  border: 1px solid hsl(var(--gray-300));
  border-radius: calc(var(--radius) - 2px);
  transition: all 0.2s;
}

.form-input:focus {
  outline: none;
  background-color: hsl(var(--white));
  border-color: hsl(var(--job-orange));
  box-shadow: 0 0 0 3px hsl(var(--job-orange) / 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

/* Radio Buttons */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.875rem 1.25rem;
  border: 2px solid hsl(var(--gray-300));
  border-radius: 0.5rem;
  background-color: hsl(var(--white));
  transition: all 0.2s ease;
  position: relative;
}

.radio-label:hover {
  border-color: hsl(var(--job-orange));
  background-color: hsl(30 100% 50% / 0.05);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.radio-label input[type="radio"] {
  width: 1.5rem;
  height: 1.5rem;
  margin: 0;
  cursor: pointer;
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  border: 2px solid hsl(var(--gray-400));
  border-radius: 50%;
  background-color: hsl(var(--white));
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.radio-label input[type="radio"]:checked {
  border-color: hsl(var(--job-orange));
  background-color: hsl(var(--job-orange));
  box-shadow: 0 0 0 4px hsl(30 100% 50% / 0.2);
}

.radio-label input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: hsl(var(--white));
}

.radio-label input[type="radio"]:focus {
  outline: none;
  box-shadow: 0 0 0 4px hsl(30 100% 50% / 0.2);
}

.radio-label:has(input[type="radio"]:checked),
.radio-label.radio-checked {
  border-color: hsl(var(--job-orange));
  background-color: hsl(30 100% 50% / 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.radio-label span {
  color: hsl(var(--job-text));
  user-select: none;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background-color: hsl(var(--white));
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 42rem;
  width: calc(100% - 2rem);
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  border: 1px solid hsl(214.3 31.8% 91.4%);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.modal-body {
  text-align: left;
  line-height: 1.6;
}

.modal-header {
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 0;
  right: 0;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: hsl(var(--gray-600));
  line-height: 1;
  padding: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: hsl(var(--gray-900));
}

.error-message {
  background-color: hsl(var(--red-50));
  border: 1px solid hsl(var(--red-200));
  color: hsl(var(--red-700));
  padding: 0.75rem 1rem;
  border-radius: calc(var(--radius) - 2px);
  margin-bottom: 1rem;
}

/* Page Sections */
.page-section {
  display: none;
}

.page-section.active {
  display: block;
}

/* Spinner */
.spinner {
  width: 6rem;
  height: 6rem;
  border: 4px solid hsl(var(--gray-300));
  border-top-color: hsl(var(--gray-400));
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive */
@media (min-width: 768px) {
  .md\:text-3xl {
    font-size: 1.875rem;
  }
  
  .md\:text-4xl {
    font-size: 2.25rem;
  }
  
  .md\:text-5xl {
    font-size: 3rem;
  }
  
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .md\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Additional utility classes */
.flex-shrink-0 {
  flex-shrink: 0;
}

.mt-0\.5 {
  margin-top: 0.125rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mx-2 {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

