@charset "utf-8";
/* CSS Document */
body {
  margin: 0;
  background: #111;
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #fff;
}

.login-layout {
  display: flex;
  height: 100vh;
  min-height: 100vh;
}

.login-img-box {
  position: relative;
  width: 48%;
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  overflow: hidden;
}

.logo-zone {
  position: absolute;
  top: 1px;
  left: 1px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo-zone .logo {
  height: 70px;
  margin-bottom: 2px;
  border-radius: 15px;
}
.by-text {
  font-size: 14px;
  color: #aaa;
  margin-left: 4px;
}

.big-img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: bottom;
  border-radius: 0 10px 10px 0;
  filter: brightness(0.95);
}

/* PANEL DERECHO: CENTRADO TOTAL DEL FORMULARIO */
.login-panel {
  width: 52%;
  background: #111;
  display: flex;
  flex-direction: column;
  position: relative;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 0;
  box-sizing: border-box;
}

.registro-bar {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 34px 48px 0 0;
  font-size: 1.1em;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
}
.registro-bar span {
  margin-right: 18px;
  color: #fff;
}
.btn-registro {
  background: #a7ff1b;
  color: #111;
  padding: 10px 23px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.06em;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-disabled {
  background: #deffa8;
}
.btn-registro:hover {
  background: #1db954;
  color: #000;
}

/* NUEVO: flexbox wrapper para centrar el form vertical y horizontal */
.form-center-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

/* El form bien centrado */
.login-form {
  width: 92%;
  max-width: 370px;
  background: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 auto;
  box-sizing: border-box;
}
.login-form h1 {
  font-size: 2.2em;
  margin-bottom: 8px;
  color: #fff;
  font-weight: bold;
}
.subtitle {
  font-size: 1.09em;
  margin-bottom: 27px;
  color: #ccc;
}
.input-box {
  width: 100%;
  margin-bottom: 16px;
  position: relative;
}
.input-box input {
  width: 100%;
  padding: 13px 14px;
  background: #191919;
  border: 1px solid #444;
  border-radius: 8px;
  color: #fff;
  font-size: 1em;
  transition: border-color 0.2s;
}
.input-box input:focus {
  border-color: #1db954;
  outline: none;
}

.accept-tyc {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}

.accept-tyc input[type='checkbox'] {
  margin-right: 10px;
}

.btn-green {
  width: 100%;
  background: #a7ff1b;
  color: #111;
  border: none;
  border-radius: 8px;
  padding: 13px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  margin-top: 7px;
  transition: background 0.2s;
}
.btn-green:hover {
  background: #1db954;
}
.forgot {
  margin-top: 14px;
  text-align: right;
  width: 100%;
}
.forgot a,
.forgot button {
  background: none;
  outline: none;
  border: none;
  color: #c0ff37;
  text-decoration: none;
  font-size: 0.99em;
}
.forgot button:hover {
  cursor: pointer;
}
.error {
  background: #e04343;
  color: #fff;
  padding: 9px 13px;
  border-radius: 6px;
  margin-top: 15px;
  text-align: center;
  font-size: 1em;
  width: 100%;
}

.success {
  background: #1db954;
  color: #111;
  padding: 5px 13px;
  border-radius: 6px;
  margin-top: 10px;
  text-align: center;
  font-size: 1em;
  width: 100%;
}

.register-title {
  font-size: 2.2em;
  font-weight: bold;
  margin-top: 90px;
  margin-bottom: 12px;
}
.register-sub {
  color: #fff;
  font-size: 1.18em;
  margin-bottom: 34px;
}
.register-legal {
  color: #aaa;
  font-size: 1em;
  margin: 24px 0 0 0;
  text-align: left;
  width: 100%;
}
.register-legal a {
  color: #bbfb22;
  text-decoration: underline;
  margin-left: 3px;
}
.btn-register {
  width: 100%;
  background: #a7ff1b;
  color: #111;
  border: none;
  border-radius: 8px;
  padding: 13px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  margin-top: 22px;
  transition: background 0.2s;
}
.btn-register:hover {
  background: #1db954;
}
.register-bar {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 34px 48px 0 0;
  font-size: 1.1em;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
}
.register-bar span {
  margin-right: 18px;
  color: #fff;
}
.btn-login {
  background: #a7ff1b;
  color: #111;
  padding: 10px 23px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.06em;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-login:hover {
  background: #1db954;
  color: #000;
}

.loader {
  width: 20px;
  height: 20px;
  border: 4px solid rgba(255, 255, 255, 0.6);
  border-bottom-color: #111;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

.btn-show-pwd {
  border: none;
  outline: none;
  background: none;
  position: absolute;
  right: 15px;
  bottom: 12px;
  color: #a7ff1b;
  font-size: 18px;
}

.btn-show-pwd:hover {
  cursor: pointer;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

footer {
  background-color: #121212;
  color: #ccc;
  text-align: center;
  padding: 10px;
  font-size: 0.85em;
}

/* ---------------------- RESPONSIVE ---------------------- */
@media (max-width: 1100px) {
  .login-layout {
    flex-direction: column;
  }
  .login-img-box {
    width: 100%;
    height: 210px;
    min-height: 180px;
  }
  .login-panel {
    width: 100%;
    min-height: 440px;
  }
  .big-img {
    border-radius: 0 0 30px 30px;
    height: 100%;
    object-fit: cover;
  }
  .logo-zone {
    position: absolute;
    top: 1px;
    left: 1px;
  }
  .registro-bar {
    justify-content: center;
    padding: 24px 0 0 0;
    position: static;
  }
  .form-center-wrapper {
    min-height: 350px;
  }
}
@media (max-width: 650px) {
  .login-form {
    max-width: 97vw;
    width: 97vw;
  }
  .login-img-box {
    min-height: 110px;
  }
  .logo-zone .logo {
    height: 32px;
  }
  .registro-bar {
    padding: 16px 0 0 0;
    font-size: 0.95em;
  }
  .big-img {
    border-radius: 0 0 30px 30px;
    height: 100%;
    object-fit: cover;
    object-position: 0 -50px;
  }
}
