body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f5f5f5;
}

.container {
  display: flex;
  height: 100vh;
}

.left-panel {
  flex: 1;
  display: flex;
}

.bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.right-panel {
  flex: 1;
  background-color: #fff;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* ✅ Ahora el logo se muestra siempre */
.logo-mobile {
  width: 200px; /* Tamaño para PC */
  margin-bottom: 20px;
  display: block;
}

.form-box {
  max-width: 340px;
  width: 100%;
}

h2 {
  font-size: 18px;
  color: #000;
  margin-bottom: 20px;
}

input {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
}

button {
  width: 100%;
  padding: 12px;
  background-color: #0078d4;
  border: none;
  color: white;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
}

button:hover {
  background-color: #005a9e;
}

.links {
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
  color: #555;
}

.error {
  color: red;
  font-size: 14px;
  text-align: center;
  margin-bottom: 10px;
}

/* 📱 Ajustes para móvil */
@media (max-width: 768px) {
  .left-panel {
    display: none;
  }
  .right-panel {
    flex: 1;
    padding: 20px;
  }
  .logo-mobile {
    width: 120px; /* Más pequeño en móvil */
  }
}
