/* ═════════════════════════════════════════════════════════════
   BASE CSS - Reset y estilos globales
   
   - Reset de márgenes y paddings
   - Estilos de body
   - Container principal
═════════════════════════════════════════════════════════════ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--gray-100);
  min-height: 100dvh;
  color: var(--gray-800);
  line-height: 1.5
}

@media(min-width:768px) {
  body {
    background: #EEF2F7;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 0
  }
}

/* ── CONTAINER ── */
.container {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100dvh;
  background: #fff;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden
}

@media(min-width:768px) {
  .container {
    width: 440px;
    height: calc(100dvh - 40px);
    min-height: 0;
    max-height: 820px;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .4), 0 0 0 1px rgba(255, 255, 255, .1);
    overflow: hidden;
    position: relative;
  }
}

@media (min-width: 1024px) {
  body {
    background: #E8EDF4;
    padding: 32px 20px;
    align-items: flex-start
  }

  .container {
    width: 720px;
    max-width: 720px;
    min-height: 0;
    height: 90dvh;
    max-height: 90dvh;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,.18), 0 0 0 1px rgba(255,255,255,.08);
    overflow: clip;
    margin: 0 auto
  }
}

@media (min-width: 1440px) {
  body { padding: 40px 20px }

  .container {
    width: 920px;
    max-width: 920px;
    max-height: none
  }
}
