body,
html {
  height: 100%;
  margin: 0;
  background-color: #f0f4f8;

  padding-bottom: 60px;

  position: relative;
  min-height: 100vh;
}

.login-container {
  min-height: calc(100vh - 60px);

  display: flex;
  align-items: center;
  padding: 2rem 0;
}

.card-login {
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.left-panel {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(
    to bottom right,
    rgba(44, 137, 197, 0.7),
    rgba(26, 95, 138, 0.9)
  );
  min-height: 400px;
}

.left-panel-image-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.left-panel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.overlay-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 3;
  color: white;
  text-align: center;
  padding: 2rem;
}

.overlay-text h2 {
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.right-panel {
  background: #fff;
  padding: 3rem;
}

.form-control {
  border-radius: 30px;
  padding-left: 40px;
}

.input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
}

.form-group {
  position: relative;
}

.btn-login {
  border-radius: 30px;
  background: linear-gradient(to right, #2c89c5, #1a5f8a);
  color: #fff;
  transition: all 0.3s ease;
}

.btn-login:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 17px rgba(0, 0, 0, 0.2);
  color: #fff;
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #45b95f;
  transform: scale(1.1);
}

.whatsapp-float i {
  margin-top: 15px;
}

.title-container {
  text-align: center;
  margin-bottom: 1.5rem;
}

.main-title {
  color: #1a5f8a;
  font-weight: bold;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.subtitle {
  color: #6c757d;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.hospital-footer {
  background-color: #1a5f8a;
  color: white;
  padding: 1rem 0;
  text-align: center;
  position: absolute;

  bottom: 0;
  width: 100%;
  height: 60px;
}

@media (max-width: 768px) {
  .card-login {
    flex-direction: column;
    margin-bottom: 60px;
  }

  .left-panel {
    min-height: 200px;
  }

  .right-panel {
    padding: 2rem;
    width: 100%;
  }

  .overlay-text h2 {
    font-size: 1.5rem;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 80px;

    right: 20px;
    font-size: 25px;
  }

  .whatsapp-float i {
    margin-top: 12px;
  }

  body {
    padding-bottom: 80px;
  }
}

.logos-container {
  position: absolute;
  bottom: 20px;
  right: 40px;

  z-index: 5;
}

.logos-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo-item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-img {
  max-height: 70px;
  max-width: 140px;
  object-fit: contain;
}

.white-logo {
  filter: brightness(0) invert(1) drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.5));
}

@media (max-width: 768px) {
  .logos-container {
    right: 20px;
    bottom: 10px;
  }

  .logos-group {
    gap: 15px;
  }

  .logo-img {
    max-height: 50px;
    max-width: 100px;
  }
}

.left-panel .destacado-title {
  color: white;
  font-weight: bold;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.7);
  padding-bottom: 12px;
  margin-bottom: 1.2rem;
  font-size: 1.7rem;
  display: inline-block;
  position: relative;
  text-align: center;
}

.left-panel .destacado-title:after {
  content: "";
  position: absolute;
  width: 70%;
  height: 3px;
  background: linear-gradient(to right, white, transparent);
  bottom: 0;
  left: 15%;
  border-radius: 2px;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3);
}

.overlay-text {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

@media (max-width: 768px) {
  .left-panel .destacado-title {
    font-size: 1.4rem;
  }
}
