/* ==================== 01-reset.css ==================== */
/* Reset CSS moderne et minimal pour fxlive.trading */

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

/* Reset des marges et padding */
* {
  margin: 0;
  padding: 0;
}

/* HTML de base */
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Body */
body {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
}

/* Titres */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
}

/* Liens */
a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Listes */
ul, ol {
  list-style: none;
}

/* Images */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* ✅ Exception pour logos spécifiques */
/*svg.easyalgos-logo {
  max-width: 90%;
  margin: 0 auto;
}*/

/* Formulaires */
input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

/* Tables */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Suppression des styles par défaut des inputs */
input:focus,
textarea:focus,
select:focus,
button:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Scroll smooth */
html {
  scroll-behavior: smooth;
}

/* Amélioration du contraste pour les éléments désactivés */
:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

/* Selection de texte */
::selection {
  background-color: var(--color-primary-light);
  color: white;
}