.business-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  background: #f5f7fb;
}

.login-card {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.login-brand {
  text-align: center;
  margin-bottom: 28px;
}

.login-brand a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #111827;
  color: #fff;
  font-weight: 800;
  font-size: 17px;
}

.login-brand strong,
.login-brand small {
  display: block;
  text-align: left;
}

.login-brand strong {
  font-size: 20px;
}

.login-brand small {
  margin-top: 3px;
  color: #6b7280;
  font-size: 12px;
}

.login-heading {
  text-align: center;
  margin-bottom: 24px;
}

.login-heading h1 {
  margin: 0 0 8px;
  font-size: 28px;
  color: #111827;
}

.login-heading p {
  margin: 0;
  color: #6b7280;
  line-height: 1.5;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}

.form-group input[type="email"],
.form-group input[type="password"] {
  width: 100%;
  box-sizing: border-box;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #d1d5db;
  border-radius: 9px;
  outline: none;
  background: #fff;
  color: #111827;
  font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
}

.form-group input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

.password-wrap {
  position: relative;
}

.password-wrap input {
  padding-right: 70px !important;
}

.password-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #2563eb;
  cursor: pointer;
  font-weight: 600;
}

.login-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 6px 0 22px;
  font-size: 13px;
}

.login-options a {
  color: #2563eb;
  text-decoration: none;
}

.remember-option {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #4b5563;
}

.login-button,
.register-button {
  width: 100%;
  min-height: 48px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.login-button {
  border: 0;
  background: #2563eb;
  color: #fff;
}

.login-button:hover {
  background: #1d4ed8;
}

.login-button:disabled {
  opacity: .65;
  cursor: not-allowed;
}

.register-button {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #2563eb;
  background: #fff;
  color: #2563eb;
  text-decoration: none;
}

.register-button:hover {
  background: #eff6ff;
}

.login-message {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
}

.login-message.error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.login-message.success {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 16px;
  color: #9ca3af;
  font-size: 13px;
}

.login-divider::before,
.login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.login-footer-links {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 22px;
  font-size: 13px;
}

.login-footer-links a {
  color: #4b5563;
  text-decoration: none;
}

.login-footer-links a:hover {
  color: #2563eb;
}

.security-note {
  margin: 20px 0 0;
  text-align: center;
  color: #9ca3af;
  font-size: 12px;
}

@media (max-width: 520px) {
  .business-login-page {
    padding: 16px;
  }

  .login-card {
    padding: 24px 18px;
    border-radius: 12px;
  }

  .login-heading h1 {
    font-size: 24px;
  }

  .login-options {
    align-items: flex-start;
  }
}