* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: #0A1A2F;
  color: white;
  height: 100vh;
}

/* CONTAINER PRINCIPAL */
.login-container {
  display: flex;
  height: calc(100vh - 40px);
}

/* LADO VISUAL */
.visual-side {
  flex: 1;
  position: relative;
  background: radial-gradient(circle at top, #132d52, #0A1A2F);
  overflow: hidden;
}

/* CENTRO BARFLOW */
.flow-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 42px;
  font-weight: bold;
  letter-spacing: 2px;
}

.flow-center .dot {
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  margin: 8px auto;
}

/* LINHAS DE FLUXO */
.flow-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.flow-lines .line {
  position: absolute;
  width: 2px;
  height: 120px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.8));
  animation: moveToCenter 4s infinite ease-in-out;
}

.l1 { top: 10%; left: 40%; animation-delay: 0s; }
.l2 { top: 80%; left: 30%; animation-delay: 1s; }
.l3 { top: 20%; right: 25%; animation-delay: 2s; }
.l4 { bottom: 15%; right: 40%; animation-delay: 3s; }

@keyframes moveToCenter {
  0% {
    transform: translate(0,0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translate(50vw, 50vh);
    opacity: 0;
  }
}

/* NÓS */
.node {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.7);
  border-radius: 50%;
  position: absolute;
  animation: pulse 4s infinite;
}

.n1 { top: 20%; left: 30%; }
.n2 { top: 70%; left: 20%; animation-delay: 1s; }
.n3 { top: 30%; right: 25%; animation-delay: 2s; }
.n4 { bottom: 20%; right: 30%; animation-delay: 3s; }

@keyframes pulse {
  0% { transform: scale(1); opacity: .4; }
  100% { transform: scale(2); opacity: 0; }
}

/* LOGIN */
.login-side {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-card {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 12px;
  width: 320px;
  text-align: center;
  animation: fadeUp .6s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo {
  width: 140px;
  margin-bottom: 20px;
}

.login-card input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: none;
  border-radius: 6px;
}

.login-card input:focus {
  outline: none;
  border: 2px solid #1E5AA8;
}

.login-card button {
  width: 100%;
  padding: 12px;
  background: #1E5AA8;
  color: white;
  border: none;
  border-radius: 6px;
  margin-top: 10px;
  cursor: pointer;
}

.login-card button:hover {
  background: #2a6ad8;
}

.forgot {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  color: #0A1A2F;
  text-decoration: none;
}

.error {
  color: #b00020;
  font-size: 13px;
  margin-top: 10px;
}

/* RODAPÉ */
footer {
  height: 40px;
  background: #081423;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 13px;
}

/* MOBILE */
@media (max-width: 900px) {
  .visual-side {
    display: none;
  }

  .login-container {
    justify-content: center;
  }

  .login-side {
    flex: none;
    width: 100%;
  }

  footer {
    font-size: 11px;
    text-align: center;
    padding: 0 10px;
  }
}
