:root {
  --erp-blue: #28728a;
  --erp-cyan: #65c9df;
  --erp-mint: #84d9bf;
  --erp-red: #f51414;
  --erp-ink: #12252d;
  --erp-muted: #697b83;
  --erp-line: #d8e8ed;
  --erp-soft: #f4fbfc;
}

body {
  background: #ffffff;
}

.erp-login-page {
  min-height: 100vh;
  padding: 24px;
  background:
    radial-gradient(circle at 10% 15%, rgba(101, 201, 223, 0.14), transparent 30%),
    radial-gradient(circle at 90% 80%, rgba(132, 217, 191, 0.18), transparent 26%),
    linear-gradient(135deg, #ffffff 0%, #f8fcfd 48%, #edf9fb 100%);
}

.erp-login-shell {
  width: min(1120px, 100%);
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(40, 114, 138, 0.12);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(18, 37, 45, 0.14);
}

.erp-brand-panel {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(32px, 5vw, 72px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(244, 251, 252, 0.9)),
    linear-gradient(90deg, rgba(40, 114, 138, 0.12), transparent);
}

.erp-brand-logo {
  width: min(620px, 100%);
  height: auto;
  display: block;
}

.erp-form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(32px, 5vw, 70px);
  background: #ffffff;
  border-left: 1px solid rgba(40, 114, 138, 0.1);
}

.erp-login-form {
  width: min(390px, 100%);
}

.erp-form-header {
  margin-bottom: 34px;
}

.erp-kicker {
  margin-bottom: 8px;
  font-family: Raleway-SemiBold, sans-serif;
  font-size: 12px;
  letter-spacing: 0;
  color: var(--erp-red);
  text-transform: uppercase;
}

.erp-form-header h1 {
  font-family: Raleway-Bold, sans-serif;
  font-size: 32px;
  line-height: 1.16;
  color: var(--erp-ink);
}

.erp-field {
  margin-bottom: 20px;
}

.erp-label {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
  font-family: Raleway-SemiBold, sans-serif;
  font-size: 14px;
  color: var(--erp-ink);
}

.erp-label span {
  color: var(--erp-red);
}

.erp-input-wrap {
  height: 56px;
  overflow: visible;
  border: 1px solid var(--erp-line);
  border-radius: 8px;
  background: var(--erp-soft);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.erp-input-wrap:focus-within {
  border-color: var(--erp-cyan);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(101, 201, 223, 0.16);
}

.erp-input-wrap.alert-validate,
.erp-input-wrap.erp-invalid {
  border-color: var(--erp-red);
  background: #fff8f8;
  box-shadow: 0 0 0 4px rgba(245, 20, 20, 0.1);
}

.erp-input {
  height: 54px;
  padding: 0 48px 0 18px;
  font-family: Raleway-Medium, sans-serif;
  font-size: 16px;
  color: var(--erp-ink);
}

.erp-input::placeholder {
  color: #8da0a8;
}

.erp-password-toggle {
  right: 14px;
  color: var(--erp-blue);
}

.erp-password-toggle:hover,
.erp-password-toggle.active {
  color: var(--erp-red);
}

.erp-login-button {
  width: 100%;
  height: 54px;
  margin-top: 6px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--erp-blue), var(--erp-cyan));
  color: #ffffff;
  font-family: Raleway-Bold, sans-serif;
  font-size: 16px;
  box-shadow: 0 14px 28px rgba(40, 114, 138, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.erp-login-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(40, 114, 138, 0.26);
  filter: saturate(1.04);
}

.erp-login-button:active {
  transform: translateY(0);
}

.erp-login-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 22px;
}

.erp-login-footer a {
  color: var(--erp-blue);
  font-family: Raleway-SemiBold, sans-serif;
}

.erp-login-footer a:hover {
  color: var(--erp-red);
}

.erp-recover-row {
  margin-bottom: 25px;
}

.erp-recover-confirm {
  color: #ffffff;
}

.erp-recover-exit {
  float: right;
  color: #ffffff;
}

.focus-input100 {
  display: none;
}

.alert-validate::before {
  top: calc(100% + 8px);
  right: 0;
  max-width: 100%;
  transform: none;
  border-color: rgba(245, 20, 20, 0.24);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(18, 37, 45, 0.12);
  z-index: 4;
}

.alert-validate::after {
  right: 16px;
  color: var(--erp-red);
}

@media (max-width: 900px) {
  .erp-login-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .erp-brand-panel {
    padding: 30px 28px 10px;
  }

  .erp-brand-logo {
    width: min(420px, 100%);
  }

  .erp-form-panel {
    border-left: 0;
    padding-top: 24px;
  }
}

@media (max-width: 520px) {
  .erp-login-page {
    padding: 14px;
  }

  .erp-login-shell {
    border-radius: 8px;
  }

  .erp-form-panel {
    padding: 28px 20px 32px;
  }

  .erp-form-header h1 {
    font-size: 26px;
  }
}
