html,
body {
  height: 100%;
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fff;
}

.split-left {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-color: #fff;
}

.split-right {
  background: url('/resources/img/banner.jpg') center center no-repeat;
  background-size: contain;
  height: 100vh;
}

.login-form {
  width: 100%;
  max-width: 380px;
  text-align: center;
  position: relative;
}

.register-form {
  width: 100%;
  max-width: 600px;
  text-align: center;
  position: relative;
}

a {
  color: #ac1a2f;
}

a:hover {
  color: #ac1a2f;
}

.btn-primary {
  background-color: #ac1a2f;
  border-color: #ac1a2f;
}

.btn-primary:hover {
  background-color: #ac1a2f;
  border-color: white;
}

/* ===== Selector de idioma ===== */
.lang-menu {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.lang-btn {
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: #333;
  display: flex;
  align-items: center;
  position: relative;
}

.lang-btn i {
  margin-right: 5px;
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: 35px;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  z-index: 10;
  min-width: 80px;
  animation: fadeIn 0.2s ease-in-out;
}

.lang-dropdown a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: #333;
  font-size: 0.9rem;
}

.lang-dropdown a:hover {
  background-color: #f8f9fa;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Logo */
.login-form .logo,
.register-form .logo {
  width: 300px;
  margin: 0 auto 30px auto;
  display: block;
}

/* Inputs y botón */
.form-control,
.btn {
  border-radius: 0;
}

.btn-primary {
  width: 100%;
}

/* Layout responsive */
@media (max-width: 768px) {
  .split-left {
    height: auto;
    padding: 3rem 1rem;
  }

  .split-right {
    display: none;
  }

}