/* Fuente Montserrat de Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

body {
  background: #fafafa;
  font-family: 'Montserrat', Arial, sans-serif;
  margin: 0;
  min-height: 100vh;
}

/* --- NAVBAR SHELL BOX --- */
.main-navbar {
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 12px 0 rgba(0,0,0,0.10);
  position: relative;
  z-index: 10;
}
.navbar-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  height: 56px;
  gap: 32px;
}
.navbar-logo {
  height: 32px;
  margin-right: 32px;
}
.navbar-links {
  display: flex;
  gap: 56px;
  flex: none;
  align-items: center;
}
.navbar-links a {
  color: #555;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 400;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.2s;
}
.navbar-links a:hover {
  color: #E51C23;
}
.navbar-login {
  align-self: center;
  background: #E51C23;
  color: #fff;
  border-radius: 16px;
  padding: 7px 16px;
  font-size: 0.65rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
  font-family: 'Montserrat', Arial, sans-serif;
  box-shadow: 0 2px 8px 0 rgba(229,28,35,0.10);
  min-width: 60px;
  width: 80px;
  text-align: center;
  display: inline-block;
}
.navbar-login:hover {
  background: #b9151b;
}
.navbar-register {
  align-self: center;
  background: #fff;
  color: #E51C23;
  border: 1.5px solid #23272b;
  border-radius: 16px;
  padding: 4px 8px;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border 0.2s;
  font-family: 'Montserrat', Arial, sans-serif;
  box-shadow: 0 2px 8px 0 rgba(229,28,35,0.10);
  margin-left: 0;
  display: inline-block;
  text-align: center;
  min-width: 50px;
}
.navbar-register:hover {
  background: #eafaf1;
  color: #23272b;
  border-color: #23272b;
}
@media (max-width: 900px) {
  .navbar-content {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    padding: 0 8px;
    gap: 0;
    overflow-x: unset;
    min-height: 80px;
  }
  .navbar-logo {
    height: 24px;
    margin: 8px auto 0 auto;
    display: block;
  }
  .navbar-links {
    flex-direction: row;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin: 0 auto;
    min-width: 0;
    white-space: normal;
    display: flex;
  }
  .navbar-links a {
    font-size: 0.85rem;
    padding: 6px 10px;
    display: inline-block;
  }
  .navbar-login, .navbar-register {
    font-size: 0.85rem;
    padding: 8px 18px;
    min-width: auto;
    margin: 0;
    display: inline-block;
    vertical-align: middle;
    border-radius: 16px;
  }
  .navbar-login {
    margin-right: 4px;
  }
  .navbar-buttons-mobile {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 8px 0 4px 0;
  }
  /* Ocultar botones en la fila principal */
  .navbar-content > .navbar-login,
  .navbar-content > .navbar-register {
    display: none;
  }
}

@media (max-width: 500px) {
  .navbar-content {
    min-height: 90px;
    padding: 0 4px;
  }
  .navbar-logo {
    height: 20px;
    margin-top: 6px;
  }
  .navbar-links {
    gap: 10px;
  }
  .navbar-links a {
    font-size: 0.8rem;
    padding: 5px 8px;
  }
  .navbar-login, .navbar-register {
    font-size: 0.8rem;
    padding: 7px 12px;
    border-radius: 14px;
  }
  .navbar-login {
    margin-right: 2px;
  }
  .navbar-buttons-mobile {
    margin: 6px 0 2px 0;
  }
}
/* --- FIN NAVBAR --- */

.login-wrapper {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  max-width: 400px;
  margin: 48px auto 0 auto;
  padding: 40px 32px 32px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-wrapper h2 {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 32px;
  color: #23272b;
  text-align: center;
}

.cc {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

input[type="text"] {
  padding: 16px 14px;
  border-radius: 12px;
  border: 1.5px solid #e0e0e0;
  font-size: 1rem;
  outline: none;
  transition: border 0.2s;
  width: 220px;
  max-width: 90%;
  box-sizing: border-box;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
input[type="text"]:focus {
  border: 1.5px solid #E51C23;
}

input[type="submit"] {
  background: #E51C23;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 12px 0;
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 8px;
  width: 220px;
  max-width: 90%;
  box-sizing: border-box;
  letter-spacing: 0.5px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
input[type="submit"]:hover {
  background: #b9151b;
}

/* Botón secundario (Registrarme) */
.registrarme-btn {
  background: #fff;
  color: #E51C23;
  border: 2px solid #E51C23;
  border-radius: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 16px 0;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s, color 0.2s;
}
.registrarme-btn:hover {
  background: #ffeaea;
}

h2 {
  color: #23272b;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
}

/* Estilos del Footer */
.main-footer {
  background: #fff;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.07);
  padding: 36px 0 18px 0;
  margin-top: 48px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 24px;
}
.footer-logo-col {
  flex: 1 1 120px;
  min-width: 120px;
  display: flex;
  align-items: flex-start;
}
.footer-logo {
  width: 60px;
  margin-bottom: 12px;
}
.footer-links-col {
  flex: 1 1 160px;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-links-col h4 {
  color: #E51C23;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.footer-links-col a {
  color: #23272b;
  text-decoration: none;
  font-size: 0.98rem;
  margin-bottom: 2px;
  transition: color 0.2s;
}
.footer-links-col a:hover {
  color: #E51C23;
}
.footer-social-col {
  flex: 1 1 120px;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer-social-col h4 {
  color: #E51C23;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.footer-social-icons {
  display: flex;
  gap: 12px;
}
.footer-social-link svg {
  display: block;
  transition: transform 0.2s;
}
.footer-social-link:hover svg {
  transform: scale(1.12);
}
@media (max-width: 800px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
  }
  .footer-logo-col, .footer-links-col, .footer-social-col {
    align-items: center;
    justify-content: center;
  }
}