/* =========================================================
   LOGIN PW - FINAL (LOGO GRANDE Y CENTRADO)
========================================================= */

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #0a0a0d;
}

/* FONDO */
.login-page {
  min-height: 100vh;
  width: 100%;
  background:
    linear-gradient(90deg, rgba(201, 19, 49, 0.45) 0%, rgba(10, 10, 13, 0) 22%),
    linear-gradient(270deg, rgba(201, 19, 49, 0.45) 0%, rgba(10, 10, 13, 0) 22%),
    #0a0a0d;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  box-sizing: border-box;
}

/* CONTENEDOR GENERAL */
.login-shell {
  width: 100%;
  max-width: 1280px;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* TARJETA */
.login-card {
  width: 100%;
  max-width: 820px;
  min-height: 390px;
  background: #f3f3f4;
  border-radius: 28px;
  display: grid;
  grid-template-columns: 300px 1fr;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.24);
}

/* IMAGEN IZQUIERDA */
.login-left {
  padding: 14px 0 14px 14px;
}

.login-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

/* PANEL DERECHO */
.login-right {
  padding: 34px 34px 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 🔥 LOGO (AQUÍ ESTÁ LA CLAVE) */
.login-logo-wrap {
  width: 100%;
  display: flex;
  justify-content: center;   /* centra horizontal */
  align-items: center;
  margin-bottom: 20px;
}

.login-logo {
  width: 260px;   /* 🔥 más grande */
  max-width: none; /* IMPORTANTE: quita el límite */
  height: auto;
  display: block;
}

/* FORMULARIO */
.login-form {
  width: 100%;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 14px;
  color: #20242c;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  height: 40px;
  border: 1px solid #d7dde7;
  border-radius: 12px;
  background: #f7f8fa;
  padding: 0 14px;
  font-size: 14px;
  outline: none;
  box-shadow: 0 2px 4px rgba(16, 24, 40, 0.04);
}

.form-group input::placeholder {
  color: #8a93a3;
}

.form-group input:focus {
  border-color: #c3183b;
  box-shadow: 0 0 0 3px rgba(195, 24, 59, 0.10);
}

/* PASSWORD */
.password-wrap {
  position: relative;
}

.password-wrap input {
  padding-right: 46px;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  cursor: pointer;
}

.toggle-password img {
  width: 18px;
  opacity: 0.75;
}

/* TEXTO */
.forgot-password {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #111827;
  margin: 6px 0 18px 0;
}

/* BOTONES */
.btn-login,
.btn-register {
  width: 100%;
  height: 40px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.btn-login {
  border: none;
  color: #fff;
  background: linear-gradient(90deg, #ff0a4f 0%, #990021 100%);
  margin-bottom: 14px;
}

.btn-register {
  border: 1.5px solid #ff2b63;
  color: #ff2b63;
  background: transparent;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .login-card {
    max-width: 420px;
    grid-template-columns: 1fr;
  }

  .login-left {
    display: none;
  }

  .login-right {
    padding: 28px 22px;
  }

  .login-logo {
    width: 170px;
  }
}