@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600&display=swap');

html,
body {
  height: 100%;
  margin: 0;
  font-family: 'Fredoka', sans-serif;
}

#principal_div {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #156886;
  background: linear-gradient(180deg, rgba(21, 104, 134, 1) 0%, rgba(29, 126, 161, 1) 40%, rgba(37, 150, 190, 1) 100%);
  height: 100vh;
  position: relative;
}

#principal_div::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  mask-image: url(../img/icons/animación.svg);
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: 100px;
  animation: lock-reveal 2s forwards ease-in-out;
  z-index: 100;
  /* Comienza por encima */
}

@keyframes lock-reveal {
  0% {
    mask-size: 100px;
    z-index: 100;
  }

  50% {
    mask-size: 1000vh;
    mask-image: url(../img/icons/animación.svg);
    z-index: 100;
  }

  99% {
    mask-size: 1vh;
    z-index: 100;
  }

  100% {
    mask-size: 1vh;
    z-index: 1;
    /* Termina por detrás */
  }
}

#principal_div::after{
  background-color: #12546d;
}
.logo {
  width: 85%;
  z-index: 2;
}

#login_div {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  width: 100%;
  max-width: 420px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
  position: relative;
  z-index: 10;
}

#conceplus_div {
  font-size: 2.5rem;
  font-weight: 600;
  color: #156886;
  text-shadow: none;
  margin-bottom: -1rem;
}

.label {
  font-size: 1.4rem;
  color: #156886;
  text-align: left;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.input {
  font-family: 'Fredoka', sans-serif;
  height: 3rem;
  padding: -1rem 1rem;
  font-size: 1rem;
  border: 2px solid rgba(21, 104, 134, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  transition: border-color 0.3s ease;
}

.input:focus {
  border-color: #156886;
  outline: none;
  box-shadow: 0 0 0 3px rgba(21, 104, 134, 0.1);
  background: rgba(255, 255, 255, 1);
}

.input::placeholder {
  color: rgba(21, 104, 134, 0.5);
  font-family: 'Fredoka', sans-serif;
}

.label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.btn {
  background: linear-gradient(135deg, #2596be 0%, #156886 100%);
  border: none;
  width: 100%;
  padding: 1rem;
  font-size: 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 1.5rem;
  color: white;
  font-weight: 600;
  font-family: 'Fredoka', sans-serif;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 15px rgba(21, 104, 134, 0.3);
}

.btn:hover {
  background: linear-gradient(135deg, #1d7e9f 0%, #12546d 100%);
}

.forgot-password {
  text-align: center;
  color: rgba(21, 104, 134, 0.7);
  text-decoration: none;
  font-size: 1rem;
  display: inline-block;
  margin-top: 1rem;
  font-family: 'Fredoka', sans-serif;
  transition: color 0.3s ease;
  margin-bottom: 1rem;
  font-weight: 500;
}

.forgot-password:hover {
  color: #156886;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

@media (max-width: 480px) {
  #login_div {
    padding: 2rem 1.5rem;
    max-width: 360px;
  }

  #conceplus_div {
    font-size: 2.2rem;
  }

  .btn {
    font-size: 1.1rem;
    padding: 0.9rem;
  }

  .label {
    font-size: 1.3rem;
  }

  .input {
    height: 2.8rem;
    font-size: 0.95rem;
  }
}