:root {
  --innova3-primary: #f0701f;
  --innova3-primary-dark: #cf5b15;
  --innova3-bg: #121922;
  --innova3-bg-soft: #1a2431;
  --innova3-text: #eff3f8;
  --innova3-text-muted: rgba(239, 243, 248, 0.78);
  --innova3-card-text: #243142;
  --innova3-card-border: rgba(255, 255, 255, 0.25);
  --innova3-shadow: 0 18px 55px rgba(7, 12, 20, 0.24);
}

.login-page {
  position: relative;
  min-height: 100vh;
  margin: 0;
  padding: 2rem 0;
  overflow-x: hidden;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 14% 18%, rgba(240, 112, 31, 0.34), transparent 32%),
    radial-gradient(circle at 90% 72%, rgba(255, 167, 72, 0.17), transparent 33%),
    linear-gradient(145deg, #0f1620 0%, #172130 46%, #101821 100%);
}

.login-bg-shape {
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(2px);
  z-index: 0;
}

.login-bg-shape-1 {
  width: 410px;
  height: 410px;
  top: -150px;
  right: -120px;
  background: linear-gradient(130deg, rgba(240, 112, 31, 0.2), rgba(240, 112, 31, 0));
}

.login-bg-shape-2 {
  width: 360px;
  height: 360px;
  left: -140px;
  bottom: -120px;
  background: linear-gradient(60deg, rgba(240, 112, 31, 0.18), rgba(255, 255, 255, 0));
}

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

.brand-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 2rem 2.3rem;
  color: var(--innova3-text);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(26, 36, 49, 0.94), rgba(14, 22, 32, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--innova3-shadow);
  animation: reveal-up 0.8s ease-out both;
}

.brand-logo-link {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 1.2rem;
}

.brand-logo {
  width: 200px;
  max-width: 100%;
  height: auto;
}

.brand-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 0.35rem 0.7rem;
  margin-bottom: 0.9rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffd4b6;
  background: rgba(240, 112, 31, 0.2);
  border: 1px solid rgba(240, 112, 31, 0.38);
}

.brand-title {
  margin-bottom: 0.9rem;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  line-height: 1.2;
}

.brand-description {
  margin-bottom: 1.3rem;
  color: var(--innova3-text-muted);
  line-height: 1.55;
}

.brand-features {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.4rem;
}

.brand-feature-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #f7fbff;
  font-size: 0.97rem;
}

.brand-feature-item i {
  color: #ffae77;
}

.brand-site-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  color: #ffd2b1;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.brand-site-link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.login-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.9rem;
  border-radius: 24px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9));
  border: 1px solid var(--innova3-card-border);
  box-shadow: var(--innova3-shadow);
  backdrop-filter: blur(3px);
  animation: reveal-up 0.95s ease-out both;
}

.login-card-header h2 {
  margin-bottom: 0.45rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--innova3-card-text);
}

.login-card-header p {
  margin-bottom: 1.15rem;
  color: #617086;
}

.login-form .form-control {
  border-radius: 12px;
  border: 1px solid #d8e1ec;
  color: #263647;
  height: 58px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.login-form .form-control:focus {
  border-color: rgba(240, 112, 31, 0.85);
  box-shadow: 0 0 0 0.25rem rgba(240, 112, 31, 0.16);
}

.login-form .form-floating > label {
  color: #748196;
}

.btn-innova3 {
  border: 0;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(125deg, var(--innova3-primary) 0%, #ff944d 100%);
  box-shadow: 0 10px 20px rgba(240, 112, 31, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-innova3:hover,
.btn-innova3:focus {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(240, 112, 31, 0.35);
  background: linear-gradient(125deg, var(--innova3-primary-dark) 0%, #f0823a 100%);
}

.recover-link {
  color: #e1681d;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.recover-link:hover {
  color: #a84a10;
  border-color: rgba(168, 74, 16, 0.35);
}

.login-card .alert {
  border-radius: 12px;
  border: none;
}

.login-card .alert-danger {
  color: #fff;
  background: linear-gradient(130deg, #a6352f, #dd5a52);
}

.login-card .alert-danger .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
}

.login-card .alert-danger .btn-outline-light:hover {
  color: #8f2f2a;
  background: #fff;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 992px) {
  .login-page {
    padding: 1.15rem 0;
  }

  .brand-panel,
  .login-card {
    border-radius: 18px;
    padding: 1.4rem;
  }

  .brand-logo {
    width: 174px;
  }

  .brand-features {
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  .login-page {
    padding: 0.8rem 0;
  }

  .login-card,
  .brand-panel {
    padding: 1.2rem;
  }

  .brand-title {
    font-size: 1.4rem;
  }

  .login-card-header h2 {
    font-size: 1.3rem;
  }
}
