.login-bg {
  min-height: 100vh;
  background: radial-gradient(ellipse at top left, #eaecec 60%, #d9e3ea 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.password-label-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  margin-bottom: 0.2rem;
}

.password-label-container label {
  color: #eaecec;
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}

.forgot-password {
  font-size: 0.85rem;
  color: #2d64ad;
  text-decoration: none;
  margin-left: auto;
}
.forgot-password:hover {
  text-decoration: underline;
}

.login-container {
  display: flex;
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 0 60px 5px #2d64ad, 0 0 1px 0 #222;
  background: rgba(#eaecec);
  max-width: 660px;
  width: 100%;
  min-height: 340px;
  border: 1.5px solid #2d64ad;
  position: relative;
  z-index: 3;
  animation: fadeIn .7s;
}
@keyframes fadeIn { from{opacity:0; transform: scale(0.98);} to{opacity:1;transform:scale(1);} }

.login-left, .login-right {
  flex: 1 1 50%;
  padding: 2.4rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: none;
}

.login-left {
  background: rgba(#eaecec, 0.96);
}

.login-left h2 {
  font-size:1.3rem;
  color: #eaecec;
  letter-spacing: 1px;
  margin-bottom: 1.3rem;
  font-weight: 500;
}

.login-left label {
  color: #1f264e;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: .2rem;
  margin-top: 1rem;
  display: block;
}

.input-group {
  display: flex;
  align-items: center;
  background: #1f264e;
  border-radius: .5rem;
  margin-bottom: .8rem;
  border: 1.5px solid #222c38;
  transition: border .18s;
}
.input-group:focus-within {
  border-color: #2d64ad;
}

.input-group input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  padding: .9rem .7rem;
  font-size: 1rem;
  letter-spacing: 1px;
}

.input-icon {
  padding: 0 .8rem 0 .2rem;
  display: flex;
  align-items: center;
  color: #65e6f7;
}

.login-btn {
  width: 100%;
  margin: 1.3rem 0 0.6rem 0;
  padding: .8rem 0;
  border-radius: 2rem;
  background: linear-gradient(90deg, #1f264e, #2d64ad 60%, #eaecec 1100%);
  /*box-shadow: 0 2px 20px #67e8f97b;*/
  color: #eaecec;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: .5px;
  border: none;
  cursor: pointer;
  transition: box-shadow .18s, background .15s;
}
.login-btn:hover {
  background: linear-gradient(90deg, #2d64ad 40%, #eaecec 100%);
  box-shadow: 0 4px 30px #38bdf88c;
}

.signup-text {
  color: #e1eaf7;
  font-size: .99rem;
  text-align: left;
  margin-top: .5rem;
  margin-bottom: 0;
}
.signup-link {
  color: #2d64ad;
  font-weight: 600;
  text-decoration: none;
  margin-left: 5px;
  transition: color .18s;
}
.signup-link:hover { color: #2d64ad; }














/*REGISTRO*/



/* Responsive */
@media (max-width: 900px) {

   .login-bg {
    min-height: 100vh;
    width: 100vw;
    padding: 15px  !important;
    margin: 0 !important;
    display: flex;
    overflow-x: hidden;
    align-items: center;
    justify-content: center;
  }
  .login-container {
    max-width: 100vw;
    width: 100vw;

    margin: 0;
    border-radius: 1.2rem;
    min-width: 0;
  }
  .login-left {
    min-width: 0;
    width: 100vw;
    border-radius: 1.2rem; /* o el valor que ya usas en desktop */

    padding: 2rem 1rem;
  }
  body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }
  html {
    overflow-x: hidden;
  }
}


