.campus-login {
  position: relative;
  min-height: 610px;
  background-size: cover;
  background-position: bottom center;
  background-repeat: no-repeat;
  background-color: #FFF;
  width: 100%;
  height: 100vh;
}
.logo {
  width: 130px;
  padding-bottom: 1.7rem;
}
.university-name {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
  color: #4b4b4d;
  text-transform: uppercase;
  padding: 0 1rem 1.5rem;
  line-height: 1.2;
  display: inline-block;
}
.welcome {
  text-align: center;
  font-weight: 500 !important;
  font-size: 1.7rem;
  padding-bottom: 1.2rem;
  color: #9a9a9b;
}
.form-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.form-container form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 100%;
  max-width: 100%;
}
.form-group.floating-label {
  position: relative;
  margin-bottom: 1.5rem;
}
.form-group.floating-label .form-control {
  height: 3.8rem;
  border: 1px solid #006a39;
  border-radius: 10px;
  color: #4b4b4d;
  padding: 1rem;
  font-size: 1.2rem;
  background-color: #f8fffc !important;
}
.form-group.floating-label .form-control:focus {
  border-color: #006a39;
}
.form-group.floating-label .form-control.error {
  border: 1px solid #dc3545 !important;
  background-color: #fcdede !important;
  color: #4b4b4d;
  /* Ocultar label flotante cuando hay error */
}
.form-group.floating-label .form-control.error:focus ~ label,
.form-group.floating-label .form-control.error:not(:placeholder-shown) ~ label,
.form-group.floating-label .form-control.error ~ label {
  top: -0.8rem;
  transform: none;
  font-size: 1rem;
  padding-left: 0.4rem;
  padding-right: 0.4rem;
  color: #dc3545;
  background-color: #FFF !important;
  display: block;
  border-radius: 5px;
}
.form-group.floating-label .form-control.error ~ .login-input-label,
.form-group.floating-label .form-control.error:focus ~ .login-input-label,
.form-group.floating-label .form-control.error:not(:placeholder-shown) ~ .login-input-label {
  display: none !important;
}
.form-group.floating-label label {
  position: absolute;
  top: 50%;
  left: 0.75rem;
  transform: translateY(-50%);
  background-color: #f8fffc;
  padding: 0 0.25rem;
  color: #006a39;
  font-size: 1.2rem;
  transition: all 0.2s ease;
  pointer-events: none;
}
.form-group.floating-label input {
  /* Estado autofill (Chrome, Edge) */
}
.form-group.floating-label input.error + label {
  color: #4b4b4d;
}
.form-group.floating-label input:focus ~ label,
.form-group.floating-label input:not(:placeholder-shown) ~ label,
.form-group.floating-label input:valid ~ label,
.form-group.floating-label input.valid ~ label {
  top: -0.8rem;
  transform: none;
  font-size: 1rem;
  padding-left: 0.4rem;
  padding-right: 0.4rem;
  color: #006a39;
  background-color: #FFF !important;
  border-radius: 5px;
}
.form-group.floating-label input:-webkit-autofill ~ .login-input-label,
.form-group.floating-label input:-webkit-autofill:focus ~ .login-input-label,
.form-group.floating-label input:-webkit-autofill:not(:placeholder-shown) ~ .login-input-label {
  top: -0.8rem;
  transform: none;
  font-size: 1rem;
  padding-left: 0.4rem;
  padding-right: 0.4rem;
  color: #006a39;
  background-color: #FFF !important;
  border-radius: 5px;
}
.btn {
  border-radius: 10px;
  font-weight: 600;
}
.btn-login {
  height: 3.8rem;
  background-color: #006a39;
}
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  height: 3.8rem;
  background-color: #FFF !important;
  color: #006a39 !important;
  border: 1px solid #006a39;
}
.validation-summary-valid {
  padding-top: 0.9rem;
}
.validation-summary-valid ul {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}
.validation-summary-valid li {
  display: block;
  margin: 0;
  padding: 0;
}
.forget-password-label {
  font-weight: 600;
  margin-top: 5px;
  color: #9a9a9b;
  padding-top: 0.9rem;
}
.forget-password-label a {
  color: #9a9a9b;
}
.forget-password-label a:active,
.forget-password-label a:focus,
.forget-password-label a:hover {
  color: #9a9a9b !important;
  text-decoration: none;
}
.border-line,
.text-line {
  color: lightgray;
}
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  height: 3.8rem;
  background-color: white !important;
  color: #000 !important;
  border: 1px solid lightgray;
}
.campus-menu {
  background-image: url("/images/themes/unifslb/login-campus.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  height: 100%;
}
.campus-menu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #0d3422 0%, #006022 100%);
  opacity: 0.85;
  z-index: 1;
}
.campus-menu .options {
  position: relative;
  z-index: 2;
}
.scrollable-column {
  height: auto;
  overflow: visible;
}
.scrollable-column.campus-menu {
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
}
.nav .nav-item a {
  color: #19ca78;
  font-weight: 400;
  font-size: 1.5rem;
}
.nav .nav-item .active {
  color: #FFF;
  font-weight: bold;
  font-size: 1.6rem;
  border-bottom: 2px solid #FFF;
}
.campus-item {
  border-radius: 25px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 5px;
  margin: 8px;
  text-align: center;
  min-height: 150px;
  background-color: #FFF;
  transition: all 0.25s ease-in-out;
}
.campus-item:hover {
  box-shadow: 0 8px 15px rgba(154, 154, 155, 0.5);
  transform: translateY(-4px);
  background-color: #FFF;
}
.campus-item.disabled {
  cursor: not-allowed;
  opacity: 0.8;
}
.campus-item.disabled:hover {
  transform: none;
  box-shadow: none;
}
.campus-item svg {
  padding-bottom: 1rem;
  width: 65px;
  height: 65px;
  color: #006a39;
}
.campus-item span {
  color: #0d3422;
  font-weight: 500;
}
.campus-item span:hover {
  font-weight: bold;
}
.welcome-text {
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  font-size: 2.5rem;
  font-weight: bold;
}
.welcome-text .university-abb {
  color: #19ca78;
}
.welcome-text .welcome-abb {
  color: #FFF;
}
.welcome-dots {
  display: flex;
  gap: 8px;
}
.welcome-dots .dot {
  width: 20px;
  height: 8px;
  border-radius: 6px;
  background-color: #c4c4c4;
}
.welcome-dots .dot.active {
  background-color: #19ca78;
  width: 50px;
}
.p-5 {
  padding: 5rem;
}
button:disabled {
  cursor: not-allowed;
}
@media (max-width: 575.98px) {
  .campus-login {
    background-image: url("/images/themes/unifslb/login-campus.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    position: relative;
  }
  .campus-login::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #0d3422 0%, #006022 100%);
    opacity: 0.85;
    z-index: 1;
  }
  .campus-login .form {
    position: relative;
    z-index: 2;
  }
  .campus-menu {
    background: #FFF !important;
    background-image: none !important;
  }
  .campus-menu::before {
    display: none !important;
  }
  .campus-menu.scrollable-column {
    height: auto;
    overflow-y: hidden;
    overflow-x: hidden;
  }
  .logo {
    width: 110px;
    padding-bottom: 1.5rem;
  }
  .university-name {
    font-size: 1.7rem;
    color: #f8fffc;
  }
  .welcome {
    font-size: 1.5rem;
    color: #f8fffc;
  }
  .border-line,
  .text-line {
    color: #f8fffc;
  }
  .btn-google {
    height: 3.8rem;
    border: none;
  }
  .nav .nav-item a {
    color: #9a9a9b;
    font-weight: 400;
    font-size: 1.2rem;
  }
  .nav .nav-item .active {
    color: #006a39;
    font-weight: bold;
    font-size: 1.3rem;
    border-bottom: 2px solid #006a39;
  }
  .campus-item {
    background-color: #FFF;
    border: solid 2px #006a39;
    transition: all 0.35s ease-in-out;
  }
  .campus-item:hover {
    box-shadow: 0 8px 15px rgba(154, 154, 155, 0.4);
    transform: translateY(-4px);
    background-color: #f8fffc;
  }
  .campus-item.disabled {
    cursor: not-allowed;
    opacity: 0.7;
  }
  .campus-item.disabled:hover {
    transform: none;
    box-shadow: none;
    background-color: #FFF;
  }
  .campus-item svg,
  .campus-item:hover svg,
  .campus-item span,
  .campus-item:hover span {
    color: #006a39;
  }
  .welcome-text {
    display: none;
  }
  .welcome-text .welcome-abb {
    color: #0d3422;
  }
  .forget-password-label a {
    color: #f8fffc;
  }
  .welcome-dots {
    display: none;
  }
  .campus-info {
    color: #f8fffc;
  }
}
