/* VA Disability Calculator - Styled like AdminJas IRA */
/* Based on AdminJas IRA's Tailwind + Shadcn/ui design system */

:root {
  /* Color palette - Light mode (neutral theme) */
  --background: 0 0% 100%;
  --foreground: 0 0% 3.9%;

  --primary: 0 0% 9%;
  --primary-foreground: 0 0% 98%;

  --secondary: 0 0% 96.1%;
  --secondary-foreground: 0 0% 9%;

  --accent: 0 0% 96.1%;
  --accent-foreground: 0 0% 9%;

  --muted: 0 0% 96.1%;
  --muted-foreground: 0 0% 45.1%;

  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 0 0% 98%;

  --border: 0 0% 89.8%;
  --input: 0 0% 89.8%;
  --ring: 0 0% 3.9%;

  --success: 142 76% 36%;
  --success-foreground: 0 0% 98%;

  --chart-1: 12 76% 61%;
  --chart-2: 173 58% 39%;
  --chart-3: 197 37% 24%;
  --chart-4: 43 74% 66%;
  --chart-5: 27 87% 67%;

  --radius: 0.5rem;
}

.dark {
  --background: 0 0% 3.9%;
  --foreground: 0 0% 98%;

  --primary: 0 0% 98%;
  --primary-foreground: 0 0% 9%;

  --secondary: 0 0% 14.9%;
  --secondary-foreground: 0 0% 98%;

  --accent: 0 0% 14.9%;
  --accent-foreground: 0 0% 98%;

  --muted: 0 0% 14.9%;
  --muted-foreground: 0 0% 63.9%;

  --destructive: 0 62.8% 30.6%;
  --destructive-foreground: 0 0% 98%;

  --border: 0 0% 14.9%;
  --input: 0 0% 14.9%;
  --ring: 0 0% 83.1%;

  --success: 142 76% 36%;
  --success-foreground: 0 0% 98%;
}

/* Base reset and typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.section-anchor {
  scroll-margin-top: 2rem;
}

/* Brand Logo */
.brand-logo {
  text-align: center;
  margin-bottom: 1.5rem;
}

.brand-name {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--success)) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.brand-tagline {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 3rem 1rem;
  margin-bottom: 3rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: hsl(var(--success) / 0.1);
  color: hsl(var(--success));
  border: 1px solid hsl(var(--success) / 0.3);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-actions .btn {
  text-decoration: none;
  min-width: 180px;
}

/* Military Branch Logos */
.branch-logo img {
    width: 100%;
    max-width: 80px;   /* adjust to taste */
    height: auto;
    display: block;
}

.branch-logos {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border));
}

.branch-logos-text {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.branch-logos-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.branch-logos-container:hover {
  opacity: 1;
}

.branch-logo {
  width: 70px;
  height: 70px;
  color: hsl(var(--muted-foreground));
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.branch-logo svg {
  width: 100%;
  height: 100%;
  display: block;
}

.branch-logo:hover {
  color: hsl(var(--primary));
  transform: scale(1.1);
}

.seal-logo {
  width: 80px;
  height: 80px;
  color: hsl(var(--primary));
}

.seal-logo:hover {
  color: hsl(var(--success));
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 1.875rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .branch-logos-container {
    gap: 1.5rem;
  }

  .branch-logo {
    width: 55px;
    height: 55px;
  }

  .seal-logo {
    width: 65px;
    height: 65px;
  }
}

/* Value Proposition Section */
.value-prop-card {
  margin-bottom: 2rem;
}

.value-prop-item {
  text-align: center;
  padding: 1.5rem 1rem;
}

.value-prop-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.value-prop-item h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: hsl(var(--foreground));
}

.value-prop-item p {
  line-height: 1.5;
}

/* Checklist Styles */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  padding: 0.5rem 0;
  border-bottom: 1px solid hsl(var(--border));
  font-size: 0.875rem;
}

.checklist li:last-child {
  border-bottom: none;
}

.disclaimer-list li {
  color: hsl(var(--muted-foreground));
}

/* How It Works Section */
.how-it-works-step {
  text-align: center;
  padding: 1.5rem 1rem;
}

.step-number-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.how-it-works-step h3 {
  font-size: 1.125rem;
  color: hsl(var(--foreground));
}

/* Benefit Map Section */
.benefit-map-card {
  margin-bottom: 2rem;
}

.benefit-map-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.benefit-item {
  padding: 1rem;
  background: hsl(var(--muted) / 0.3);
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid hsl(var(--border));
  transition: all 0.2s;
}

.benefit-item:hover {
  background: hsl(var(--accent));
  border-color: hsl(var(--primary) / 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 6px hsl(var(--foreground) / 0.1);
}

.benefit-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.benefit-item h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: hsl(var(--foreground));
}

.benefit-item p {
  line-height: 1.5;
}

@media (max-width: 768px) {
  .benefit-map-grid {
    grid-template-columns: 1fr;
  }
}

/* Card component (Shadcn/ui style) */
.card {
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) - 2px);
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  margin-bottom: 1.5rem;
}

.card-header {
  padding: 1.5rem;
  border-bottom: 1px solid hsl(var(--border));
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: hsl(var(--foreground));
}

.card-description {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.25rem;
}

.card-content {
  padding: 1.5rem;
}

.card-footer {
  padding: 1.5rem;
  padding-top: 0;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Form elements */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: hsl(var(--foreground));
}

.form-description {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.25rem;
}

.form-error {
  font-size: 0.875rem;
  color: hsl(var(--destructive));
  margin-top: 0.25rem;
}

/* Input component (Shadcn/ui style) */
.input {
  width: 100%;
  height: 2.25rem;
  padding: 0.5rem 0.75rem;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--input));
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  color: hsl(var(--foreground));
  transition: all 0.2s;
  outline: none;
  pointer-events: auto;
  -webkit-appearance: none;
  -moz-appearance: textfield;
}

/* Make number input spinner buttons more visible and larger */
.input[type="number"]::-webkit-inner-spin-button,
.input[type="number"]::-webkit-outer-spin-button {
  opacity: 1;
  cursor: pointer;
  width: 30px;
  height: 36px;
  margin: 0;
  padding: 0;
  background: hsl(var(--secondary));
  border-left: 1px solid hsl(var(--border));
}

.input[type="number"]::-webkit-inner-spin-button:hover,
.input[type="number"]::-webkit-outer-spin-button:hover {
  background: hsl(var(--accent));
}

/* Firefox number input buttons */
.input[type="number"] {
  -moz-appearance: textfield;
}

/* Specific styling for percentage input to make arrows stand out more */
.input[type="number"][data-type="percentage"] {
  padding-right: 35px;
}

.input[type="number"][data-type="percentage"]::-webkit-inner-spin-button,
.input[type="number"][data-type="percentage"]::-webkit-outer-spin-button {
  width: 35px;
  height: 100%;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.input[type="number"][data-type="percentage"]::-webkit-inner-spin-button:hover,
.input[type="number"][data-type="percentage"]::-webkit-outer-spin-button:hover {
  background: hsl(var(--primary) / 0.8);
}

.input:focus {
  outline: none;
  box-shadow: 0 0 0 1px hsl(var(--ring));
}

.input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.input::placeholder {
  color: hsl(var(--muted-foreground));
  opacity: 0.6;
}

/* Ensure text is visible in dark mode */
.dark .input {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  border-color: hsl(var(--border));
}

.dark .input::placeholder {
  color: hsl(var(--muted-foreground));
  opacity: 0.7;
}

/* Improve text visibility in inputs - ensure high contrast */
.input[type="text"],
.input[type="number"] {
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* Extra visibility for description field */
.input[data-type="description"] {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-size: 0.875rem;
  font-weight: 500;
}

.dark .input[data-type="description"] {
  background: hsl(var(--secondary) / 0.3);
  border-color: hsl(var(--border));
}

/* Select component */
.select {
  width: 100%;
  height: 2.25rem;
  padding: 0.5rem 0.75rem;
  padding-right: 2rem;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--input));
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  color: hsl(var(--foreground));
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 12px;
}

.select:focus {
  outline: none;
  box-shadow: 0 0 0 1px hsl(var(--ring));
}

.dark .select {
  background-color: hsl(var(--background));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ccc' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}

/* Button component (Shadcn/ui style) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.25rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: calc(var(--radius) - 2px);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.btn-primary:hover:not(:disabled) {
  background: hsl(var(--primary) / 0.9);
}

.btn-secondary {
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
}

.btn-secondary:hover:not(:disabled) {
  background: hsl(var(--secondary) / 0.8);
}

.btn-destructive {
  background: hsl(var(--destructive));
  color: hsl(var(--destructive-foreground));
}

.btn-destructive:hover:not(:disabled) {
  background: hsl(var(--destructive) / 0.9);
}

.btn-outline {
  background: transparent;
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border));
}

.btn-outline:hover:not(:disabled) {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.btn-ghost {
  background: transparent;
  color: hsl(var(--foreground));
}

.btn-ghost:hover:not(:disabled) {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.btn-sm {
  height: 2rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
}

.btn-lg {
  height: 2.5rem;
  padding: 0.5rem 2rem;
  font-size: 1rem;
}

/* Badge component */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: calc(var(--radius) - 2px);
  white-space: nowrap;
}

.badge-default {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.badge-secondary {
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
}

.badge-success {
  background: hsl(var(--success));
  color: hsl(var(--success-foreground));
}

.badge-destructive {
  background: hsl(var(--destructive));
  color: hsl(var(--destructive-foreground));
}

.badge-outline {
  background: transparent;
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border));
}

/* Table component (Shadcn/ui style) */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.table {
  width: 100%;
  caption-side: bottom;
  font-size: 0.875rem;
  border-collapse: collapse;
}

.table thead tr {
  border-bottom: 1px solid hsl(var(--border));
}

.table tbody tr {
  border-bottom: 1px solid hsl(var(--border));
  transition: background 0.2s;
}

.table tbody tr:hover {
  background: hsl(var(--muted) / 0.5);
}

.table tbody tr:last-child {
  border-bottom: none;
}

.table th {
  padding: 0.75rem;
  text-align: left;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
}

.table td {
  padding: 0.75rem;
  color: hsl(var(--foreground));
}

/* Alert component */
.alert {
  padding: 1rem;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid hsl(var(--border));
  margin-bottom: 1rem;
}

.alert-info {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.alert-success {
  background: hsl(var(--success) / 0.1);
  color: hsl(var(--success-foreground));
  border-color: hsl(var(--success) / 0.3);
}

.alert-warning {
  background: hsl(var(--chart-4) / 0.1);
  color: hsl(var(--foreground));
  border-color: hsl(var(--chart-4) / 0.3);
}

.alert-destructive {
  background: hsl(var(--destructive) / 0.1);
  color: hsl(var(--destructive));
  border-color: hsl(var(--destructive) / 0.3);
}

.alert-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

/* Grid layouts */
.grid {
  display: grid;
  gap: 1rem;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Flex utilities */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-end {
  justify-content: flex-end;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}

/* Spacing utilities */
.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

/* Text utilities */
.text-sm {
  font-size: 0.875rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.text-muted {
  color: hsl(var(--muted-foreground));
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

/* Dark mode toggle */
.theme-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 50;
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }

  .card {
    break-inside: avoid;
    box-shadow: none;
  }

  body {
    background: white;
    color: black;
  }

  /* Print header with branding */
  .hero-section::before {
    content: "Vet Intel - Intelligence for Veterans";
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid black;
  }

  .hero-section::after {
    content: "vetintel.org | For Estimation Purposes Only | Consult a VSO for Official Guidance";
    display: block;
    font-size: 0.75rem;
    margin-top: 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid black;
  }

  /* Print footer */
  body::after {
    content: "Generated by Vet Intel (vetintel.org) | Not affiliated with VA | " attr(data-print-date);
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.5rem;
    text-align: center;
    font-size: 0.75rem;
    border-top: 1px solid black;
    background: white;
  }
}

/* Disability rating specific styles */
.rating-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  background: hsl(var(--muted) / 0.3);
  border-radius: calc(var(--radius) - 2px);
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.rating-item-input {
  flex: 1;
  min-width: 0;
  pointer-events: auto;
}

/* Custom number input with visible increment/decrement buttons */
.number-input-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 140px;
}

.number-input-wrapper .input {
  padding-right: 45px;
  width: 100%;
}

.number-input-controls {
  position: absolute;
  right: 1px;
  top: 1px;
  bottom: 1px;
  display: flex;
  flex-direction: column;
  width: 36px;
  border-radius: 0 calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0;
  overflow: hidden;
}

.number-input-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border: none;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: bold;
  transition: background 0.2s;
  padding: 0;
  margin: 0;
  line-height: 1;
}

.number-input-btn:hover {
  background: hsl(var(--primary) / 0.85);
}

.number-input-btn:active {
  background: hsl(var(--primary) / 0.7);
}

.number-input-btn.increment {
  border-bottom: 0.5px solid hsl(var(--primary-foreground) / 0.2);
}

.number-input-btn.decrement {
  border-top: 0.5px solid hsl(var(--primary-foreground) / 0.2);
}

/* Hide default number input spinners since we have custom ones */
.number-input-wrapper .input[type="number"]::-webkit-inner-spin-button,
.number-input-wrapper .input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
  display: none;
}

.number-input-wrapper .input[type="number"] {
  -moz-appearance: textfield;
}

.rating-item-actions {
  display: flex;
  gap: 0.25rem;
}

.add-rating-btn {
  width: 100%;
  justify-content: center;
  border: 2px dashed hsl(var(--border));
  background: transparent;
  color: hsl(var(--muted-foreground));
}

.add-rating-btn:hover:not(:disabled) {
  background: hsl(var(--accent));
  border-color: hsl(var(--foreground));
  color: hsl(var(--foreground));
}

/* Results display */
.result-display {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  margin: 1.5rem 0;
}

.result-value {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.result-label {
  font-size: 1rem;
  opacity: 0.9;
}

/* Calculation steps */
.calculation-steps {
  background: hsl(var(--muted) / 0.3);
  padding: 1rem;
  border-radius: calc(var(--radius) - 2px);
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
}

.calculation-step {
  padding: 0.5rem 0;
  border-bottom: 1px solid hsl(var(--border));
}

.calculation-step:last-child {
  border-bottom: none;
}

.step-number {
  font-weight: 600;
  color: hsl(var(--primary));
  margin-right: 0.5rem;
}

/* Checkbox component */
.checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox {
  width: 1rem;
  height: 1rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.25rem;
  cursor: pointer;
}

.checkbox:checked {
  background: hsl(var(--primary));
  border-color: hsl(var(--primary));
}

/* Separator */
.separator {
  height: 1px;
  background: hsl(var(--border));
  margin: 1.5rem 0;
}

/* Compensation breakdown styles */
.compensation-breakdown {
  margin-top: 1.5rem;
}

.compensation-breakdown h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.compensation-breakdown .table td {
  padding: 0.5rem 0.75rem;
}

.compensation-breakdown .table tr:last-child td {
  padding-bottom: 0.75rem;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.3s ease-out;
}

/* Loading spinner */
.spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid hsl(var(--muted));
  border-top-color: hsl(var(--primary));
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Footer Styles */
.footer {
  background: hsl(var(--muted) / 0.3);
  border-top: 1px solid hsl(var(--border));
  margin-top: 4rem;
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand {
  padding-right: 2rem;
}

.brand-logo-footer {
  margin-bottom: 0.75rem;
}

.brand-logo-footer .brand-name {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--success)) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.brand-logo-footer .brand-tagline {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-column {
  min-width: 0;
}

.footer-heading {
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.footer-list a {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: color 0.2s;
}

.footer-list a:hover {
  color: hsl(var(--primary));
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border));
  text-align: center;
}

.footer-bottom p {
  line-height: 1.6;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand {
    padding-right: 0;
    border-bottom: 1px solid hsl(var(--border));
    padding-bottom: 1.5rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .brand-name {
    font-size: 2rem !important;
  }
}
