/* SLD Co. Custom Design System Enhancements */
@layer base {
  html {
    scroll-behavior: smooth;
  }
  body {
    overscroll-behavior: none;
  }
  ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }
  ::-webkit-scrollbar-track {
    background: #faf9f5;
  }
  ::-webkit-scrollbar-thumb {
    background: #c4c5d9;
    border-radius: 9999px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #3155FF;
  }
}

/* Short zoom image animation */
.zoom-short-img {
  will-change: transform;
  transform: scale(1);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.group:hover .zoom-short-img,
.zoom-short-container:hover .zoom-short-img {
  transform: scale(1.04);
}

/* Subtle card hover elevation */
.zoom-subtle-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.zoom-subtle-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -10px rgba(10, 10, 10, 0.08);
}

/* Form input focus styles */
.sld-input {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.sld-input:focus {
  outline: none;
  border-color: #3155FF;
  box-shadow: 0 0 0 1px #3155FF;
  background-color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
  .zoom-short-img, .zoom-subtle-card {
    transform: none !important;
    transition: none !important;
  }
}
