:root{
  --bg1:#0f172a;
  --bg2:#020617;
  --card:#0b1220;
  --stroke:#1e293b;
  --text:#ffffff;
  --muted:#cbd5e1;
  --muted2:#94a3b8;
  --link:#38bdf8;
  --btn1:#3b82f6;
  --btn2:#2563eb;
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family: Arial, sans-serif;
  color:var(--text);
  background: radial-gradient(circle at top, var(--bg1), var(--bg2));
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* CLAVE: hace que el contenido ocupe el alto y el footer quede abajo bien */
.main{
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 38px 16px;
}

.container{
  width:100%;
  max-width:1000px;
  display:flex;
  gap:28px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}

.left{
  flex:1 1 320px;
  min-width:280px;
}

.right{
  flex:0 1 360px;
  width:100%;
  max-width:380px;
  background:var(--card);
  padding:22px;
  border-radius:12px;
  box-shadow:0 0 40px rgba(0,0,0,0.5);
}

.logo{
  display:flex;
  align-items:center;
  gap:14px;
}

.logo img{ width:56px; height:auto; }
.logo h1{ margin:0; font-size:40px; letter-spacing:0.3px; }

.left p{
  margin:18px 0 0;
  color:var(--muted);
  line-height:1.55;
  max-width:520px;
}

input, button{
  width:100%;
  padding:12px;
  border-radius:10px;
  font-size:16px;
}

input{
  margin:8px 0;
  border:1px solid var(--stroke);
  background:var(--bg2);
  color:var(--text);
  outline:none;
}

input:focus{
  border-color: var(--btn1);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.18);
}

button{
  margin-top:10px;
  border:none;
  cursor:pointer;
  color:var(--text);
  font-weight:700;
  background:linear-gradient(180deg,var(--btn1),var(--btn2));
}

.link{
  text-align:center;
  margin-top:12px;
}

.link a{
  color:var(--link);
  text-decoration:none;
}

/* Footer “bonito” y consistente con el layout flex */
.footer{
  margin-top: auto;
  width: 100%;
  text-align:center;
  padding:16px 12px 22px;
  font-size:12px;
  color:var(--muted2);
  border-top: 1px solid var(--stroke);
  background: rgba(2, 6, 23, 0.55);
  backdrop-filter: blur(6px);
}

/* Tus estilos RET quedan intactos (dashboard) */
.ret-footer{
  width: 100%;
  margin-top: auto;
  padding: 18px 22px;
  border-top: 1px solid #1e293b;
  background: #020617;
  color: #94a3b8;
  font-size: 13px;
}

.ret-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ret-footer-left {
  color: #e5e7eb;
  font-weight: 600;
}

.ret-footer-links a {
  color: #60a5fa;
  text-decoration: none;
  margin-right: 12px;
}

.ret-footer-links a:hover {
  text-decoration: underline;
}

.ret-footer-right {
  font-size: 12px;
  color: #64748b;
}

.ret-footer-disclaimer {
  margin-top: 10px;
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}

/* Mobile */
@media (max-width: 720px){
  .container{ justify-content:center; }
  .logo h1{ font-size:36px; }
  .right{ padding:18px; }
}
@media (max-width: 720px){
  .left{ text-align:center; }
  .logo{ justify-content:center; }
  .left p{
    margin-left:auto;
    margin-right:auto;
  }
}
