/* ============================
   login.css – Erie Shores Health
   ============================ */

*,
*::before,
*::after { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  font-family: Arial, sans-serif;
}

.login-body {
  background: linear-gradient(135deg, #e9f5ff 0%, #f6fbf7 55%, #ffffff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-wrapper {
  width: 100%;
  max-width: 1080px;
}

.login-card {
  width: 100%;
  min-height: 560px;
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.18);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* LEFT */
.login-left {
  padding: 40px 46px;
  text-align: left;
}

.login-logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

/* Bigger left logo */
.login-logo {
  width: 96px;          /* bigger */
  height: 96px;         /* bigger */
  object-fit: contain;  /* prevents distortion */
  display: block;
}

.login-product-name {
  display: flex;
  flex-direction: column;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
  color: #1f3b57;
}

.login-company { font-weight: 800; }
.login-system  { font-weight: 600; opacity: 0.85; }

.login-title {
  margin: 14px 0 6px;
  font-size: 30px;
  font-weight: 800;
  color: #0f172a;
}

.login-subtitle {
  margin: 0 0 22px;
  font-size: 14px;
  color: #475569;
}

.login-form { margin-top: 10px; }

.login-label {
  display: block;
  margin: 14px 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.login-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.login-input:focus {
  border-color: #2b7bbb;
  box-shadow: 0 0 0 4px rgba(43, 123, 187, 0.15);
}

.login-extra-row {
  margin: 12px 0 8px;
  min-height: 22px;
}

.login-message {
  display: inline-block;
  font-size: 13px;
  color: #b42318;
}

.login-button {
  width: 100%;
  margin-top: 10px;
  padding: 12px 14px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(90deg, #1e6fb8 0%, #1e9aa6 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(30, 111, 184, 0.22);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.login-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(30, 111, 184, 0.26);
}

.login-button:active {
  transform: translateY(0);
}

.login-legal {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
  color: #475569;
  font-size: 12px;
  line-height: 1.35;
}

.login-footer-text {
  margin-top: 18px;
  font-size: 12px;
  color: #64748b;
}

/* RIGHT (logo only) */
.login-right {
  position: relative;
  background: radial-gradient(circle at 20% 20%, #dff4ff 0%, #eafbf2 40%, #ffffff 100%);
  border-left: 1px solid #e2e8f0;
}

.login-right-overlay {
  height: 100%;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-right-logo {
  width: min(420px, 75%);
  height: auto;
  max-height: 75%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 18px 30px rgba(15, 23, 42, 0.12));
}

/* Responsive */
@media (max-width: 920px) {
  .login-card { grid-template-columns: 1fr; }
  .login-right { display: none; }
  .login-left { padding: 34px 28px; }
  .login-logo {
    width: 88px;
    height: 88px;
  }
}
