@font-face {
  font-family: 'Henderson Sans Basic';
  src: url('/fonts/hendersonsansbasicbold-webfont.eot');
  src: url('/fonts/hendersonsansbasicbold-webfont.eot?#iefix') format('embedded-opentype'),
       url('/fonts/hendersonsansbasicbold-webfont.woff2') format('woff2'),
       url('/fonts/hendersonsansbasicbold-webfont.woff') format('woff'),
       url('/fonts/hendersonsansbasicbold-webfont.ttf') format('truetype'),
       url('/fonts/hendersonsansbasicbold-webfont.svg#henderson_sans_basicbold') format('svg');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Henderson Sans Basic';
  src: url('/fonts/hendersonsansbasicsemibold-webfont.eot');
  src: url('/fonts/hendersonsansbasicsemibold-webfont.eot?#iefix') format('embedded-opentype'),
       url('/fonts/hendersonsansbasicsemibold-webfont.woff2') format('woff2'),
       url('/fonts/hendersonsansbasicsemibold-webfont.woff') format('woff'),
       url('/fonts/hendersonsansbasicsemibold-webfont.ttf') format('truetype'),
       url('/fonts/hendersonsansbasicsemibold-webfont.svg#henderson_sans_basicsemibold') format('svg');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Henderson Sans Basic';
  src: url('/fonts/hendersonsansbasiclight-webfont.woff2') format('woff2'),
       url('/fonts/hendersonsansbasiclight-webfont.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* ==== BASE ==== */

html, body {
  height: 100%;
}

body {
  font-family: 'Henderson Sans Basic', -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  background: #fcfcfc;
}

/* ==== LAYOUT ==== */

#root {
  display: flex;
  min-height: 95%;
  align-items: center;
  justify-content: center;
}

.form-container {
  padding: 25px;
  box-shadow: 0 4px 14px 0 rgba(0, 0, 0, .3);
}

#root img#logo,
#logo {
  width: 100%;
  margin-bottom: 25px;
}

#login {
  border-radius: 2px;
}

/* ==== TIPOGRAFÍA ==== */

h1 {
  font-family: 'Henderson Sans Basic', "Arial", "Courier New";
  font-size: 30px;
  font-weight: 600;
  color: #182951;
}

.page-title {
  font-size: 3rem;      /* más grande y destacado */
  font-weight: 800;     /* extra bold */
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  color: rgb(24, 41, 81); /* mantiene el azul institucional */
}

p {
  color: rgba(0, 0, 0, .84);
  font-size: 16px;
}

/* ==== FORMULARIO ==== */

input[type="text"],
input[type="email"],
input[type="password"] {
  padding: 7px 0px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, .15);
  border-radius: 0;
  font-weight: 400;
  font-size: 16px;
  height: 36px;
  margin: 4px auto;
  outline: none;
  overflow: hidden;
  white-space: nowrap;
}

input[placeholder] {
  font-size: 16px;
}

.tip {
  color: #bebebe;
  font-weight: 100;
}

.error-tip {
  color: #ff8a8a;
}

/* ==== BOTÓN ==== */

button.action {
  border-radius: 0px;
  border: 1px solid rgba(0, 0, 0, .15);
  background: #fcfcfc;
  width: 160px;
  font-size: 18px;
  font-weight: bold;
  -webkit-appearance: none;
  outline: none;
  font-family: 'Henderson Sans Basic', 'Open Sans', monospace;
}

button.action:hover {
  background: rgba(0, 0, 0, .15);
}

/* ==== FOOTER ==== */

#footer {
  text-align: center;
  bottom: 0;
  text-transform: uppercase;
  font-size: 12px;
  color: #b1b1b1;
  padding: 15px;
}

/* ==== AUTO-FILL ==== */

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  border-bottom: 1px solid rgba(0, 0, 0, .15) !important;
  -webkit-text-fill-color: rgb(0, 0, 0) !important;
  background-color: #fff !important;
  -webkit-box-shadow: 0 0 0px 10px #ffffff inset;
  transition: background-color 5000s ease-in-out 0s;
}

/* ==== SNACKS (MENSAJES) ==== */

.snack-error {
  margin-top: 25px;
  padding: 15px;
  font-weight: 500;
  color: black;
  background-color: #FFCCCC;
  opacity: 0.9;
  border-radius: 2px;
  border: 1px solid #ff8a8a;
}

.snack-info {
  margin-top: 25px;
  padding: 15px;
  font-weight: 500;
  color: black;
  background-color: #c8d8df;
  opacity: 0.9;
  border-radius: 2px;
  border: 1px solid #7ea4b3;
}

/* ==== RESPONSIVE ==== */

@media only screen and (max-width: 768px) {
  body {
    background: #fff;
    padding: 20px;
    margin-top: 25px;
  }

  #root {
    position: absolute;
    top: 0;
    left: 0;
    background: #fff;
    width: 100%;
    -webkit-transform: none;
    transform: none;
  }

  #root div#form-container {
    padding: 25px;
    box-shadow: none;
  }

  .form-container {
    box-shadow: none;
  }

  #footer {
    display: none;
  }
}
