/* Hasdeo TerraTraverse ERP login — deliberately distinct from the rest of the
   site's brown branding (amber/orange-on-white "enterprise software" look,
   loosely modeled on the SAP NetWeaver login screen). Colors live as CSS
   custom properties so a future Settings-driven theme option has something
   to hook into without a rewrite. */

.erp-theme {
  --erp-accent: #E9730C;
  --erp-accent-dark: #b85a09;
  --erp-page-bg: #eef1f3;
  --erp-panel-bg: #ffffff;
  --erp-left-bg: #1b2733;
  --erp-text: #333333;

  background: var(--erp-page-bg);
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--erp-text);
}

.erp-back-link {
  display: inline-block;
  margin: 20px 0 0 20px;
  color: var(--erp-accent-dark);
  font-size: 14px;
  text-decoration: none;
}

.erp-back-link:hover {
  text-decoration: underline;
}

.erp-login-wrap {
  display: flex;
  justify-content: center;
  padding: 40px 20px 80px;
}

.erp-card {
  display: flex;
  width: 100%;
  max-width: 760px;
  background: var(--erp-panel-bg);
  border: 3px solid var(--erp-accent);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.erp-card-left {
  flex: 0 0 42%;
  background: linear-gradient(160deg, var(--erp-left-bg), #0d1319);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.erp-wordmark {
  color: var(--erp-accent);
  font-weight: 800;
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;
}

.erp-wordmark small {
  display: block;
  margin-top: 10px;
  color: #ffffff;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 3px;
}

.erp-card-right {
  flex: 1;
  padding: 40px 36px;
}

.erp-card-right h1 {
  color: var(--erp-accent);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 30px;
}

.erp-field {
  margin-bottom: 16px;
}

.erp-field label {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
  color: var(--erp-text);
}

.erp-field label .required {
  color: #d0021b;
}

.erp-field input {
  width: 100%;
  max-width: 280px;
  padding: 6px 8px;
  border: 1px solid #a9a9a9;
  border-radius: 2px;
  font-size: 14px;
}

.erp-field small {
  display: block;
  margin-top: 3px;
  color: #777;
  font-size: 11px;
}

.erp-submit-row {
  margin-top: 24px;
  text-align: right;
  max-width: 280px;
}

.erp-btn {
  background: #f2f2f2;
  border: 1px solid #999;
  border-radius: 2px;
  padding: 6px 18px;
  font-size: 13px;
  color: #222;
  cursor: pointer;
}

.erp-btn:hover {
  background: #e6e6e6;
}

.d-none {
  display: none !important;
}

.erp-error {
  color: #b02a37;
  background: #f8d7da;
  border: 1px solid #f1aeb5;
  border-radius: 3px;
  padding: 8px 10px;
  font-size: 13px;
  margin-bottom: 16px;
}

.erp-footer {
  text-align: center;
  font-size: 12px;
  color: #888;
  padding-bottom: 20px;
}
