/* ===========================
   NAVBAR DEL LOGIN
=========================== */
.login-navbar {
  width: 100%;
  height: 50px;
  background: #4caf50;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.login-navbar-logo {
  height: 32px;
}

/* ===========================
   EVITAR HERENCIA DEL SIDEBAR
=========================== */
body.body main.main-layout {
  margin-left: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

/* ===========================
   FONDO GENERAL
=========================== */
body {
  background-image: url('../img/team_up_hands.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

body.body .footer {
  margin-left: 0 !important;
}

body.body .sidebar {
  display: none !important;
}

/* ===========================
   CONTENEDOR PRINCIPAL
=========================== */
.main-layout {
  min-height: calc(100vh - 50px - 56px);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  padding: 60px 40px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* ===========================
   COLUMNA IZQUIERDA
=========================== */
.login-left {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  background: rgba(255, 255, 255, 1);
  padding: 40px;
  border-radius: 16px;
  backdrop-filter: blur(6px);
}

.login-logo {
  width: 180px;
  display: block;
  margin: 0 auto;
}

/* ===========================
   FORMULARIO
=========================== */
.vue-login {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: center;
}

.vue-login h3 {
  color: #333;
  font-weight: 600;
  text-align: center;
  width: 100%;
}

.vue-login form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input {
  padding: 12px 16px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  font-size: 16px;
  width: 100%;
  outline: none;
  transition: border 0.2s;
}

.input:focus {
  border-color: #43a047;
}

.btn-login {
  padding: 14px;
  background: #43a047;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  width: 100%;
}

.btn-login:hover {
  background: #7edc7e;
}

.error-message {
  color: #d32f2f;
  font-size: 14px;
}

.input.error {
  border-color: #d32f2f !important;
  background-color: #ffecec;
}

/* ===========================
   COLUMNA DERECHA
=========================== */
.login-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.welcome-box {
  background: rgba(255, 255, 255, 0.25);
  padding: 50px 40px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  text-align: center;
  color: #ffffff;
  max-width: 400px;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.welcome-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.welcome-box h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.welcome-box p {
  font-size: 18px;
}

/* ===========================
   RESPONSIVO
=========================== */
@media (max-width: 900px) {
  .main-layout {
    flex-direction: column;
    gap: 30px;
  }

  .welcome-box {
    max-width: 300px;
  }
}

.forgot-password {
  margin-top: 12px;
  text-align: center;
}

.forgot-password a {
  color: #4caf50;
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
}

.forgot-password a:hover {
  text-decoration: underline;
}
