/* === Reset e base === */
html, body {
  height: 100%;
  margin: 0;
  font-family: sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f7f7; /* Cor fallback */
}

/* === Fundo dividido em duas metades === */
.login-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  z-index: 0;
}

.login-bg .left,
.login-bg .right {
  flex: 1;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.login-bg .left {
  background-image: url('/public/partner/axion01.jpg');
  background-color: black;
}

.login-bg .right {
  background-image: url('/public/partner/xionvirtus_2.png');
  background-position: right center; /* <<< ALINHA À DIREITA */
  background-color: black;
}

/* === Painel de login central === */
.login-panel {
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  width: 320px;
  max-width: 90vw;
  text-align: center;

  margin-left: -40px; /* <<< MOVE UM POUCO PRA ESQUERDA */
}

/* === Inputs === */
.input {
  width: 100%;
  box-sizing: border-box;
}

.input-button {
  width: 100%;
  margin-top: 8px;
  border: none;
  padding: 10px 14px;
  border-radius: 6px;
  background: #FF8429;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

/* === Responsividade === */
@media (max-width: 900px) {
  .login-bg {
    flex-direction: column;
  }

  .login-bg .left,
  .login-bg .right {
    flex: none;
    width: 100%;
    height: 35%;
    background-position: center;
    background-size: contain;
  }

  .login-panel {
    padding: 28px;
    margin-left: 0; /* Remove o deslocamento em telas pequenas */
  }
}
