* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #0b0b0b;
  min-height: 100vh;
  color: #f5f5f5;
}

.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 16px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(255, 193, 7, 0.06) 0%, transparent 35%),
    radial-gradient(circle at 70% 50%, #161616 0%, #0b0b0b 72%);
}

.login-page::before,
.login-page::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 0;
}

.login-page::before {
  width: 240px;
  height: 240px;
  top: -90px;
  left: -90px;
  background: linear-gradient(135deg, #d9b13b, #b8860b);
  opacity: 0.95;
}

.login-page::after {
  width: 220px;
  height: 220px;
  bottom: -100px;
  right: -100px;
  background: linear-gradient(135deg, #4f596f, #66718a);
  opacity: 0.9;
}

.login-wrapper {
  width: 100%;
  max-width: 1120px;
  position: relative;
  z-index: 1;
}

.login-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 620px;
  position: relative;
}

.login-left {
  width: 100%;
  max-width: 550px;
  background: rgba(16, 16, 16, 0.96);
  border-radius: 24px;
  padding: 48px 42px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.52);
  position: relative;
  z-index: 3;
  border: 1px solid rgba(255, 215, 0, 0.08);
  backdrop-filter: blur(10px);
}

.login-right {
  width: 100%;
  max-width: 500px;
  margin-left: -48px;
  background: linear-gradient(135deg, #465168, #616d86);
  border-radius: 24px;
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.06);
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-right::before {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  right: -70px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #f0b429;
  z-index: 0;
}

.login-right::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 62px;
  right: 60px;
  bottom: 52px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.14);
  z-index: 0;
}

.overlay-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.shape-top {
  width: 310px;
  height: 310px;
  top: -95px;
  right: -70px;
}

.shape-bottom {
  width: 220px;
  height: 220px;
  bottom: -85px;
  left: -70px;
  opacity: 0.28;
}

.login-header {
  margin-bottom: 28px;
  text-align: center;
}

.login-header h1 {
  margin: 0 0 12px;
  font-size: 2.4rem;
  color: #ffd34d;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-shadow: 0 0 8px rgba(255, 211, 77, 0.6);
}

.login-header p {
  margin: 0;
  color: #c7cfdf;
  font-size: 1rem;
  line-height: 1.5;
}

.alerta {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
}

.alerta-error {
  background: rgba(239, 68, 68, 0.14);
  color: #ffb4b4;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.alerta-ok {
  background: rgba(255, 211, 77, 0.12);
  color: #ffd34d;
  border: 1px solid rgba(255, 211, 77, 0.28);
}

.login-form {
  width: 100%;
}

.input-group {
  display: flex;
  align-items: center;
  background: #181818;
  border: 1px solid #2c313c;
  border-left: 3px solid #ffd34d;
  border-radius: 14px;
  padding: 0 14px;
  margin-bottom: 18px;
  min-height: 62px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

.input-icon {
  color: #ffd34d;
  font-size: 1.5rem;
  margin-right: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.input-group input {
  border: none;
  outline: none;
  width: 100%;
  padding: 16px 0;
  font-size: 1rem;
  background: transparent;
  color: #ffffff;
}

.input-group input::placeholder {
  color: #9ea6b6;
}

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 14px 0 26px;
  gap: 12px;
  flex-wrap: wrap;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d5d9e3;
  font-size: 0.95rem;
}

.remember-me input {
  width: 16px;
  height: 16px;
  accent-color: #ffd34d;
}

.forgot-link {
  color: #ffd34d;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.forgot-link:hover {
  color: #ffe88b;
}

.btn-login {
  width: 100%;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #f5c93b, #d6a62d);
  color: #101010;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.3px;
  padding: 15px 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 0 20px rgba(255, 211, 77, 0.35);
}

.btn-login:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(255, 211, 77, 0.42);
  background: linear-gradient(135deg, #ffd85a, #ddb43e);
}

.register-link {
  margin-top: 18px;
  text-align: center;
}

.register-link a {
  color: #ffd34d;
  font-weight: 700;
  text-decoration: none;
}

.register-link a:hover {
  text-decoration: underline;
  color: #ffe88b;
}

.right-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 300px;
  margin: 0 auto;
}

.rover-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 22px;
  background: rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(255, 211, 77, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 25px rgba(255, 211, 77, 0.25),
    inset 0 0 10px rgba(255, 211, 77, 0.15);
}

.rover-icon img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.right-content h2 {
  margin: 0 0 14px;
  font-size: 2.4rem;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.right-content p {
  margin: 0 0 24px;
  line-height: 1.7;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.92);
}

.btn-signup {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 12px;
  background: transparent;
  color: #ffd34d;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid rgba(255, 211, 77, 0.45);
  transition: all 0.2s ease;
}

.btn-signup:hover {
  background: rgba(255, 211, 77, 0.12);
  color: #ffffff;
  border-color: #ffd34d;
}

@media (max-width: 991.98px) {
  .login-card {
    flex-direction: column;
    min-height: auto;
  }

  .login-left {
    max-width: 100%;
    margin-top: 0;
    border-radius: 24px 24px 0 0;
    padding: 36px 28px;
  }

  .login-right {
    max-width: 100%;
    margin-left: 0;
    min-height: 300px;
    border-radius: 0 0 24px 24px;
    padding: 38px 28px;
    justify-content: center;
  }

  .login-right::before {
    width: 190px;
    height: 190px;
    right: -55px;
  }

  .login-right::after {
    right: 45px;
  }

  .right-content {
    max-width: 320px;
    text-align: center;
  }

  .rover-icon {
    margin: 0 auto 18px;
  }
}

@media (max-width: 575.98px) {
  .login-page {
    padding: 18px 12px;
  }

  .login-left,
  .login-right {
    padding: 28px 20px;
  }

  .login-header h1 {
    font-size: 2rem;
  }

  .right-content h2 {
    font-size: 1.65rem;
  }

  .input-group {
    min-height: 58px;
  }

  .login-options {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-login {
    font-size: 0.95rem;
  }

  .login-page::before,
  .login-page::after {
    width: 150px;
    height: 150px;
  }

  .login-right::before {
    width: 150px;
    height: 150px;
    right: -45px;
  }

  .login-right::after {
    width: 120px;
    height: 48px;
    right: 36px;
  }
}