/* Andrew Thomas Motorcars — Custom Styles */

/* Smooth focus outlines for accessibility */
*:focus-visible {
  outline: 2px solid theme('colors.emerald.300');
  outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: theme('colors.cream.100');
}
::-webkit-scrollbar-thumb {
  background: theme('colors.emerald.800');
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: theme('colors.emerald.950');
}

/* Selection color */
::selection {
  background: theme('colors.emerald.800');
  color: theme('colors.cream.50');
}

/* Input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 30px theme('colors.cream.50') inset !important;
  -webkit-text-fill-color: theme('colors.emerald.950') !important;
}

/* Print styles */
@media print {
  header, #contact-form, iframe { display: none; }
  body { color: #000; background: #fff; }
  a { color: #000; }
}
