:root {
  --primary: #096c4c;
  --primary-dark: #064b36;
  --primary-soft: #eaf6f1;
  --background: #f4f7f6;
  --surface: #ffffff;
  --text: #17231f;
  --muted: #66756f;
  --border: #dfe7e3;
  --danger: #b42318;
  --success: #067647;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

button,
input {
  font: inherit;
}

.auth-page {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(320px, 0.9fr) minmax(500px, 1.1fr);
}

.auth-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 65px;
  color: white;
  background: linear-gradient(145deg, var(--primary-dark), var(--primary));
}

.brand-badge {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 18px;
  color: var(--primary-dark);
  background: white;
  font-size: 23px;
  font-weight: 900;
}

.brand-badge-small {
  width: 45px;
  height: 45px;
  border-radius: 13px;
  font-size: 17px;
}

.auth-brand h1 {
  margin: 28px 0 14px;
  font-size: 46px;
}

.auth-brand > p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.7;
}

.brand-features {
  display: grid;
  gap: 13px;
  margin-top: 34px;
}

.brand-features span::before {
  content: "✓";
  margin-right: 10px;
  font-weight: 900;
}

.auth-panel {
  display: grid;
  place-items: center;
  padding: 40px;
}

.auth-panel-wide {
  align-items: start;
}

.auth-card {
  width: min(100%, 720px);
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(18, 52, 40, 0.1);
}

.auth-heading {
  margin-bottom: 28px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.auth-heading h2 {
  margin: 0;
  font-size: 29px;
}

.auth-heading p:last-child {
  color: var(--muted);
  line-height: 1.6;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.login-form {
  display: grid;
  gap: 18px;
}

.form-section-title,
.field-full {
  grid-column: 1 / -1;
}

.form-section-title {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--primary-dark);
  font-weight: 800;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  font-size: 13px;
  font-weight: 700;
}

.field input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #ccd8d3;
  border-radius: 10px;
  outline: none;
}

.field input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(9, 108, 76, 0.11);
}

.button {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 800;
}

.button-primary {
  color: white;
  background: var(--primary);
}

.alert {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 10px;
}

.alert-error {
  color: var(--danger);
  background: #fff0ee;
}

.alert-success {
  color: var(--success);
  background: #ecfdf3;
}

.auth-switch {
  margin-top: 25px;
  text-align: center;
  color: var(--muted);
}

.auth-switch a {
  color: var(--primary);
  font-weight: 800;
}

.dashboard-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 270px 1fr;
}

.sidebar {
  display: flex;
  height: 100vh;
  flex-direction: column;
  padding: 22px 18px;
  color: white;
  background: var(--primary-dark);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.sidebar-brand div:last-child {
  display: grid;
  gap: 4px;
}

.sidebar-brand span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
}

.sidebar-nav {
  display: grid;
  gap: 5px;
  margin-top: 20px;
  overflow-y: auto;
}

.sidebar-nav a {
  padding: 11px 13px;
  border-radius: 9px;
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: white;
  background: rgba(255, 255, 255, 0.12);
}

.sidebar-logout {
  margin-top: auto;
}

.sidebar-logout button {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9px;
  color: white;
  background: transparent;
}

.dashboard-main {
  min-width: 0;
  padding: 28px 34px;
}

.topbar,
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar {
  margin-bottom: 24px;
}

.topbar h1,
.section-heading h2 {
  margin: 0;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 11px;
}

.user-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 11px;
  color: white;
  background: var(--primary);
  font-weight: 900;
}

.user-profile > div:last-child {
  display: grid;
}

.user-profile span {
  color: var(--muted);
  font-size: 12px;
}

.welcome-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 25px;
  padding: 29px;
  border-radius: 19px;
  color: white;
  background: linear-gradient(130deg, var(--primary-dark), var(--primary));
}

.welcome-panel h2 {
  margin: 0;
}

.welcome-panel .eyebrow {
  color: #bff1df;
}

.company-code-box {
  display: grid;
  gap: 6px;
  min-width: 225px;
  padding: 19px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
}

.statistics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 21px;
}

.stat-card,
.module-section {
  border: 1px solid var(--border);
  background: white;
}

.stat-card {
  display: grid;
  gap: 8px;
  padding: 20px;
  border-radius: 14px;
}

.stat-card strong {
  font-size: 30px;
}

.stat-card span,
.stat-card small,
.module-card p {
  color: var(--muted);
}

.module-section {
  margin-top: 24px;
  padding: 24px;
  border-radius: 17px;
}

.status-badge {
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--success);
  background: #ecfdf3;
  font-size: 12px;
  font-weight: 800;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
  margin-top: 21px;
}

.module-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 13px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.module-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 11px;
  color: var(--primary);
  background: var(--primary-soft);
  font-weight: 900;
}

.module-card h3,
.module-card p {
  margin: 0;
}

.simple-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
}

.simple-card {
  padding: 42px;
  border-radius: 20px;
  background: white;
  text-align: center;
}

@media (max-width: 950px) {
  .auth-page,
  .dashboard-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    height: auto;
  }

  .statistics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .welcome-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .auth-brand,
  .auth-panel,
  .dashboard-main {
    padding: 22px 17px;
  }

  .auth-card {
    padding: 25px 20px;
  }

  .form-grid,
  .statistics-grid,
  .module-grid {
    grid-template-columns: 1fr;
  }

  .field-full,
  .form-section-title {
    grid-column: auto;
  }
}

/* =========================================================
   SELECTA ERP PROFESSIONAL REGISTRATION
========================================================= */

.registration-page {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 430px minmax(0, 1fr);
  background: #f5f7f6;
}

.registration-showcase {
  position: fixed;
  inset: 0 auto 0 0;
  width: 430px;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(
      circle at 20% 10%,
      rgba(255, 255, 255, 0.16),
      transparent 26%
    ),
    radial-gradient(
      circle at 80% 85%,
      rgba(214, 169, 50, 0.22),
      transparent 34%
    ),
    linear-gradient(155deg, #063b2d 0%, #087252 55%, #0b8a64 100%);
}

.registration-showcase::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.showcase-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.08) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.08) 1px,
      transparent 1px
    );
  background-size: 40px 40px;
}

.showcase-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  padding: 42px 42px 34px;
}

.selecta-logo {
  display: flex;
  align-items: center;
  gap: 13px;
}

.selecta-logo-mark {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 14px;
  color: #07523d;
  background: #ffffff;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.selecta-logo > div:last-child {
  display: grid;
  gap: 4px;
}

.selecta-logo strong {
  font-size: 17px;
  letter-spacing: 0.03em;
}

.selecta-logo span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
}

.showcase-copy {
  margin-top: auto;
}

.showcase-label {
  margin: 0 0 16px;
  color: #f2d887;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.showcase-copy h1 {
  max-width: 340px;
  margin: 0;
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.showcase-copy > p:last-child {
  max-width: 340px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.75;
}

.showcase-features {
  display: grid;
  gap: 15px;
  margin-top: 36px;
}

.showcase-feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.feature-check {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #f4d97f;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 900;
}

.showcase-feature div {
  display: grid;
  gap: 4px;
}

.showcase-feature strong {
  font-size: 13px;
}

.showcase-feature small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  line-height: 1.45;
}

.showcase-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 35px;
  color: rgba(255, 255, 255, 0.47);
  font-size: 10px;
}

.registration-workspace {
  grid-column: 2;
  min-width: 0;
}

.registration-topbar {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  padding: 0 44px;
  border-bottom: 1px solid #e2e8e5;
  background: rgba(255, 255, 255, 0.92);
}

.registration-topbar > div:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6c7873;
  font-size: 12px;
  font-weight: 700;
}

.secure-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #14a66f;
  box-shadow: 0 0 0 4px rgba(20, 166, 111, 0.12);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar-actions a {
  color: #08694d;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.language-button {
  min-width: 42px;
  height: 34px;
  border: 1px solid #d9e2de;
  border-radius: 9px;
  color: #385049;
  background: #ffffff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.registration-container {
  width: min(100%, 950px);
  margin: 0 auto;
  padding: 38px 46px 35px;
}

.registration-progress {
  display: flex;
  align-items: center;
  margin-bottom: 34px;
  padding: 18px 21px;
  border: 1px solid #e0e8e4;
  border-radius: 16px;
  background: #ffffff;
}

.progress-item {
  display: flex;
  min-width: 155px;
  align-items: center;
  gap: 10px;
  opacity: 0.48;
}

.progress-item.active {
  opacity: 1;
}

.progress-item > span {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border-radius: 10px;
  color: #49625a;
  background: #eef3f1;
  font-size: 12px;
  font-weight: 900;
}

.progress-item.active > span {
  color: #ffffff;
  background: #087252;
}

.progress-item > div {
  display: grid;
  gap: 3px;
}

.progress-item strong {
  font-size: 12px;
}

.progress-item small {
  color: #78847f;
  font-size: 10px;
}

.progress-line {
  height: 1px;
  flex: 1;
  margin: 0 16px;
  background: #dfe7e3;
}

.registration-heading {
  margin-bottom: 28px;
}

.registration-eyebrow {
  margin: 0 0 9px;
  color: #087252;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.registration-heading h2 {
  margin: 0;
  color: #18251f;
  font-size: 31px;
  letter-spacing: -0.025em;
}

.registration-heading > p:last-child {
  max-width: 650px;
  margin: 11px 0 0;
  color: #718079;
  font-size: 13px;
  line-height: 1.65;
}

.registration-alert {
  display: flex;
  gap: 11px;
  align-items: center;
  margin-bottom: 21px;
  padding: 14px 16px;
  border: 1px solid #f0c4bd;
  border-radius: 12px;
  color: #a63225;
  background: #fff4f2;
  font-size: 13px;
}

.registration-alert span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: #c44838;
  font-weight: 900;
}

.professional-form {
  display: grid;
  gap: 22px;
}

.form-block {
  padding: 25px;
  border: 1px solid #e0e7e4;
  border-radius: 17px;
  background: #ffffff;
  box-shadow: 0 8px 30px rgba(35, 67, 55, 0.045);
}

.form-block-heading {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 23px;
  padding-bottom: 18px;
  border-bottom: 1px solid #edf1ef;
}

.form-block-icon {
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  place-items: center;
  border-radius: 12px;
  color: #087252;
  background: #e8f5ef;
  font-size: 12px;
  font-weight: 900;
}

.form-block-heading h3 {
  margin: 0;
  color: #20312a;
  font-size: 16px;
}

.form-block-heading p {
  margin: 5px 0 0;
  color: #7a8782;
  font-size: 11px;
}

.professional-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}

.professional-field {
  display: grid;
  gap: 8px;
}

.professional-field-wide {
  grid-column: 1 / -1;
}

.professional-field span {
  color: #35483f;
  font-size: 11px;
  font-weight: 800;
}

.professional-field input {
  width: 100%;
  height: 49px;
  padding: 0 14px;
  border: 1px solid #d8e1dd;
  border-radius: 11px;
  outline: none;
  color: #25352e;
  background: #fbfcfc;
  font-size: 13px;
  transition: 0.18s ease;
}

.professional-field input::placeholder {
  color: #a1aba7;
}

.professional-field input:focus {
  border-color: #0a8560;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(10, 133, 96, 0.09);
}

.registration-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid #dce7e2;
  border-radius: 13px;
  background: #f8fbfa;
}

.consent-check {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
  border-radius: 7px;
  color: #ffffff;
  background: #087252;
  font-size: 11px;
  font-weight: 900;
}

.registration-consent p {
  margin: 1px 0 0;
  color: #68766f;
  font-size: 11px;
  line-height: 1.55;
}

.registration-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 13px;
}

.secondary-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 0 20px;
  border: 1px solid #d7e0dc;
  border-radius: 11px;
  color: #5d6c65;
  background: #ffffff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

.primary-action {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  gap: 20px;
  padding: 0 23px;
  border: 0;
  border-radius: 11px;
  color: #ffffff;
  background: linear-gradient(135deg, #075f46, #098360);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  box-shadow: 0 12px 24px rgba(8, 114, 82, 0.22);
}

.primary-action strong {
  font-size: 18px;
}

.registration-footer {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 34px;
  color: #94a09b;
  font-size: 10px;
}

@media (max-width: 1100px) {
  .registration-page {
    grid-template-columns: 340px minmax(0, 1fr);
  }

  .registration-showcase {
    width: 340px;
  }

  .showcase-content {
    padding: 35px 30px;
  }

  .showcase-copy h1 {
    font-size: 31px;
  }

  .registration-container {
    padding-right: 28px;
    padding-left: 28px;
  }
}

@media (max-width: 850px) {
  .registration-page {
    display: block;
  }

  .registration-showcase {
    position: relative;
    width: 100%;
    min-height: auto;
  }

  .showcase-content {
    min-height: auto;
    padding: 30px 24px;
  }

  .showcase-copy {
    margin-top: 45px;
  }

  .showcase-features,
  .showcase-footer {
    display: none;
  }

  .registration-workspace {
    width: 100%;
  }

  .registration-progress {
    overflow-x: auto;
  }
}

@media (max-width: 620px) {
  .registration-topbar {
    padding: 0 18px;
  }

  .registration-container {
    padding: 26px 15px;
  }

  .registration-progress {
    display: none;
  }

  .registration-heading h2 {
    font-size: 25px;
  }

  .professional-grid {
    grid-template-columns: 1fr;
  }

  .professional-field-wide {
    grid-column: auto;
  }

  .form-block {
    padding: 19px 16px;
  }

  .registration-actions {
    display: grid;
  }

  .secondary-action,
  .primary-action {
    width: 100%;
    justify-content: center;
  }

  .registration-footer {
    flex-wrap: wrap;
  }
}

/* =========================================================
   SELECTA ERP PROFESSIONAL REGISTRATION
========================================================= */

.registration-page {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 430px minmax(0, 1fr);
  background: #f5f7f6;
}

.registration-showcase {
  position: fixed;
  inset: 0 auto 0 0;
  width: 430px;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(
      circle at 20% 10%,
      rgba(255, 255, 255, 0.16),
      transparent 26%
    ),
    radial-gradient(
      circle at 80% 85%,
      rgba(214, 169, 50, 0.22),
      transparent 34%
    ),
    linear-gradient(155deg, #063b2d 0%, #087252 55%, #0b8a64 100%);
}

.registration-showcase::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.showcase-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.08) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.08) 1px,
      transparent 1px
    );
  background-size: 40px 40px;
}

.showcase-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  padding: 42px 42px 34px;
}

.selecta-logo {
  display: flex;
  align-items: center;
  gap: 13px;
}

.selecta-logo-mark {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 14px;
  color: #07523d;
  background: #ffffff;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.selecta-logo > div:last-child {
  display: grid;
  gap: 4px;
}

.selecta-logo strong {
  font-size: 17px;
  letter-spacing: 0.03em;
}

.selecta-logo span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
}

.showcase-copy {
  margin-top: auto;
}

.showcase-label {
  margin: 0 0 16px;
  color: #f2d887;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.showcase-copy h1 {
  max-width: 340px;
  margin: 0;
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.showcase-copy > p:last-child {
  max-width: 340px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.75;
}

.showcase-features {
  display: grid;
  gap: 15px;
  margin-top: 36px;
}

.showcase-feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.feature-check {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #f4d97f;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 900;
}

.showcase-feature div {
  display: grid;
  gap: 4px;
}

.showcase-feature strong {
  font-size: 13px;
}

.showcase-feature small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  line-height: 1.45;
}

.showcase-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 35px;
  color: rgba(255, 255, 255, 0.47);
  font-size: 10px;
}

.registration-workspace {
  grid-column: 2;
  min-width: 0;
}

.registration-topbar {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  padding: 0 44px;
  border-bottom: 1px solid #e2e8e5;
  background: rgba(255, 255, 255, 0.92);
}

.registration-topbar > div:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6c7873;
  font-size: 12px;
  font-weight: 700;
}

.secure-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #14a66f;
  box-shadow: 0 0 0 4px rgba(20, 166, 111, 0.12);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar-actions a {
  color: #08694d;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.language-button {
  min-width: 42px;
  height: 34px;
  border: 1px solid #d9e2de;
  border-radius: 9px;
  color: #385049;
  background: #ffffff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.registration-container {
  width: min(100%, 950px);
  margin: 0 auto;
  padding: 38px 46px 35px;
}

.registration-progress {
  display: flex;
  align-items: center;
  margin-bottom: 34px;
  padding: 18px 21px;
  border: 1px solid #e0e8e4;
  border-radius: 16px;
  background: #ffffff;
}

.progress-item {
  display: flex;
  min-width: 155px;
  align-items: center;
  gap: 10px;
  opacity: 0.48;
}

.progress-item.active {
  opacity: 1;
}

.progress-item > span {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border-radius: 10px;
  color: #49625a;
  background: #eef3f1;
  font-size: 12px;
  font-weight: 900;
}

.progress-item.active > span {
  color: #ffffff;
  background: #087252;
}

.progress-item > div {
  display: grid;
  gap: 3px;
}

.progress-item strong {
  font-size: 12px;
}

.progress-item small {
  color: #78847f;
  font-size: 10px;
}

.progress-line {
  height: 1px;
  flex: 1;
  margin: 0 16px;
  background: #dfe7e3;
}

.registration-heading {
  margin-bottom: 28px;
}

.registration-eyebrow {
  margin: 0 0 9px;
  color: #087252;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.registration-heading h2 {
  margin: 0;
  color: #18251f;
  font-size: 31px;
  letter-spacing: -0.025em;
}

.registration-heading > p:last-child {
  max-width: 650px;
  margin: 11px 0 0;
  color: #718079;
  font-size: 13px;
  line-height: 1.65;
}

.registration-alert {
  display: flex;
  gap: 11px;
  align-items: center;
  margin-bottom: 21px;
  padding: 14px 16px;
  border: 1px solid #f0c4bd;
  border-radius: 12px;
  color: #a63225;
  background: #fff4f2;
  font-size: 13px;
}

.registration-alert span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: #c44838;
  font-weight: 900;
}

.professional-form {
  display: grid;
  gap: 22px;
}

.form-block {
  padding: 25px;
  border: 1px solid #e0e7e4;
  border-radius: 17px;
  background: #ffffff;
  box-shadow: 0 8px 30px rgba(35, 67, 55, 0.045);
}

.form-block-heading {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 23px;
  padding-bottom: 18px;
  border-bottom: 1px solid #edf1ef;
}

.form-block-icon {
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  place-items: center;
  border-radius: 12px;
  color: #087252;
  background: #e8f5ef;
  font-size: 12px;
  font-weight: 900;
}

.form-block-heading h3 {
  margin: 0;
  color: #20312a;
  font-size: 16px;
}

.form-block-heading p {
  margin: 5px 0 0;
  color: #7a8782;
  font-size: 11px;
}

.professional-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}

.professional-field {
  display: grid;
  gap: 8px;
}

.professional-field-wide {
  grid-column: 1 / -1;
}

.professional-field span {
  color: #35483f;
  font-size: 11px;
  font-weight: 800;
}

.professional-field input {
  width: 100%;
  height: 49px;
  padding: 0 14px;
  border: 1px solid #d8e1dd;
  border-radius: 11px;
  outline: none;
  color: #25352e;
  background: #fbfcfc;
  font-size: 13px;
  transition: 0.18s ease;
}

.professional-field input::placeholder {
  color: #a1aba7;
}

.professional-field input:focus {
  border-color: #0a8560;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(10, 133, 96, 0.09);
}

.registration-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid #dce7e2;
  border-radius: 13px;
  background: #f8fbfa;
}

.consent-check {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
  border-radius: 7px;
  color: #ffffff;
  background: #087252;
  font-size: 11px;
  font-weight: 900;
}

.registration-consent p {
  margin: 1px 0 0;
  color: #68766f;
  font-size: 11px;
  line-height: 1.55;
}

.registration-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 13px;
}

.secondary-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 0 20px;
  border: 1px solid #d7e0dc;
  border-radius: 11px;
  color: #5d6c65;
  background: #ffffff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

.primary-action {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  gap: 20px;
  padding: 0 23px;
  border: 0;
  border-radius: 11px;
  color: #ffffff;
  background: linear-gradient(135deg, #075f46, #098360);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  box-shadow: 0 12px 24px rgba(8, 114, 82, 0.22);
}

.primary-action strong {
  font-size: 18px;
}

.registration-footer {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 34px;
  color: #94a09b;
  font-size: 10px;
}

@media (max-width: 1100px) {
  .registration-page {
    grid-template-columns: 340px minmax(0, 1fr);
  }

  .registration-showcase {
    width: 340px;
  }

  .showcase-content {
    padding: 35px 30px;
  }

  .showcase-copy h1 {
    font-size: 31px;
  }

  .registration-container {
    padding-right: 28px;
    padding-left: 28px;
  }
}

@media (max-width: 850px) {
  .registration-page {
    display: block;
  }

  .registration-showcase {
    position: relative;
    width: 100%;
    min-height: auto;
  }

  .showcase-content {
    min-height: auto;
    padding: 30px 24px;
  }

  .showcase-copy {
    margin-top: 45px;
  }

  .showcase-features,
  .showcase-footer {
    display: none;
  }

  .registration-workspace {
    width: 100%;
  }

  .registration-progress {
    overflow-x: auto;
  }
}

@media (max-width: 620px) {
  .registration-topbar {
    padding: 0 18px;
  }

  .registration-container {
    padding: 26px 15px;
  }

  .registration-progress {
    display: none;
  }

  .registration-heading h2 {
    font-size: 25px;
  }

  .professional-grid {
    grid-template-columns: 1fr;
  }

  .professional-field-wide {
    grid-column: auto;
  }

  .form-block {
    padding: 19px 16px;
  }

  .registration-actions {
    display: grid;
  }

  .secondary-action,
  .primary-action {
    width: 100%;
    justify-content: center;
  }

  .registration-footer {
    flex-wrap: wrap;
  }
}

/* =========================================================
   SELECTA ERP ENTERPRISE APP LAYOUT
========================================================= */

.erp-app-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 280px minmax(0, 1fr);
  background: #f5f7f6;
}

.erp-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  height: 100vh;
  flex-direction: column;
  padding: 22px 18px;
  overflow-y: auto;
  color: #ffffff;
  background:
    radial-gradient(
      circle at top right,
      rgba(255,255,255,0.08),
      transparent 28%
    ),
    linear-gradient(180deg, #073d2e 0%, #062f24 100%);
}

.erp-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 4px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.erp-brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border-radius: 13px;
  color: #073d2e;
  background: #ffffff;
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(0,0,0,0.2);
}

.erp-brand-text {
  display: grid;
  gap: 3px;
}

.erp-brand-text strong {
  font-size: 15px;
  letter-spacing: 0.02em;
}

.erp-brand-text span {
  color: rgba(255,255,255,0.54);
  font-size: 10px;
}

.erp-company-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 11px;
  align-items: center;
  margin: 18px 0 20px;
  padding: 13px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
}

.erp-company-avatar {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  color: #083f30;
  background: #dff6ec;
  font-weight: 900;
}

.erp-company-details {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.erp-company-details strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.erp-company-details span {
  color: rgba(255,255,255,0.5);
  font-size: 10px;
}

.erp-company-switch {
  border: 0;
  color: rgba(255,255,255,0.6);
  background: transparent;
  cursor: pointer;
  font-size: 18px;
}

.erp-navigation {
  display: grid;
  gap: 4px;
}

.erp-nav-label {
  margin: 17px 10px 7px;
  color: rgba(255,255,255,0.37);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.erp-nav-item {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 11px;
  padding: 0 12px;
  border-radius: 10px;
  color: rgba(255,255,255,0.68);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  transition: 0.18s ease;
}

.erp-nav-item:hover,
.erp-nav-item.active {
  color: #ffffff;
  background: rgba(255,255,255,0.11);
}

.erp-nav-icon {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 8px;
  color: #b8ebd8;
  background: rgba(255,255,255,0.07);
  font-size: 11px;
  font-weight: 900;
}

.erp-sidebar-footer {
  display: grid;
  gap: 14px;
  margin-top: auto;
  padding-top: 24px;
}

.erp-support-card {
  display: grid;
  gap: 6px;
  padding: 15px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 13px;
  background: rgba(255,255,255,0.05);
}

.erp-support-card strong {
  font-size: 11px;
}

.erp-support-card span {
  color: rgba(255,255,255,0.49);
  font-size: 10px;
  line-height: 1.5;
}

.erp-support-card a {
  color: #d8b95d;
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
}

.erp-logout-button {
  width: 100%;
  min-height: 41px;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 10px;
  color: #ffffff;
  background: transparent;
  cursor: pointer;
  font-weight: 750;
}

.erp-main-column {
  min-width: 0;
}

.erp-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  min-height: 76px;
  grid-template-columns: auto minmax(280px, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 0 30px;
  border-bottom: 1px solid #e1e8e5;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px);
}

.erp-topbar-left,
.erp-topbar-right,
.erp-user-menu {
  display: flex;
  align-items: center;
}

.erp-topbar-left {
  gap: 13px;
}

.erp-menu-button {
  display: none;
  width: 39px;
  height: 39px;
  border: 1px solid #dce4e0;
  border-radius: 10px;
  color: #355047;
  background: #ffffff;
  cursor: pointer;
}

.erp-page-heading p {
  margin: 0 0 3px;
  color: #7c8a84;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.erp-page-heading h1 {
  margin: 0;
  color: #1c2d26;
  font-size: 20px;
}

.erp-search-form {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid #dfe6e3;
  border-radius: 11px;
  background: #f8faf9;
}

.erp-search-icon {
  color: #76847e;
  font-size: 17px;
}

.erp-search-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  color: #263a31;
  font-size: 12px;
}

.erp-search-form kbd {
  padding: 4px 7px;
  border: 1px solid #d7dfdb;
  border-radius: 6px;
  color: #85918c;
  background: #ffffff;
  font-size: 9px;
}

.erp-topbar-right {
  gap: 10px;
}

.erp-topbar-action,
.erp-language-selector {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #dce4e0;
  border-radius: 10px;
  color: #3d554c;
  background: #ffffff;
  cursor: pointer;
  font-weight: 800;
}

.erp-notification-button {
  position: relative;
}

.erp-notification-button > span {
  position: absolute;
  top: 5px;
  right: 6px;
  color: #d49b24;
  font-size: 8px;
}

.erp-user-menu {
  gap: 10px;
  margin-left: 5px;
  padding-left: 12px;
  border-left: 1px solid #e4eae7;
}

.erp-user-avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  color: #ffffff;
  background: linear-gradient(135deg, #07664b, #0b8a65);
  font-weight: 900;
}

.erp-user-details {
  display: grid;
  min-width: 100px;
  gap: 2px;
}

.erp-user-details strong {
  font-size: 11px;
}

.erp-user-details span {
  color: #7e8a85;
  font-size: 10px;
  text-transform: capitalize;
}

.erp-user-dropdown-button {
  border: 0;
  color: #81908a;
  background: transparent;
  cursor: pointer;
}

.erp-page-content {
  padding: 27px 30px 45px;
}

.erp-welcome-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 27px 29px;
  border-radius: 19px;
  color: #ffffff;
  background:
    radial-gradient(
      circle at right top,
      rgba(255,255,255,0.13),
      transparent 30%
    ),
    linear-gradient(135deg, #064b38, #0b7d5c);
  box-shadow: 0 16px 34px rgba(10, 95, 70, 0.16);
}

.erp-section-eyebrow {
  margin: 0 0 8px;
  color: #0b7958;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.erp-welcome-card .erp-section-eyebrow {
  color: #bcebd9;
}

.erp-welcome-card h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.025em;
}

.erp-welcome-card p:last-child {
  margin: 11px 0 0;
  color: rgba(255,255,255,0.74);
  font-size: 12px;
  line-height: 1.6;
}

.erp-company-code-card {
  display: grid;
  min-width: 225px;
  gap: 6px;
  padding: 18px 19px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 14px;
  background: rgba(255,255,255,0.09);
}

.erp-company-code-card span,
.erp-company-code-card small {
  color: rgba(255,255,255,0.61);
  font-size: 10px;
}

.erp-company-code-card strong {
  font-size: 18px;
  letter-spacing: 0.05em;
}

.erp-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.erp-kpi-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
  align-items: center;
  min-width: 0;
  padding: 19px;
  border: 1px solid #e1e8e5;
  border-radius: 15px;
  background: #ffffff;
  box-shadow: 0 7px 23px rgba(32, 66, 53, 0.045);
}

.erp-kpi-icon {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 12px;
  color: #087454;
  background: #e8f5ef;
  font-weight: 900;
}

.erp-kpi-card > div:last-child {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.erp-kpi-card span,
.erp-kpi-card small {
  overflow: hidden;
  color: #798680;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.erp-kpi-card strong {
  color: #1c2d26;
  font-size: 25px;
}

.erp-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.7fr);
  gap: 18px;
  margin-top: 18px;
}

.erp-panel {
  padding: 21px;
  border: 1px solid #e1e8e5;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 7px 23px rgba(32, 66, 53, 0.04);
}

.erp-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.erp-panel-heading h3 {
  margin: 0;
  color: #20322a;
  font-size: 15px;
}

.erp-panel-heading select {
  height: 34px;
  padding: 0 10px;
  border: 1px solid #dce4e0;
  border-radius: 8px;
  color: #596a62;
  background: #ffffff;
  font-size: 10px;
}

.erp-placeholder-chart {
  display: grid;
  min-height: 250px;
  place-items: center;
  margin-top: 20px;
  border: 1px dashed #d9e3de;
  border-radius: 13px;
  background:
    linear-gradient(
      to bottom,
      transparent 24%,
      #edf2ef 25%,
      transparent 26%,
      transparent 49%,
      #edf2ef 50%,
      transparent 51%,
      transparent 74%,
      #edf2ef 75%,
      transparent 76%
    );
}

.erp-chart-bars {
  display: flex;
  width: min(100%, 520px);
  height: 145px;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 0 25px;
}

.erp-chart-bars span {
  width: 38px;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, #0b8b65, #086449);
}

.erp-placeholder-chart p {
  margin: -20px 0 0;
  color: #87938e;
  font-size: 10px;
}

.erp-status-list {
  display: grid;
  gap: 0;
  margin-top: 17px;
}

.erp-status-list > div {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #edf1ef;
  font-size: 11px;
}

.erp-status-list > div:last-child {
  border-bottom: 0;
}

.erp-status-list span {
  color: #53665d;
}

.erp-status-list strong {
  padding: 6px 9px;
  border-radius: 999px;
  color: #9b6b09;
  background: #fff6dc;
  font-size: 9px;
}

.erp-modules-panel {
  margin-top: 18px;
}

.erp-foundation-badge {
  padding: 7px 10px;
  border-radius: 999px;
  color: #08714f;
  background: #eaf8f2;
  font-size: 9px;
  font-weight: 800;
}

.erp-module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.erp-module-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 15px;
  border: 1px solid #e3e9e6;
  border-radius: 12px;
  background: #fbfcfc;
  transition: 0.18s ease;
}

.erp-module-card:hover {
  transform: translateY(-2px);
  border-color: #cddbd5;
  background: #ffffff;
  box-shadow: 0 9px 22px rgba(31, 72, 56, 0.07);
}

.erp-module-letter {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  color: #087554;
  background: #e8f5ef;
  font-weight: 900;
}

.erp-module-card h4 {
  margin: 0 0 4px;
  color: #24372e;
  font-size: 12px;
}

.erp-module-card p {
  margin: 0;
  color: #7e8a85;
  font-size: 10px;
}

.erp-module-card > span {
  color: #82918a;
  font-size: 16px;
}

@media (max-width: 1180px) {
  .erp-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .erp-topbar {
    grid-template-columns: auto 1fr;
  }

  .erp-topbar-center {
    display: none;
  }
}

@media (max-width: 900px) {
  .erp-app-shell {
    grid-template-columns: 1fr;
  }

  .erp-sidebar {
    position: fixed;
    z-index: 50;
    width: 280px;
    transform: translateX(-100%);
    transition: 0.22s ease;
  }

  .erp-sidebar.erp-sidebar-open {
    transform: translateX(0);
  }

  .erp-menu-button {
    display: grid;
    place-items: center;
  }

  .erp-topbar {
    padding: 0 18px;
  }

  .erp-page-content {
    padding: 20px 16px 35px;
  }

  .erp-dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .erp-topbar-right {
    gap: 6px;
  }

  .erp-user-details,
  .erp-language-selector,
  .erp-topbar-action:first-child {
    display: none;
  }

  .erp-welcome-card {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .erp-company-code-card {
    min-width: 0;
  }

  .erp-kpi-grid,
  .erp-module-grid {
    grid-template-columns: 1fr;
  }

  .erp-chart-bars {
    gap: 8px;
    padding: 0 12px;
  }

  .erp-chart-bars span {
    width: 25px;
  }
}

/* ==========================================================
   SELECTA ERP LOGIN V3 (PART A)
========================================================== */

.selecta-login-page{
    display:grid;
    grid-template-columns:460px minmax(0,1fr);
    min-height:100vh;
    background:#f4f7f6;
}

.selecta-login-brand{
    position:relative;
    overflow:hidden;
    color:#fff;
    background:linear-gradient(160deg,#063a2c,#0b8a65);
}

.selecta-login-pattern{
    position:absolute;
    inset:0;
    opacity:.08;
    background-image:
      radial-gradient(circle at 20% 20%,#fff 2px,transparent 2px),
      radial-gradient(circle at 80% 40%,#fff 2px,transparent 2px),
      radial-gradient(circle at 60% 80%,#fff 2px,transparent 2px);
    background-size:120px 120px;
}

.selecta-login-brand-content{
    position:relative;
    z-index:2;
    display:flex;
    flex-direction:column;
    height:100%;
    padding:50px;
}

.selecta-login-logo{
    display:flex;
    align-items:center;
    gap:15px;
}

.selecta-login-logo-mark{
    width:60px;
    height:60px;
    border-radius:18px;
    background:#fff;
    color:#06513c;
    display:grid;
    place-items:center;
    font-size:28px;
    font-weight:900;
    box-shadow:0 15px 35px rgba(0,0,0,.18);
}

.selecta-login-logo strong{
    display:block;
    font-size:30px;
    letter-spacing:-.03em;
}

.selecta-login-logo span{
    color:rgba(255,255,255,.75);
    font-size:13px;
}

.selecta-login-message{
    margin-top:70px;
}

.selecta-login-message p{
    color:#f0c96c;
    font-size:12px;
    font-weight:800;
    letter-spacing:.18em;
}

.selecta-login-message h1{
    margin:15px 0;
    font-size:52px;
    line-height:1.08;
    font-weight:900;
    letter-spacing:-.05em;
}

.selecta-login-message span{
    display:block;
    max-width:360px;
    color:rgba(255,255,255,.82);
    font-size:17px;
    line-height:1.8;
}

.selecta-login-benefits{
    margin-top:55px;
    display:grid;
    gap:18px;
}

.selecta-login-benefits div{
    display:flex;
    gap:16px;
    align-items:center;
}

.selecta-login-benefits strong{
    width:46px;
    height:46px;
    border-radius:14px;
    background:rgba(255,255,255,.12);
    display:grid;
    place-items:center;
    font-size:18px;
}

.selecta-login-benefits span{
    font-size:15px;
    color:#eef8f4;
}

.selecta-login-brand footer{
    margin-top:auto;
    display:flex;
    gap:10px;
    color:rgba(255,255,255,.65);
    font-size:12px;
}

.selecta-login-workspace{
    display:flex;
    flex-direction:column;
    padding:38px 55px;
}

.selecta-login-topbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.selecta-login-topbar span{
    display:flex;
    align-items:center;
    gap:10px;
    color:#557267;
    font-weight:700;
}

.selecta-login-topbar span i{
    width:10px;
    height:10px;
    border-radius:50%;
    background:#14b86b;
    display:inline-block;
}

.selecta-login-topbar div{
    display:flex;
    align-items:center;
    gap:18px;
}

.selecta-login-topbar button{
    border:none;
    background:#eef5f2;
    padding:10px 16px;
    border-radius:10px;
    cursor:pointer;
    font-weight:700;
}

.selecta-login-topbar a{
    color:#0b7e5d;
    font-weight:700;
    text-decoration:none;
}

.selecta-login-card{
    width:100%;
    max-width:560px;
    margin:auto;
    background:#fff;
    border-radius:24px;
    padding:45px;
    box-shadow:0 25px 60px rgba(0,0,0,.08);
    border:1px solid #e6ece8;
}

.selecta-login-heading p{
    margin:0;
    color:#0b8a65;
    font-size:11px;
    font-weight:900;
    letter-spacing:.18em;
}

.selecta-login-heading h2{
    margin:12px 0;
    font-size:38px;
    color:#1d3028;
}

.selecta-login-heading span{
    color:#6f8179;
    line-height:1.7;
}


/* ==========================================================
   SELECTA ERP LOGIN V3 (PART B)
========================================================== */

.selecta-login-form{
    margin-top:32px;
    display:grid;
    gap:22px;
}

.selecta-login-form label{
    display:grid;
    gap:9px;
}

.selecta-login-form label>span,
.selecta-login-label-row span{
    font-size:13px;
    font-weight:700;
    color:#355247;
}

.selecta-login-label-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.selecta-login-label-row a{
    text-decoration:none;
    color:#0b8a65;
    font-size:12px;
    font-weight:700;
}

.selecta-login-input{
    display:flex;
    align-items:center;
    gap:14px;
    min-height:58px;
    padding:0 18px;
    border:1px solid #dbe5e0;
    border-radius:14px;
    background:#fafcfc;
    transition:.2s;
}

.selecta-login-input:focus-within{
    border-color:#0b8a65;
    box-shadow:0 0 0 4px rgba(11,138,101,.12);
    background:#fff;
}

.selecta-login-input b{
    width:28px;
    text-align:center;
    color:#0b8a65;
}

.selecta-login-input input{
    flex:1;
    border:0;
    outline:none;
    background:transparent;
    font-size:15px;
}

.selecta-login-submit{
    margin-top:8px;
    height:58px;
    border:none;
    border-radius:14px;
    background:linear-gradient(135deg,#0b8a65,#0aa06e);
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:12px;
    font-size:16px;
    font-weight:800;
    cursor:pointer;
    transition:.2s;
}

.selecta-login-submit:hover{
    transform:translateY(-2px);
    box-shadow:0 16px 32px rgba(11,138,101,.28);
}

.selecta-login-alert{
    display:flex;
    gap:12px;
    align-items:center;
    padding:14px 18px;
    border-radius:12px;
    margin-top:20px;
}

.selecta-login-alert.success{
    background:#e9f9f2;
    color:#086847;
}

.selecta-login-alert.error{
    background:#fff1f1;
    color:#b43232;
}

.selecta-login-separator{
    display:flex;
    align-items:center;
    gap:14px;
    margin:28px 0;
}

.selecta-login-separator span{
    flex:1;
    height:1px;
    background:#e4ece8;
}

.selecta-login-separator small{
    color:#88958f;
}

.selecta-login-register{
    display:flex;
    justify-content:center;
    align-items:center;
    height:54px;
    border:1px solid #d8e3de;
    border-radius:14px;
    text-decoration:none;
    color:#0b8a65;
    font-weight:800;
    transition:.2s;
}

.selecta-login-register:hover{
    background:#eef8f4;
}

.selecta-login-card-footer{
    display:flex;
    justify-content:center;
    gap:24px;
    margin-top:28px;
    color:#8d9994;
    font-size:12px;
}

@media(max-width:1100px){
    .selecta-login-page{
        grid-template-columns:1fr;
    }

    .selecta-login-brand{
        display:none;
    }

    .selecta-login-workspace{
        padding:30px 20px;
    }

    .selecta-login-card{
        padding:30px;
    }

    .selecta-login-heading h2{
        font-size:30px;
    }
}


/* =========================================================
   SELECTA ERP EXECUTIVE HEADER
========================================================= */

.erp-executive-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 27px 29px;
  border: 1px solid #dce7e2;
  border-radius: 19px;
  background:
    radial-gradient(
      circle at right top,
      rgba(15, 142, 102, 0.09),
      transparent 32%
    ),
    linear-gradient(135deg, #ffffff, #f4faf7);
  box-shadow: 0 13px 32px rgba(31, 72, 56, 0.07);
}

.erp-executive-main {
  display: flex;
  align-items: center;
  gap: 19px;
  min-width: 0;
}

.erp-executive-avatar {
  display: grid;
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  place-items: center;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, #075f46, #0b936b);
  font-size: 27px;
  font-weight: 900;
  box-shadow: 0 13px 27px rgba(8, 112, 81, 0.22);
}

.erp-executive-copy {
  min-width: 0;
}

.erp-executive-copy h2 {
  margin: 0;
  color: #172a22;
  font-size: 25px;
  letter-spacing: -0.03em;
}

.erp-executive-copy > p:last-of-type {
  margin: 8px 0 0;
  color: #6b7b74;
  font-size: 12px;
}

.erp-executive-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 15px;
}

.erp-executive-meta > span {
  display: inline-flex;
  min-height: 29px;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid #dfe8e4;
  border-radius: 999px;
  color: #62736b;
  background: #ffffff;
  font-size: 9px;
  font-weight: 700;
}

.erp-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #18a66f;
  box-shadow: 0 0 0 4px rgba(24, 166, 111, 0.11);
}

.erp-executive-side {
  display: grid;
  grid-template-columns: repeat(2, minmax(145px, 1fr));
  gap: 11px;
}

.erp-date-card,
.erp-plan-card {
  display: grid;
  min-width: 155px;
  gap: 5px;
  padding: 15px 16px;
  border: 1px solid #dde7e2;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.88);
}

.erp-date-card span,
.erp-plan-card span {
  color: #839089;
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.erp-date-card strong,
.erp-plan-card strong {
  color: #263a31;
  font-size: 12px;
}

.erp-date-card small,
.erp-plan-card small {
  color: #87948e;
  font-size: 9px;
}

@media (max-width: 950px) {
  .erp-executive-header {
    grid-template-columns: 1fr;
  }

  .erp-executive-side {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .erp-executive-main {
    align-items: flex-start;
  }

  .erp-executive-avatar {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
    border-radius: 14px;
    font-size: 21px;
  }

  .erp-executive-copy h2 {
    font-size: 20px;
  }

  .erp-executive-side {
    grid-template-columns: 1fr;
  }
}

/* SELECTA ERP MODULE PLACEHOLDERS */

.erp-module-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 27px;
  border: 1px solid #dfe7e3;
  border-radius: 17px;
  background: #ffffff;
}

.erp-module-page-header h2 {
  margin: 0;
  color: #1e3028;
  font-size: 27px;
}

.erp-module-page-header > div > p:last-child {
  margin: 9px 0 0;
  color: #74827c;
  font-size: 12px;
}

.erp-module-status-badge {
  padding: 8px 12px;
  border-radius: 999px;
  color: #966909;
  background: #fff5d8;
  font-size: 10px;
  font-weight: 800;
}

.erp-empty-module-card {
  display: grid;
  min-height: 390px;
  place-items: center;
  align-content: center;
  gap: 13px;
  margin-top: 18px;
  padding: 40px;
  border: 1px solid #dfe7e3;
  border-radius: 17px;
  background: #ffffff;
  text-align: center;
}

.erp-empty-module-icon {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border-radius: 19px;
  color: #087353;
  background: #e8f5ef;
  font-size: 27px;
  font-weight: 900;
}

.erp-empty-module-card h3 {
  margin: 5px 0 0;
  color: #21342b;
}

.erp-empty-module-card p {
  max-width: 520px;
  margin: 0;
  color: #74827c;
  font-size: 12px;
  line-height: 1.7;
}

.erp-back-dashboard {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  padding: 0 17px;
  border-radius: 10px;
  color: #ffffff;
  background: #087353;
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
}

.erp-module-card {
  color: inherit;
  text-decoration: none;
}

/* SELECTA ERP PRODUCTS MODULE */

.erp-primary-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border: 0;
  border-radius: 10px;
  color: #ffffff;
  background: #087353;
  text-decoration: none;
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
}

.erp-table th,
.erp-table td {
  padding: 14px 12px;
  border-bottom: 1px solid #e8eeeb;
  text-align: left;
  font-size: 11px;
}

.erp-table th {
  color: #6f7d76;
  background: #f8faf9;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.erp-table tbody tr:hover {
  background: #fbfdfc;
}

.erp-product-status {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 850;
}

.erp-product-status.active {
  color: #08714f;
  background: #e9f8f1;
}

.erp-product-status.inactive {
  color: #9a5d14;
  background: #fff3df;
}

.erp-table-action {
  width: 31px;
  height: 31px;
  border: 1px solid #dfe7e3;
  border-radius: 8px;
  color: #62736b;
  background: #ffffff;
  cursor: pointer;
}

/* SELECTA ERP NEW PRODUCT FORM */

.erp-secondary-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border: 1px solid #d9e3df;
  border-radius: 10px;
  color: #5b6d64;
  background: #ffffff;
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
}

.erp-product-form {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.erp-product-form-card {
  padding: 24px;
  border: 1px solid #dfe7e3;
  border-radius: 17px;
  background: #ffffff;
  box-shadow: 0 8px 25px rgba(30, 68, 53, 0.045);
}

.erp-product-form-heading {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 22px;
  padding-bottom: 17px;
  border-bottom: 1px solid #edf1ef;
}

.erp-product-form-number {
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  place-items: center;
  border-radius: 12px;
  color: #087353;
  background: #e8f5ef;
  font-size: 11px;
  font-weight: 900;
}

.erp-product-form-heading h3 {
  margin: 0;
  color: #21342b;
  font-size: 16px;
}

.erp-product-form-heading p {
  margin: 5px 0 0;
  color: #7b8882;
  font-size: 11px;
}

.erp-product-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.erp-product-field {
  display: grid;
  gap: 8px;
}

.erp-product-field-wide {
  grid-column: 1 / -1;
}

.erp-product-field span {
  color: #35483f;
  font-size: 11px;
  font-weight: 800;
}

.erp-product-field input,
.erp-product-field select,
.erp-product-field textarea {
  width: 100%;
  border: 1px solid #d8e1dd;
  border-radius: 11px;
  outline: none;
  color: #25352e;
  background: #fbfcfc;
  font-size: 12px;
  transition: 0.18s ease;
}

.erp-product-field input,
.erp-product-field select {
  height: 49px;
  padding: 0 14px;
}

.erp-product-field textarea {
  padding: 13px 14px;
  resize: vertical;
  font-family: inherit;
}

.erp-product-field input:focus,
.erp-product-field select:focus,
.erp-product-field textarea:focus {
  border-color: #0a8560;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(10, 133, 96, 0.09);
}

.erp-product-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.erp-product-form-alert {
  margin-top: 18px;
}

@media (max-width: 680px) {
  .erp-product-form-grid {
    grid-template-columns: 1fr;
  }

  .erp-product-field-wide {
    grid-column: auto;
  }

  .erp-product-form-actions {
    display: grid;
  }

  .erp-product-form-actions a,
  .erp-product-form-actions button {
    width: 100%;
  }
}

/* SELECTA ERP NEW IMPORT FORM */

.erp-import-form {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.erp-import-form-card {
  padding: 24px;
  border: 1px solid #dfe7e3;
  border-radius: 17px;
  background: #ffffff;
  box-shadow: 0 8px 25px rgba(30, 68, 53, 0.045);
}

.erp-import-form-heading {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 22px;
  padding-bottom: 17px;
  border-bottom: 1px solid #edf1ef;
}

.erp-import-form-number {
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  place-items: center;
  border-radius: 12px;
  color: #087353;
  background: #e8f5ef;
  font-size: 11px;
  font-weight: 900;
}

.erp-import-form-heading h3 {
  margin: 0;
  color: #21342b;
  font-size: 16px;
}

.erp-import-form-heading p {
  margin: 5px 0 0;
  color: #7b8882;
  font-size: 11px;
}

.erp-import-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.erp-import-field {
  display: grid;
  gap: 8px;
}

.erp-import-field-wide {
  grid-column: 1 / -1;
}

.erp-import-field span {
  color: #35483f;
  font-size: 11px;
  font-weight: 800;
}

.erp-import-field input,
.erp-import-field select,
.erp-import-field textarea {
  width: 100%;
  border: 1px solid #d8e1dd;
  border-radius: 11px;
  outline: none;
  color: #25352e;
  background: #fbfcfc;
  font-size: 12px;
  transition: 0.18s ease;
}

.erp-import-field input,
.erp-import-field select {
  height: 49px;
  padding: 0 14px;
}

.erp-import-field textarea {
  padding: 13px 14px;
  resize: vertical;
  font-family: inherit;
}

.erp-import-field input:focus,
.erp-import-field select:focus,
.erp-import-field textarea:focus {
  border-color: #0a8560;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(10, 133, 96, 0.09);
}

.erp-import-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.erp-import-form-alert {
  margin-top: 18px;
}

@media (max-width: 680px) {
  .erp-import-form-grid {
    grid-template-columns: 1fr;
  }

  .erp-import-field-wide {
    grid-column: auto;
  }

  .erp-import-form-actions {
    display: grid;
  }

  .erp-import-form-actions a,
  .erp-import-form-actions button {
    width: 100%;
  }
}

/* SELECTA ERP IMPORT STATUS */

.erp-import-status {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 850;
}

.erp-import-status.draft,
.erp-import-status.ordered,
.erp-import-status.packed {
  color: #875f0a;
  background: #fff4d7;
}

.erp-import-status.on_vessel,
.erp-import-status.at_sea {
  color: #176a8a;
  background: #e7f6fc;
}

.erp-import-status.at_port,
.erp-import-status.customs,
.erp-import-status.released {
  color: #8d5410;
  background: #fff0dc;
}

.erp-import-status.received {
  color: #08714f;
  background: #e8f8f0;
}

.erp-import-status.cancelled {
  color: #a13b32;
  background: #fff0ee;
}

/* SELECTA ERP IMPORT ITEMS */

.erp-import-items-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.erp-import-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.erp-import-summary-card {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid #dfe7e3;
  border-radius: 14px;
  background: #ffffff;
}

.erp-import-summary-card span,
.erp-import-summary-card small {
  color: #7b8882;
  font-size: 10px;
}

.erp-import-summary-card strong {
  color: #20332a;
  font-size: 14px;
}

.erp-import-items-totals {
  display: flex;
  gap: 16px;
  align-items: center;
  color: #6f7c76;
  font-size: 10px;
}

.erp-import-items-totals strong {
  color: #20332a;
}

.erp-table-scroll {
  overflow-x: auto;
}

@media (max-width: 980px) {
  .erp-import-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .erp-import-items-actions {
    display: grid;
    width: 100%;
  }

  .erp-import-items-actions a {
    width: 100%;
  }

  .erp-import-summary-grid {
    grid-template-columns: 1fr;
  }

  .erp-import-items-totals {
    display: grid;
  }
}

.erp-import-code-link {
  color: #087353;
  text-decoration: none;
}

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

.erp-receipt-completed-badge,
.erp-receipt-cancelled-badge {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 850;
}

.erp-receipt-completed-badge {
  color: #08714f;
  background: #e8f8f0;
}

.erp-receipt-cancelled-badge {
  color: #a13b32;
  background: #fff0ee;
}
