/* Tracboss App Login - landing-style layout */

body.login-page {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  background: radial-gradient(circle at top, #111827 0, #020617 40%, #000 100%),
    url("../images/bg_track_dark.jpg") center/cover no-repeat fixed;
  color: #e5e7eb;
}

.hero-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(
      circle at top left,
      rgba(15, 118, 110, 0.25),
      transparent 55%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(248, 113, 22, 0.35),
      transparent 60%
    );
  pointer-events: none;
  mix-blend-mode: screen;
}

.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
}

.login-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1080px;
  width: 100%;
  align-items: center;
}

.hero-copy {
  flex: 1 1 320px;
  min-width: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(248, 113, 22, 0.4);
  background: rgba(15, 23, 42, 0.75);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fbbf24;
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.hero-title span {
  color: #f97316;
}

.hero-subtitle {
  font-size: 14px;
  max-width: 420px;
  color: #d1d5db;
  margin-bottom: 18px;
}

.hero-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 24px;
}

.hero-bullets span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-bullets i {
  color: #22c55e;
}

.login-card {
  flex: 0 0 360px;
  max-width: 420px;
  background: rgba(15, 23, 42, 0.96);
  border-radius: 18px;
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.9),
    0 0 0 1px rgba(148, 163, 184, 0.2);
  padding: 26px 24px 22px;
  position: relative;
  overflow: hidden;
}

.login-card::before {
  content: "";
  position: absolute;
  inset: -25%;
  background: radial-gradient(
      circle at top right,
      rgba(248, 113, 22, 0.25),
      transparent 60%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(59, 130, 246, 0.25),
      transparent 60%
    );
  opacity: 0.8;
  pointer-events: none;
}

.login-card-inner {
  position: relative;
  z-index: 1;
}

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

.login-header .logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-header .logo img {
  max-width: 260px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 35px rgba(0, 0, 0, 0.7));
}

.brand-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 12px;
  color: #f97316;
}

.brand-subtitle {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 2px;
}

.login-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #f9fafb;
}

.login-subtitle {
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 18px;
}

.input-group {
  background: #020617;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  overflow: hidden;
}

.input-group + .input-group {
  margin-top: 10px;
}

.input-group-addon {
  background: transparent;
  border: none;
  color: #9ca3af;
}

.input-group .form-control {
  background: transparent;
  border: none;
  color: #e5e7eb;
  box-shadow: none;
}

.input-group .form-control::placeholder {
  color: #6b7280;
}

.btn-login {
  background: linear-gradient(135deg, #f97316, #ea580c);
  border: none;
  border-radius: 9999px;
  padding: 10px 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 20px 40px rgba(248, 113, 22, 0.55);
}

.btn-login:hover {
  background: linear-gradient(135deg, #fb923c, #f97316);
}

.login-bottom-links {
  margin-top: 10px;
  font-size: 11px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  color: #9ca3af;
}

.login-bottom-links .link {
  color: #e5e7eb;
}

.login-bottom-links .link:hover {
  color: #f97316;
}

footer {
  padding: 1em;
  color: #9ca3af;
  background-color: transparent;
  text-align: center;
  font-size: 12px;
}

@media (max-width: 768px) {
  .login-grid {
    flex-direction: column;
    align-items: center;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-subtitle,
  .hero-bullets {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-bullets {
    justify-content: center;
  }

  .login-card {
    width: 100%;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 576px) {
  .login-container {
    padding: 22px 14px;
  }

  .login-grid {
    gap: 18px;
  }

  .hero-badge {
    font-size: 10px;
    padding: 4px 9px;
  }

  .hero-title {
    font-size: 24px;
    letter-spacing: 0.05em;
  }

  .hero-subtitle {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .hero-bullets {
    gap: 8px 14px;
    margin-bottom: 8px;
  }

  .hero-bullets span {
    font-size: 11px;
  }

  .login-card {
    max-width: 420px;
    padding: 20px 16px 16px;
    border-radius: 16px;
    overflow: visible;
  }

  .login-header {
    margin-bottom: 14px;
  }

  .login-header .logo img {
    max-width: 240px;
  }

  .login-title {
    font-size: 16px;
  }

  .login-subtitle {
    font-size: 12px;
    margin-bottom: 14px;
  }

  .input-group {
    border-radius: 12px;
  }

  .input-group-addon {
    padding-left: 14px;
    padding-right: 10px;
  }

  .input-group .form-control {
    height: 48px;
    font-size: 15px;
    padding: 12px 12px;
  }

  .btn-login {
    height: 48px;
    font-size: 13px;
    position: relative;
    z-index: 2;
  }

  .login-form .form-group:last-child {
    margin-bottom: 0;
  }

  .login-bottom-links {
    font-size: 12px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .login-card {
    padding: 18px 14px 14px;
    overflow: visible;
  }

  .hero-copy {
    display: none;
  }
}

