/* Platform sign-in / register — BUSY navy + gold */

.bni-auth-shell {
  position: relative;
  min-height: calc(100vh - 8rem);
  padding: 2.5rem 0 3.5rem;
  overflow: hidden;
}

.bni-auth-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 31, 91, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(197, 160, 89, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 35% at 0% 80%, rgba(0, 31, 91, 0.08), transparent 45%),
    linear-gradient(180deg, #f5f7fb 0%, #faf9f7 100%);
}

.bni-auth-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.35;
  background-image: radial-gradient(rgba(0, 31, 91, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.bni-auth-shell > .container {
  position: relative;
  z-index: 1;
}

.bni-auth-card {
  max-width: 26rem;
  margin-left: auto;
  margin-right: auto;
  background: #fff;
  border-radius: 1.25rem;
  box-shadow:
    0 4px 6px rgba(0, 31, 91, 0.04),
    0 24px 48px rgba(0, 31, 91, 0.1);
  border: 1px solid rgba(0, 31, 91, 0.08);
  overflow: hidden;
}

.bni-auth-card-accent {
  height: 4px;
  background: linear-gradient(90deg, #001f5b 0%, #c5a059 50%, #001f5b 100%);
  background-size: 200% 100%;
  animation: bni-auth-shimmer 8s ease-in-out infinite;
}

@keyframes bni-auth-shimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.bni-auth-card-inner {
  padding: 2rem 1.75rem 1.75rem;
}

@media (min-width: 576px) {
  .bni-auth-card-inner {
    padding: 2.25rem 2rem 2rem;
  }
}

.bni-auth-icon-wrap {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: linear-gradient(145deg, #001f5b 0%, #0a3a8c 100%);
  color: #fff;
  font-size: 1.35rem;
  box-shadow: 0 8px 20px rgba(0, 31, 91, 0.28);
}

.bni-auth-title {
  font-family: "Nunito", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: #001f5b;
  margin-bottom: 0.35rem;
}

.bni-auth-lead {
  font-size: 0.875rem;
  line-height: 1.5;
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
}

.bni-auth-card .form-label {
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #334155;
  margin-bottom: 0.4rem;
}

.bni-auth-card .form-control {
  border-radius: 0.65rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(0, 31, 91, 0.14);
  font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bni-auth-card .form-control:focus {
  border-color: #c5a059;
  box-shadow: 0 0 0 0.2rem rgba(197, 160, 89, 0.22);
}

.bni-auth-card .form-control::placeholder {
  color: #94a3b8;
}

.bni-auth-card .form-text {
  font-size: 0.78rem;
  color: #64748b;
}

.bni-auth-btn-primary {
  font-family: "Nunito", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.65rem;
  border: none;
  background: linear-gradient(145deg, #001f5b 0%, #0d2d6e 100%);
  color: #fff;
  width: 100%;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  box-shadow: 0 4px 14px rgba(0, 31, 91, 0.28);
}

.bni-auth-btn-primary:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 31, 91, 0.35);
}

.bni-auth-btn-primary:active {
  transform: translateY(0);
}

.bni-auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.25rem 0;
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.bni-auth-divider::before,
.bni-auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 31, 91, 0.12), transparent);
}

.bni-auth-btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 0.65rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: #334155;
  background: #fff;
  border: 1px solid rgba(0, 31, 91, 0.12);
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.bni-auth-btn-google:hover {
  background: #fafbfc;
  border-color: rgba(0, 31, 91, 0.2);
  color: #001f5b;
  box-shadow: 0 4px 12px rgba(0, 31, 91, 0.08);
}

.bni-auth-btn-google .fa-google {
  color: #ea4335;
}

.bni-auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 31, 91, 0.06);
  font-size: 0.875rem;
  color: #64748b;
}

.bni-auth-footer a {
  font-weight: 700;
  color: #001f5b;
  text-decoration: none;
  margin-left: 0.25rem;
}

.bni-auth-footer a:hover {
  color: #c5a059;
  text-decoration: underline;
}

.bni-auth-alert {
  border-radius: 0.65rem;
  border: none;
  font-size: 0.9rem;
}

.bni-auth-card-inner > .alert {
  border-radius: 0.65rem;
  font-size: 0.9rem;
}

.bni-auth-input-icon {
  position: relative;
}

.bni-auth-input-icon .form-control {
  padding-left: 2.65rem;
}

.bni-auth-input-icon .bni-auth-input-ico {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.95rem;
  pointer-events: none;
  z-index: 2;
}

.bni-auth-input-icon:focus-within .bni-auth-input-ico {
  color: #c5a059;
}
