.auth-enterprise-body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 52%, #f1f5f9 100%);
  color: #1e293b;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.auth-enterprise-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  position: relative;
  overflow: hidden;
}

.auth-enterprise-shell::before,
.auth-enterprise-shell::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  pointer-events: none;
}

.auth-enterprise-shell::before {
  width: 320px;
  height: 320px;
  background: rgba(148, 163, 184, 0.18);
  top: -90px;
  right: -60px;
}

.auth-enterprise-shell::after {
  width: 300px;
  height: 300px;
  background: rgba(203, 213, 225, 0.24);
  left: -80px;
  bottom: -100px;
}

.auth-enterprise-card-wrap {
  width: 100%;
  max-width: 400px;
  position: relative;
  z-index: 1;
}

.auth-enterprise-card {
  width: 100%;
  padding: 48px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #e8eef6;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
}

.auth-enterprise-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 4px;
  border-radius: 0 0 8px 8px;
  background: var(--brand-color);
}

.auth-enterprise-logo {
  text-align: center;
  margin-bottom: 20px;
  min-height: 64px;
}

.auth-enterprise-logo img {
  width: auto;
  height: auto;
  max-width: min(100%, 180px);
  max-height: 64px;
  object-fit: contain;
}

.auth-enterprise-logo .brand-logo-split-login {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  max-width: min(100%, 180px);
}

.auth-enterprise-logo .brand-logo-split-login img {
  height: auto;
  width: auto;
  max-width: 100%;
  max-height: 64px;
  object-fit: contain;
}

.auth-enterprise-logo-fallback {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #1e293b;
}

.auth-enterprise-field {
  margin-bottom: 14px;
  position: relative;
}

.auth-enterprise-field::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--brand-color);
  opacity: 0.35;
  transition: opacity 0.2s ease;
}

.auth-enterprise-field:focus-within::after {
  opacity: 0.85;
}

.auth-enterprise-field-with-icon .auth-enterprise-input-icon {
  position: absolute;
  left: 2px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand-color);
  opacity: 0.75;
  font-size: 14px;
  pointer-events: none;
}

.auth-enterprise-field .form-control,
.auth-enterprise-field input {
  height: 48px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: #0f172a;
  box-shadow: none;
  font-size: 15px;
  border-radius: 0;
  padding: 0 0 0 28px;
}

.auth-enterprise-field .form-control:focus,
.auth-enterprise-field input:focus {
  border: 0;
  box-shadow: none;
  background: transparent;
}

.auth-enterprise-field .form-control::placeholder,
.auth-enterprise-field input::placeholder {
  color: #94a3b8;
}

.auth-enterprise-password-field input {
  padding-right: 34px;
}

.auth-enterprise-password-toggle {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: var(--brand-color);
  opacity: 0.75;
  padding: 0;
  line-height: 1;
}

.auth-enterprise-password-toggle:hover {
  opacity: 1;
}

.auth-enterprise-password-toggle:focus {
  outline: none;
}

.auth-enterprise-submit {
  width: 100%;
  height: 48px;
  padding: 0 20px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  background-color: var(--brand-color);
  background-image: linear-gradient(135deg,
    rgba(var(--brand-primary-rgb), 0.9) 0%,
    var(--brand-color) 56%,
    var(--brand-primary-hover) 100%);
  color: var(--brand-color-contrast, #fff);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-top: 6px;
  box-shadow:
    0 14px 28px rgba(var(--brand-primary-rgb), 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.auth-enterprise-submit-copy {
  line-height: 1;
}

.auth-enterprise-submit-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  line-height: 1;
}

.auth-enterprise-submit-icon.is-animated i {
  animation: auth-enterprise-icon-shift 1.6s ease-in-out infinite;
}

.auth-enterprise-submit:hover {
  filter: saturate(1.04);
  color: var(--brand-color-contrast, #fff);
  transform: translateY(-1px);
  box-shadow:
    0 18px 34px rgba(var(--brand-primary-rgb), 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.auth-enterprise-submit:focus {
  box-shadow:
    0 0 0 0.22rem rgba(var(--brand-primary-rgb), 0.18),
    0 16px 30px rgba(var(--brand-primary-rgb), 0.26);
}

@keyframes auth-enterprise-icon-shift {
  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(4px);
  }
}

.auth-enterprise-copy {
  margin-top: 16px;
  text-align: center;
  font-size: 12px;
  color: rgba(51, 65, 85, 0.58);
}

.auth-enterprise-copy a {
  color: rgba(30, 41, 59, 0.74);
}

.auth-enterprise-copy a:hover {
  color: rgba(15, 23, 42, 0.95);
}

.auth-enterprise-flash .alert {
  border-radius: 10px;
  margin-bottom: 12px;
  font-size: 14px;
}

@media (max-width: 480px) {
  .auth-enterprise-card {
    padding: 28px 22px;
    border-radius: 18px;
  }
}
