body {
  background: linear-gradient(
    135deg,
    #0a56c7 0%,
    #0d6efd 30%,
    #0b5ed7 70%,
    #084298 100%
  );
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Segoe UI", Arial, sans-serif;
}

.login-container {
  max-width: 400px;
  margin: 50px auto;
}

.panel-login {
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  overflow: hidden;
}

.panel-login:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.panel-heading img {
  max-width: 100px;
  margin-bottom: 10px;
}

.form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.2);
}

.input-group-addon {
  cursor: pointer;
  background-color: #f8f9fa;
  transition: background-color 0.3s;
}

.input-group-addon:hover {
  background-color: #e9ecef;
}

.panel-heading {
  text-align: center;
  background: linear-gradient(
    135deg,
    #0a56c7 0%,
    #0d6efd 30%,
    #0b5ed7 70%,
    #084298 100%
  ) !important;
  color: #fff !important;
  padding: 35px 20px;
  border-bottom: none !important;
  position: relative;
  overflow: hidden;
}

.panel-heading h3 {
  color: #fff !important;
  font-weight: bold;
  margin-top: 10px;
  font-size: 24px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.panel-body {
  padding: 25px;
  background: #fff;
}

.form-group {
  margin-bottom: 20px;
}

label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 8px;
}

/* .form-control {
      padding: 14px 14px 14px 40px;
      border-radius: 8px;
      border: 1px solid #ced4da;
      transition: border-color 0.3s, box-shadow 0.3s;
      height: auto;
      width: 100%;
    } */

.input-icon {
  position: relative;
}

/* Estilos para los iconos dentro de los campos - A LA DERECHA */
.input-icon i {
  position: absolute;
  right: 15px;
  top: 73%;
  transform: translateY(-50%);
  color: #6c757d;
  z-index: 2;
  font-size: 16px;
}

/* Contenedor para la línea vertical y el icono */
.input-icon::after {
  content: "";
  position: absolute;
  right: 40px;
  top: 73%;
  transform: translateY(-50%);
  height: 33px;
  width: 1px;
  background-color: #ced4da;
  z-index: 2;
}

/* Media queries para responsividad */
@media (max-width: 480px) {
  .login-container {
    padding: 0 15px;
  }

  .panel-body {
    padding: 20px;
  }

  .form-control {
    padding: 12px 40px 12px 12px;
  }

  .input-icon i {
    right: 12px;
    font-size: 14px;
  }

  .input-icon::after {
    right: 39px;
    height: 33px;
  }
}
