/* 
   LUX Neo Reset CSS
   A modern CSS reset for the LUX Neo website
*/

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin and padding */
html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
  padding: 0;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* Remove list styles on ul, ol elements */
ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Set default link styles */
a {
  color: inherit;
  text-decoration: none;
}

/* Set default button styles */
button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* Remove outline for non-keyboard focus */
*:focus:not(:focus-visible) {
  outline: none;
}

/* Preserve outline for keyboard focus */
*:focus-visible {
  outline: 2px solid rgb(var(--entity-deployment-rgb));
  outline-offset: 2px;
}

/* Set default table styles */
table {
  border-collapse: collapse;
  width: 100%;
}

/* Set default form element styles */
input,
textarea,
select {
  border: 1px solid rgba(var(--dark-600), 0.5);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-3);
  background-color: rgba(var(--dark-800), 0.5);
  color: rgb(var(--dark-100));
  transition: all 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgb(var(--entity-deployment-rgb));
  box-shadow: 0 0 0 2px rgba(var(--entity-deployment-rgb), 0.2);
  outline: none;
}

/* Set default placeholder styles */
::placeholder {
  color: rgba(var(--dark-300), 0.7);
}
