.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;
}

.auth-enterprise-logo img {
  width: 180px;
  max-width: 100%;
  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;
}

.auth-enterprise-logo .brand-logo-split-login img {
  width: auto;
  max-width: none;
  max-height: 110px;
  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;
  border: 0;
  border-radius: 10px;
  background: var(--brand-color);
  color: var(--brand-color-contrast, #fff);
  font-weight: 700;
  margin-top: 6px;
  transition: all 0.3s ease;
}

.auth-enterprise-submit:hover {
  filter: brightness(1.05);
  color: var(--brand-color-contrast, #fff);
}

.auth-enterprise-submit:focus {
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.15);
}

.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;
  }
}
