:root {
  --bg-overlay: rgba(255, 255, 255, 0.76);
  --card-blue-1: #1d70c6;
  --card-blue-2: #0053b8;
  --card-blue-3: #2f8df0;
  --white: #ffffff;
  --label: #dbe9ff;
  --input-bg: rgba(255, 255, 255, 0.08);
  --input-border: rgba(255, 255, 255, 0.18);
  --shadow-card: 0 28px 60px rgba(4, 46, 94, 0.42);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

/* Fondo con la imagen */
.background {
  position: fixed;
  inset: 0;
  background-image: url("/resources/images/login/background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.30;         
  z-index: 0;
}

body {
  font-family: "Roboto", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-overlay);
  overflow: hidden;
}

/* Card */
.login-wrapper {
  position: relative;
  z-index: 2;
  width: 380px;
  max-width: 92vw;
  border-radius: 28px;
  padding: 46px 52px 40px;
  background: radial-gradient(circle at top left, var(--card-blue-3), var(--card-blue-2)),
              linear-gradient(180deg, var(--card-blue-1), var(--card-blue-2));
  box-shadow: var(--shadow-card);
  color: var(--white);
}

.login-title {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 500;
  margin-bottom: 36px;
  text-align: center;
}
.login-title span {
  font-size: 18px;
  line-height: 1.2;
  font-weight: 500;
  margin-bottom: 36px;
  display: block;
  text-align: right;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: var(--label);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--input-border);
  background: var(--input-bg);
  color: #eaf2ff;
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.form-control:focus {
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
}

/* Botón */
.btn-submit {
  width: 100%;
  border: none;
  margin-top: 18px;
  padding: 11px 16px;
  border-radius: 10px;
  background: var(--white);
  color: #134283;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(4, 46, 94, 0.4);
  transition: 0.08s ease;
}

.btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 26px rgba(4, 46, 94, 0.45);
}

.btn-submit:active {
  transform: translateY(1px);
  box-shadow: 0 6px 14px rgba(4, 46, 94, 0.35);
}

/* Logo superior izquierdo */
.logo-welldex {
  position: fixed;
  top: 28px;
  left: 40px;
  width: 150px;          
  z-index: 3;
  opacity: 0.95;        
  user-select: none;
}

/* Enlace "¿Olvidaste tu contraseña?" */
.forgot-password {
  display: block;
  text-align: right;
  margin-top: -10px;
  margin-bottom: 14px;
  font-size: 13px;
  color: #dbe9ff; 
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
  opacity: 0.9;
}

.forgot-password:hover {
  color: #ffffff;
  opacity: 1;
  text-decoration: underline;
}



/* Mobile */
@media (max-width: 600px) {
  .login-wrapper {
    padding: 34px 26px 30px;
    border-radius: 22px;
  }

  .login-title {
    font-size: 22px;
  }
}


