/* reset.css (sintetizado: Tailwind + custom tweaks) */

*, ::before, ::after, ::backdrop {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
  margin: 0;
  padding: 0;
  outline: 0; /* quita outline genérico, lo compensas con focus-visible en global */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  font-family: system-ui, sans-serif;
}

body {
  margin: 0;
  line-height: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: inherit;
  background-color: transparent;
  transition: .1s background linear;
  position: relative;
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

img, svg, video, canvas, audio, iframe, embed, object {
  display: block;
  vertical-align: middle;
}

img, video {
  max-width: 100%;
  height: auto;
}

svg:not(:root) {
  overflow: hidden;
}

button, input, optgroup, select, textarea {
  font: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
  line-height: inherit;
  background: transparent;
  border: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Selección personalizada */
::selection {
  background: rgba(40,185,174,.1);
}
::-moz-selection {
  background: rgba(40,185,174,.1);
}
