/* OneClick login — LipaGo-inspired typography and product styling */
:root {
  --wa-brand: #e21f2d;
  --wa-brand-shade: #b91521;
  --wa-charcoal: #252932;
  --wa-cream: #f6f6f7;
  --wa-body: #747983;
  --wa-input-bg: #fafafa;
  --wa-card: #ffffff;
  --wa-shadow: 0 24px 70px rgba(25, 40, 70, 0.12);
}

html, body { min-height: 100%; }

body.msosi-admin-login {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--wa-body);
  background: var(--wa-cream);
}

.msosi-login-row { min-height: 100vh; }

.msosi-login-hero { padding: 0; background: linear-gradient(145deg, #202329, #3a3e47); }

.msosi-login-hero-inner {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(35, 38, 45, .3), rgba(226, 31, 45, .13));
  position: relative;
  overflow: hidden;
  padding: 0;
}

.msosi-login-hero-img {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  object-fit: cover;
  object-position: center;
}

.msosi-login-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.25rem;
  background: var(--wa-cream);
}

.msosi-login-card-wrap { width: 100%; max-width: 450px; }

.wa-login-brand {
  text-align: center;
  margin-bottom: 1.5rem;
}
.wa-login-logo-frame {
  background: #fff;
  display: inline-block;
  height: 104px;
  overflow: hidden;
  position: relative;
  width: min(100%, 330px);
}
.wa-login-logo-frame img {
  height: auto;
  left: 0;
  position: absolute;
  top: -103px;
  width: 100%;
}

/* V16 — clear full-size OneClick branding */
.oc-login-v2 .oc-login-v2-header > a.oc-login-v2-brand,
.oc-login-v2 .oc-login-v2-header > a {
  align-items: center;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  display: inline-flex;
  padding: 0;
}

.oc-login-v2 .oc-login-v2-header > a img {
  background: transparent;
  display: block;
  height: auto;
  max-height: 64px;
  object-fit: contain;
  width: clamp(220px, 20vw, 300px);
}

.oc-register-v2 .oc-register-v2-logo {
  align-items: center;
  background: transparent !important;
  border-radius: 0;
  box-shadow: none;
  display: inline-flex;
  padding: 0;
}

.oc-register-v2 .oc-register-v2-logo img {
  background: transparent !important;
  display: block;
  height: auto;
  max-height: 52px;
  object-fit: contain;
  width: clamp(160px, 14vw, 210px);
}

.oc-auth-page .oc-auth-brand {
  background: transparent !important;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.oc-auth-page .oc-auth-brand img {
  display: block;
  height: auto;
  max-height: 48px;
  max-width: none;
  object-fit: contain;
  width: 200px;
}

/* V14 — refined corporate authentication screens */
body.oc-auth-page {
  background: #f2f3f5;
  display: flex;
  min-height: 100vh;
  padding: clamp(20px, 4vw, 48px);
}

.oc-auth-page .oc-auth-shell {
  border: 1px solid rgba(30, 35, 45, .08);
  border-radius: 20px;
  box-shadow: 0 28px 80px rgba(23, 28, 37, .14);
  grid-template-columns: minmax(0, 58%) minmax(390px, 42%);
  min-height: min(700px, calc(100vh - 72px));
  overflow: hidden;
}

.oc-auth-page .oc-auth-visual {
  background-position: center;
  min-height: 620px;
}

.oc-auth-page .oc-auth-visual::after {
  background: linear-gradient(180deg, transparent 42%, rgba(7, 9, 13, .82));
  content: "";
  inset: 0;
  position: absolute;
}

.oc-auth-page .oc-auth-visual-copy {
  bottom: 54px;
  left: 54px;
  max-width: 540px;
}

.oc-auth-page .oc-auth-visual-copy h2 {
  font-size: clamp(2.15rem, 3.5vw, 3.5rem);
  letter-spacing: -.05em;
  line-height: 1.02;
}

.oc-auth-page .oc-auth-panel {
  min-width: 0;
  padding: clamp(38px, 4.5vw, 68px);
}

.oc-auth-page .oc-auth-panel::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 800' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M100 0H48C76 103 5 174 43 278C78 373 5 441 42 548C69 628 20 710 56 800H100Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  border-radius: 0;
  height: 100%;
  left: -82px;
  top: 0;
  width: 84px;
}

.oc-auth-page .oc-auth-panel::after {
  display: none;
}

.oc-auth-page .oc-auth-panel-inner {
  max-width: 390px;
}

.oc-auth-page .oc-auth-brand {
  margin-bottom: clamp(32px, 6vh, 58px);
}

.oc-auth-page .oc-auth-brand img {
  height: 34px;
  max-width: 180px;
}

.oc-auth-page .oc-auth-panel h1 {
  font-size: clamp(2.55rem, 4vw, 3.75rem);
  line-height: .95;
  margin-bottom: .85rem;
}

.oc-auth-page .oc-auth-intro {
  line-height: 1.55;
  margin-bottom: 1.65rem;
}

.oc-auth-page .oc-auth-panel .form-control {
  background: #fbfbfc;
  border-color: #d2d6dd;
  border-radius: 8px;
  font-size: .9rem;
  min-height: 48px;
  padding: .7rem .9rem;
}

.oc-auth-page .oc-auth-submit {
  background: #22252a;
  border-radius: 8px;
  font-weight: 700;
  min-height: 49px;
}

.oc-auth-page .oc-auth-register {
  color: #777d87;
}

.oc-auth-page .oc-auth-register a,
.oc-auth-page .oc-auth-links a {
  color: #d51d2a;
}

body.oc-register-page {
  padding: 24px;
}

.oc-register-page .oc-register-shell {
  grid-template-columns: minmax(330px, 38%) minmax(610px, 62%);
  max-width: 1320px;
  min-height: min(820px, calc(100vh - 48px));
}

.oc-register-page .oc-auth-visual-copy {
  left: 42px;
  max-width: 420px;
}

.oc-register-page .oc-auth-visual-copy h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.oc-register-page .oc-auth-panel {
  padding: 30px clamp(38px, 5vw, 72px);
}

.oc-register-page .oc-register-inner {
  max-width: 700px;
}

.oc-register-page .oc-auth-brand {
  margin-bottom: 16px;
}

.oc-register-page .oc-auth-panel h1 {
  font-size: 2.55rem;
  line-height: .95;
}

.oc-register-page .oc-auth-intro {
  margin-bottom: 1rem;
}

.oc-register-page .row.g-3 {
  --bs-gutter-y: .75rem;
}

.oc-register-page .form-label {
  margin-bottom: .3rem;
}

.oc-register-page .oc-auth-panel .form-control {
  min-height: 43px;
  padding-bottom: .55rem;
  padding-top: .55rem;
}

.oc-register-page .text-muted {
  font-size: .72rem;
}

@media (max-width: 991.98px) {
  body.oc-auth-page,
  body.oc-register-page {
    padding: 0;
  }

  .oc-auth-page .oc-auth-shell,
  .oc-register-page .oc-register-shell {
    border: 0;
    border-radius: 0;
    display: block;
    min-height: 100vh;
  }

  .oc-auth-page .oc-auth-panel {
    min-height: 100vh;
    padding: 34px 24px;
  }

  .oc-auth-page .oc-auth-panel-inner,
  .oc-register-page .oc-register-inner {
    margin: auto;
    max-width: 560px;
  }
}

@media (max-width: 575.98px) {
  .oc-register-page .row > [class*="col-md-"] {
    width: 100%;
  }
}

/* V15 — full-canvas login and structured onboarding */
body.msosi-admin-login.oc-login-v2 {
  background: #11151b url("../img/oneclick-digital-transformation-background.png") center / cover fixed no-repeat;
  color: #fff;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  overflow-x: hidden;
  padding: 0;
  position: relative;
}

.oc-login-v2-overlay {
  background:
    linear-gradient(90deg, rgba(10, 13, 18, .94) 0%, rgba(10, 13, 18, .72) 48%, rgba(10, 13, 18, .38) 100%),
    linear-gradient(180deg, rgba(10, 13, 18, .24), rgba(10, 13, 18, .7));
  inset: 0;
  position: fixed;
  z-index: 0;
}

.oc-login-v2-header,
.oc-login-v2-main,
.oc-login-v2-footer {
  position: relative;
  z-index: 1;
}

.oc-login-v2-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 28px clamp(28px, 6vw, 90px);
}

.oc-login-v2-header a.oc-login-v2-brand {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  display: inline-flex;
  padding: 0;
}

.oc-login-v2-header a.oc-login-v2-brand img {
  height: auto;
  max-height: 64px;
  width: clamp(220px, 20vw, 300px);
}

.oc-login-v2-header > span {
  color: rgba(255, 255, 255, .62);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.oc-login-v2-main {
  align-items: center;
  display: grid;
  gap: clamp(40px, 8vw, 130px);
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  margin: auto;
  max-width: 1260px;
  padding: 30px clamp(28px, 6vw, 90px);
  width: 100%;
}

.oc-login-v2-message {
  max-width: 680px;
}

.oc-login-v2-eyebrow {
  align-items: center;
  color: #ff7d86;
  display: flex;
  font-size: .76rem;
  font-weight: 800;
  gap: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.oc-login-v2-eyebrow::before {
  background: #e21f2d;
  content: "";
  height: 2px;
  width: 34px;
}

.oc-login-v2-message h1 {
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: clamp(3rem, 6vw, 5.7rem);
  font-weight: 800;
  letter-spacing: -.065em;
  line-height: .95;
  margin: 1.1rem 0 1.4rem;
}

.oc-login-v2-message > p {
  color: rgba(255, 255, 255, .7);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.7;
  max-width: 560px;
}

.oc-login-v2-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2rem;
}

.oc-login-v2-points span {
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  color: rgba(255, 255, 255, .82);
  font-size: .75rem;
  padding: 8px 13px;
}

.oc-login-v2-card {
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 18px;
  box-shadow: 0 32px 70px rgba(0, 0, 0, .3);
  color: #252932;
  padding: clamp(28px, 4vw, 44px);
}

.oc-login-v2-card-head > span,
.oc-register-v2-card-head > span {
  color: #d71e2b;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.oc-login-v2-card-head h2 {
  color: #202329;
  font-family: "Manrope", sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -.04em;
  margin: .35rem 0 .3rem;
}

.oc-login-v2-card-head p {
  color: #7b818c;
  font-size: .88rem;
  margin-bottom: 1.65rem;
}

.oc-login-v2-card .form-label,
.oc-register-v2-card .form-label {
  color: #343943;
  font-size: .78rem;
  font-weight: 700;
}

.oc-login-v2-card .form-control,
.oc-register-v2-card .form-control {
  background: #f8f9fa;
  border: 1px solid #dfe2e7;
  border-radius: 8px;
  box-shadow: none;
  min-height: 48px;
}

.oc-login-v2-card .form-control:focus,
.oc-register-v2-card .form-control:focus {
  background: #fff;
  border-color: #aeb4be;
  box-shadow: none;
}

.oc-login-v2-forgot {
  color: #d71e2b;
  font-size: .74rem;
  font-weight: 700;
  text-decoration: none;
}

.oc-login-v2-password {
  position: relative;
}

.oc-login-v2-password .form-control {
  padding-right: 64px;
}

.oc-login-v2-password button {
  background: transparent;
  border: 0;
  color: #747b86;
  font-size: .72rem;
  font-weight: 700;
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
}

.oc-login-v2-submit,
.oc-register-v2-submit {
  align-items: center;
  background: #e21f2d;
  border: 1px solid #e21f2d;
  border-radius: 8px;
  color: #fff;
  display: flex;
  font-weight: 700;
  justify-content: space-between;
  margin-top: 1.5rem;
  min-height: 50px;
  padding: .7rem 1rem;
  width: 100%;
}

.oc-login-v2-submit:hover,
.oc-register-v2-submit:hover {
  background: #bd1824;
  border-color: #bd1824;
  color: #fff;
}

.oc-login-v2-create {
  align-items: center;
  border-top: 1px solid #e7e9ed;
  display: flex;
  font-size: .78rem;
  justify-content: space-between;
  margin-top: 1.6rem;
  padding-top: 1.2rem;
}

.oc-login-v2-create span { color: #858b95; }
.oc-login-v2-create a { color: #252932; font-weight: 800; text-decoration: none; }

.oc-login-v2-footer {
  color: rgba(255, 255, 255, .48);
  display: flex;
  font-size: .7rem;
  justify-content: space-between;
  padding: 22px clamp(28px, 6vw, 90px);
}

body.msosi-admin-login.oc-register-v2 {
  background:
    radial-gradient(circle at 0 0, rgba(226, 31, 45, .09), transparent 31rem),
    radial-gradient(circle at 100% 100%, rgba(31, 35, 43, .08), transparent 34rem),
    #f5f6f8;
  color: #252932;
  min-height: 100vh;
  padding: 0;
}

.oc-register-v2-header {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #e7e9ed;
  display: flex;
  justify-content: space-between;
  padding: 16px clamp(22px, 5vw, 74px);
}

.oc-register-v2-header .oc-register-v2-logo img { height: auto; width: clamp(160px, 14vw, 210px); }
.oc-register-v2-header div { align-items: center; display: flex; font-size: .78rem; gap: 12px; }
.oc-register-v2-header div span { color: #8a909a; }
.oc-register-v2-header div a { border: 1px solid #d8dbe1; border-radius: 7px; color: #252932; font-weight: 700; padding: 7px 14px; text-decoration: none; }

.oc-register-v2-main {
  display: grid;
  gap: clamp(28px, 5vw, 70px);
  grid-template-columns: minmax(260px, .72fr) minmax(620px, 1.4fr);
  margin: auto;
  max-width: 1280px;
  padding: clamp(34px, 5vw, 68px) clamp(22px, 4vw, 54px);
}

.oc-register-v2-intro {
  padding-top: 26px;
}

.oc-register-v2-intro > span {
  color: #d71e2b;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.oc-register-v2-intro h1 {
  color: #22252b;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1;
  margin: .8rem 0 1.2rem;
}

.oc-register-v2-intro > p {
  color: #777e89;
  line-height: 1.7;
  max-width: 430px;
}

.oc-register-v2-steps {
  display: grid;
  gap: 18px;
  margin-top: 2.5rem;
}

.oc-register-v2-steps > div {
  align-items: center;
  display: flex;
  gap: 12px;
}

.oc-register-v2-steps b {
  align-items: center;
  background: #fff;
  border: 1px solid #dfe2e7;
  border-radius: 50%;
  color: #d71e2b;
  display: flex;
  font-size: .75rem;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.oc-register-v2-steps span { display: grid; }
.oc-register-v2-steps strong { font-size: .82rem; }
.oc-register-v2-steps small { color: #9297a0; font-size: .7rem; }

.oc-register-v2-card {
  background: #fff;
  border: 1px solid #e3e5e9;
  border-radius: 16px;
  box-shadow: 0 20px 55px rgba(28, 34, 45, .08);
  padding: clamp(26px, 4vw, 46px);
}

.oc-register-v2-card-head {
  border-bottom: 1px solid #e9ebee;
  margin-bottom: 1.1rem;
  padding-bottom: 1rem;
}

.oc-register-v2-card-head h2 {
  font-family: "Manrope", sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  margin: .25rem 0 0;
}

.oc-register-v2-section {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-top: .35rem;
}

.oc-register-v2-section > span {
  color: #d71e2b;
  font-size: .7rem;
  font-weight: 800;
}

.oc-register-v2-section > div { display: grid; }
.oc-register-v2-section strong { font-size: .86rem; }
.oc-register-v2-section small { color: #9297a0; font-size: .68rem; }

.oc-register-v2-card .row.g-3 { --bs-gutter-y: .8rem; }
.oc-register-v2-card .form-control { min-height: 44px; }
.oc-register-v2-card .text-muted { font-size: .69rem; }
.oc-register-v2-terms { color: #999ea7; font-size: .68rem; margin: .7rem 0 0; text-align: center; }
.oc-register-v2-footer { color: #9297a0; font-size: .7rem; padding: 0 20px 24px; text-align: center; }

.oc-register-wizard-pane {
  display: none;
  min-height: 315px;
}

.oc-register-wizard-pane.is-active {
  animation: ocWizardIn .22s ease;
  display: block;
}

@keyframes ocWizardIn {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

.oc-register-wizard-actions {
  align-items: center;
  border-top: 1px solid #e9ebee;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 18px;
  padding-top: 16px;
}

.oc-register-wizard-actions .oc-register-v2-submit {
  margin: 0;
  max-width: 250px;
}

.oc-register-back,
.oc-register-next {
  border-radius: 8px;
  font-size: .8rem;
  font-weight: 700;
  min-height: 43px;
  padding: .6rem 1rem;
}

.oc-register-back {
  background: #f1f2f4;
  color: #454b55;
}

.oc-register-next {
  background: #252932;
  color: #fff;
  min-width: 145px;
}

.oc-register-next:hover {
  background: #3c414b;
  color: #fff;
}

.oc-register-verification-note {
  align-items: center;
  background: #fff5f6;
  border: 1px solid #f3d9dc;
  border-radius: 10px;
  display: flex;
  gap: 12px;
  margin-top: 8px;
  padding: 13px 14px;
}

.oc-register-verification-note > b {
  align-items: center;
  background: #e21f2d;
  border-radius: 50%;
  color: #fff;
  display: flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.oc-register-verification-note > span {
  display: grid;
}

.oc-register-verification-note strong {
  font-size: .78rem;
}

.oc-register-verification-note small {
  color: #888f9a;
  font-size: .68rem;
}

.oc-register-v2-steps > div {
  opacity: .48;
  position: relative;
}

.oc-register-v2-steps > div.is-active,
.oc-register-v2-steps > div.is-complete {
  opacity: 1;
}

.oc-register-v2-steps > div.is-active b {
  background: #e21f2d;
  border-color: #e21f2d;
  color: #fff;
  box-shadow: 0 5px 14px rgba(226, 31, 45, .2);
}

.oc-register-v2-steps > div.is-complete b {
  background: #252932;
  border-color: #252932;
  color: #fff;
}

.oc-register-v2 .oc-register-v2-main {
  padding-bottom: 24px;
  padding-top: 24px;
}

.oc-register-v2 .oc-register-v2-card {
  padding: 28px 34px;
}

.oc-register-v2 .oc-register-v2-intro {
  padding-top: 14px;
}

/* Keep recovery actions on-brand in every interaction state. */
.oc-recovery-page .msosi-btn-primary,
.oc-recovery-page .msosi-btn-primary:hover,
.oc-recovery-page .msosi-btn-primary:focus,
.oc-recovery-page .msosi-btn-primary:focus-visible,
.oc-recovery-page .msosi-btn-primary:active,
.oc-recovery-page .msosi-btn-primary.active,
.oc-recovery-page .msosi-btn-primary:disabled {
  --bs-btn-active-bg: #bd1824;
  --bs-btn-active-border-color: #bd1824;
  --bs-btn-focus-shadow-rgb: 226, 31, 45;
  background-color: #e21f2d !important;
  border-color: #e21f2d !important;
  box-shadow: none !important;
  color: #fff !important;
  opacity: 1 !important;
  -webkit-tap-highlight-color: transparent;
}

.oc-recovery-page .msosi-btn-primary span,
.oc-recovery-page .msosi-btn-primary b {
  color: #fff !important;
  opacity: 1 !important;
  visibility: visible !important;
}

@media (max-width: 575.98px) {
  .oc-register-v2 .oc-register-v2-card {
    padding: 22px 18px;
  }

  .oc-register-wizard-pane {
    min-height: 0;
  }
}

.oc-register-v2-success { padding: 5rem 1rem; text-align: center; }
.oc-register-v2-success > span { align-items:center;background:#e21f2d;border-radius:50%;color:#fff;display:inline-flex;font-size:1.5rem;height:56px;justify-content:center;margin-bottom:1.25rem;width:56px; }
.oc-register-v2-success h2 { font-family:"Manrope",sans-serif;font-weight:800; }
.oc-register-v2-success p { color:#777e89;margin:1rem auto 2rem;max-width:480px; }
.oc-register-v2-success .oc-register-v2-submit { display:inline-flex;max-width:280px;justify-content:center;text-decoration:none; }

@media (max-width: 991.98px) {
  .oc-login-v2-header > span,
  .oc-login-v2-message,
  .oc-login-v2-footer span:last-child {
    display: none;
  }
  .oc-login-v2-main {
    display: flex;
    justify-content: center;
  }
  .oc-login-v2-card { max-width: 430px; width: 100%; }
  .oc-register-v2-main { display: block; max-width: 760px; }
  .oc-register-v2-intro { padding: 0 0 28px; }
  .oc-register-v2-steps { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 575.98px) {
  .oc-login-v2-header { padding: 20px; }
  .oc-login-v2-main { padding: 18px; }
  .oc-login-v2-card { padding: 26px 22px; }
  .oc-login-v2-footer { justify-content: center; padding: 18px; }
  .oc-register-v2-header div span { display: none; }
  .oc-register-v2-main { padding: 24px 14px; }
  .oc-register-v2-card { padding: 24px 18px; }
  .oc-register-v2-steps { display: none; }
}
.wa-login-brand p { color: var(--wa-body); font-size: .76rem; font-weight: 700; letter-spacing: .08em; margin: .2rem 0 0; text-transform: uppercase; }

.msosi-login-main {
  padding: clamp(28px, 4vw, 42px);
  border-radius: 20px;
  box-shadow: var(--wa-shadow), 0 0 0 1px rgba(226, 231, 240, 0.9);
  background: var(--wa-card);
}

.msosi-login-main .theme-heading {
  color: var(--wa-charcoal);
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
}

.msosi-login-main .theme-sub { font-size: 0.9375rem; color: var(--wa-body); margin-bottom: 1.5rem; }

.msosi-login-main .form-control {
  border-radius: 10px;
  border: 1px solid #dbe2ec;
  padding: 0.72rem 1rem;
  background: var(--wa-input-bg);
}

.msosi-login-main .form-control:focus {
  border-color: rgba(226, 31, 45, 0.6);
  box-shadow: 0 0 0 3px rgba(226, 31, 45, 0.13);
}

/* Corporate authentication — split digital-transformation layout */
.oc-auth-page {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: clamp(18px, 4vw, 54px);
}

.oc-auth-shell {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(26, 31, 40, .16);
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(380px, .95fr);
  min-height: min(760px, calc(100vh - 72px));
  max-width: 1360px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.oc-auth-visual {
  background:
    linear-gradient(180deg, rgba(14, 17, 22, .04), rgba(14, 17, 22, .72)),
    url("../img/oneclick-digital-transformation-background.png") center / cover no-repeat;
  min-height: 640px;
  position: relative;
}

.oc-auth-visual-copy {
  bottom: clamp(42px, 7vw, 90px);
  color: #fff;
  left: clamp(34px, 6vw, 90px);
  max-width: 610px;
  position: absolute;
  z-index: 2;
}

.oc-auth-visual-copy span {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.oc-auth-visual-copy h2 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(2rem, 3.7vw, 3.65rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.04;
  margin: .75rem 0 1rem;
}

.oc-auth-visual-copy p {
  color: rgba(255, 255, 255, .82);
  font-size: 1rem;
  margin: 0;
  max-width: 500px;
}

.oc-auth-panel {
  align-items: center;
  background: #fff;
  display: flex;
  justify-content: center;
  padding: clamp(34px, 5vw, 78px);
  position: relative;
  z-index: 2;
}

.oc-auth-panel::before {
  background: #fff;
  border-radius: 55% 0 0 45%;
  content: "";
  height: 58%;
  left: -62px;
  position: absolute;
  top: -4%;
  width: 90px;
  z-index: -1;
}

.oc-auth-panel::after {
  background: #fff;
  border-radius: 52% 0 0 48%;
  bottom: -4%;
  content: "";
  height: 56%;
  left: -62px;
  position: absolute;
  width: 90px;
  z-index: -1;
}

.oc-auth-panel-inner {
  max-width: 430px;
  width: 100%;
}

.oc-auth-brand {
  display: inline-flex;
  margin-bottom: clamp(30px, 6vh, 70px);
}

.oc-auth-brand img {
  height: 38px;
  object-fit: contain;
  width: auto;
}

.oc-auth-panel h1 {
  color: #1f2229;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: .9;
  margin: 0 0 1rem;
}

.oc-auth-intro {
  color: #777d87;
  margin-bottom: 1.8rem;
}

.oc-auth-panel .form-label {
  color: #252932;
  font-size: .82rem;
  font-weight: 700;
}

.oc-auth-panel .form-control {
  background: #fff;
  border: 1px solid #bfc5ce;
  border-radius: 7px;
  min-height: 49px;
}

.oc-auth-panel .form-control:focus {
  border-color: #6d737c;
  box-shadow: none;
}

.oc-auth-password {
  position: relative;
}

.oc-auth-password .form-control {
  padding-right: 68px;
}

.oc-auth-password button {
  background: none;
  border: 0;
  color: #626873;
  font-size: .75rem;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.oc-auth-links {
  display: flex;
  font-size: .78rem;
  justify-content: space-between;
  margin: .8rem 0 2rem;
}

.oc-auth-links a,
.oc-auth-register a {
  color: #252932;
  font-weight: 700;
  text-decoration: none;
}

.oc-auth-submit {
  background: #202226;
  border: 1px solid #202226;
  border-radius: 7px;
  color: #fff;
  min-height: 50px;
  width: 100%;
}

.oc-auth-submit:hover,
.oc-auth-submit:focus {
  background: #e21f2d;
  border-color: #e21f2d;
  color: #fff;
}

.oc-auth-register {
  font-size: .82rem;
  margin: 1.3rem 0 0;
  text-align: center;
}

.oc-auth-footer {
  color: #9a9fa8;
  display: block;
  margin-top: 2rem;
  text-align: center;
}

@media (max-width: 991.98px) {
  .oc-auth-page { padding: 0; }
  .oc-auth-shell {
    border-radius: 0;
    display: block;
    min-height: 100vh;
  }
  .oc-auth-visual { display: none; }
  .oc-auth-panel {
    min-height: 100vh;
    padding: 32px 22px;
  }
  .oc-auth-panel::before,
  .oc-auth-panel::after { display: none; }
}

.msosi-btn-primary {
  --bs-btn-bg: var(--wa-brand);
  --bs-btn-border-color: var(--wa-brand);
  --bs-btn-hover-bg: var(--wa-brand-shade);
  --bs-btn-hover-border-color: var(--wa-brand-shade);
  width: 100%;
  padding: 0.75rem;
  font-weight: 600;
  border-radius: 10px;
}

.msosi-alert {
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(246, 83, 83, 0.35);
  background: rgba(246, 83, 83, 0.08);
  color: #b91c1c;
}

.msosi-alert.oc-alert-autohide {
  max-height: 120px;
  opacity: 1;
  overflow: hidden;
  transition: opacity .3s ease, max-height .3s ease, margin .3s ease, padding .3s ease, border-width .3s ease;
}

.msosi-alert.oc-alert-autohide.is-hiding {
  border-width: 0;
  margin-bottom: 0;
  max-height: 0;
  opacity: 0;
  padding-bottom: 0;
  padding-top: 0;
}

.msosi-default-creds {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #9ca3af;
  padding: 0.75rem;
  background: #f9fafb;
  border-radius: 8px;
}

/* V6 — distinctive OneClick product-login experience */
body.msosi-admin-login {
  background:
    radial-gradient(circle at 88% 8%, rgba(226, 31, 45, .08), transparent 24rem),
    #f7f7f8;
}

.msosi-login-hero {
  background: #20232a;
}

.msosi-login-hero-inner {
  align-items: stretch;
  background:
    linear-gradient(145deg, rgba(20, 22, 27, .96), rgba(47, 48, 55, .95)),
    radial-gradient(circle at 80% 20%, rgba(226, 31, 45, .6), transparent 45%);
  justify-content: flex-start;
  padding: clamp(48px, 6vw, 86px);
}

.msosi-login-hero-inner::before {
  background-image: radial-gradient(rgba(255,255,255,.13) 1px, transparent 1px);
  background-size: 22px 22px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(135deg, #000, transparent 65%);
  opacity: .25;
  position: absolute;
}

.msosi-login-hero-inner::after {
  background: var(--wa-brand);
  content: "";
  height: 7px;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.oc-login-orb {
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  pointer-events: none;
  position: absolute;
}

.oc-login-orb--one {
  height: 430px;
  right: -160px;
  top: -150px;
  width: 430px;
}

.oc-login-orb--two {
  bottom: -220px;
  height: 580px;
  left: -230px;
  width: 580px;
}

.oc-login-hero-content {
  color: #fff;
  margin: auto;
  max-width: 760px;
  position: relative;
  width: 100%;
  z-index: 2;
}

.oc-login-kicker {
  align-items: center;
  color: #d3d5da;
  display: flex;
  font-size: .74rem;
  font-weight: 800;
  gap: 10px;
  letter-spacing: .15em;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.oc-login-kicker span {
  background: var(--wa-brand);
  border-radius: 999px;
  box-shadow: 0 0 0 5px rgba(226,31,45,.16);
  height: 8px;
  width: 8px;
}

.oc-login-hero-content h2 {
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.2rem, 3.7vw, 4.35rem);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1.02;
  margin: 0;
}

.oc-login-hero-content h2 em {
  color: #ff4450;
  font-style: normal;
}

.oc-login-hero-content > p {
  color: #b8bbc3;
  font-size: clamp(.95rem, 1.25vw, 1.1rem);
  line-height: 1.7;
  margin: 25px 0 30px;
  max-width: 620px;
}

.oc-product-scene {
  height: 335px;
  margin: 10px auto 27px;
  max-width: 620px;
  position: relative;
}

.oc-phone {
  background: #f2f1f2;
  border: 7px solid #111318;
  border-radius: 25px;
  box-shadow: 0 35px 70px rgba(0,0,0,.34);
  height: 330px;
  left: 50%;
  overflow: hidden;
  position: absolute;
  top: 0;
  transform: translateX(-50%) rotate(-1.5deg);
  width: 270px;
}

.oc-phone-head {
  align-items: center;
  background: #2b2d33;
  color: #fff;
  display: flex;
  gap: 9px;
  min-height: 57px;
  padding: 10px 12px;
}

.oc-phone-head > span:nth-child(2) {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.oc-phone-head strong { font-size: 11px; }
.oc-phone-head small { color: #aeb1b8; font-size: 8px; }
.oc-phone-head i { font-size: 10px; font-style: normal; letter-spacing: 1px; }

.oc-phone-avatar {
  align-items: center;
  background: var(--wa-brand);
  border-radius: 50%;
  display: flex;
  font-size: 9px;
  font-weight: 800;
  height: 31px;
  justify-content: center;
  width: 31px;
}

.oc-phone-body {
  background:
    radial-gradient(circle at 20% 30%, rgba(226,31,45,.05), transparent 90px),
    #eeecec;
  height: 224px;
  padding: 10px 11px;
}

.oc-chat-time {
  color: #8a8d94;
  font-size: 6px;
  font-weight: 800;
  margin: 0 auto 7px;
  text-align: center;
}

.oc-chat-bubble {
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(25,25,30,.07);
  color: #373941;
  font-size: 9px;
  line-height: 1.42;
  margin-bottom: 6px;
  max-width: 84%;
  padding: 7px 8px 4px;
}

.oc-chat-bubble small {
  color: #92949a;
  display: block;
  font-size: 6px;
  margin-top: 3px;
  text-align: right;
}

.oc-chat-bubble.is-in { background: #fff; }
.oc-chat-bubble.is-out { background: #ffd8db; margin-left: auto; }

.oc-chat-options {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 7px;
  width: 84%;
}

.oc-chat-options span {
  background: #fff;
  border-radius: 6px;
  color: #d31b28;
  font-size: 7px;
  font-weight: 700;
  padding: 5px;
  text-align: center;
}

.oc-phone-compose {
  align-items: center;
  background: #fff;
  color: #9a9ca2;
  display: flex;
  font-size: 8px;
  height: 36px;
  justify-content: space-between;
  padding: 7px 10px;
}

.oc-phone-compose b {
  align-items: center;
  background: var(--wa-brand);
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 8px;
  height: 23px;
  justify-content: center;
  width: 23px;
}

.oc-float-card {
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 13px;
  box-shadow: 0 18px 45px rgba(0,0,0,.24);
  color: #262830;
  display: flex;
  gap: 10px;
  padding: 11px 14px;
  position: absolute;
}

.oc-float-card > span:last-child { display: flex; flex-direction: column; }
.oc-float-card strong { font-family: "Manrope", sans-serif; font-size: 12px; }
.oc-float-card small { color: #858891; font-size: 8px; }

.oc-float-card--delivery { left: 1%; top: 62px; transform: rotate(-2deg); }
.oc-float-card--automation { bottom: 42px; right: 0; transform: rotate(2deg); }

.oc-float-icon {
  align-items: center;
  background: #ffe7e9;
  border-radius: 9px;
  color: var(--wa-brand);
  display: flex;
  font-weight: 900;
  height: 31px;
  justify-content: center;
  width: 31px;
}

.oc-pulse {
  background: #e21f2d;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(226,31,45,.12);
  height: 9px;
  margin: 0 8px;
  width: 9px;
}

.oc-login-proof {
  border-top: 1px solid rgba(255,255,255,.1);
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  padding-top: 23px;
}

.oc-login-proof div { display: flex; flex-direction: column; }
.oc-login-proof strong { color: #fff; font-size: .8rem; }
.oc-login-proof span { color: #888c96; font-size: .7rem; margin-top: 2px; }

.msosi-login-side {
  background:
    linear-gradient(rgba(255,255,255,.68), rgba(255,255,255,.68)),
    radial-gradient(circle at 100% 0, #ffdadd, transparent 35rem),
    #f7f7f8;
  padding: 2.5rem clamp(1.25rem, 4vw, 4.5rem);
  position: relative;
}

.msosi-login-card-wrap {
  max-width: 470px;
}

.wa-login-brand {
  margin-bottom: 1.25rem;
}

.wa-login-logo-frame {
  height: 91px;
  max-width: 340px;
}

.wa-login-logo-frame img {
  top: -91px;
}

.msosi-login-main {
  border: 1px solid rgba(224,225,228,.9);
  border-radius: 24px;
  box-shadow: 0 26px 70px rgba(36,38,45,.11);
  padding: clamp(30px, 4vw, 46px);
}

.oc-welcome-label {
  color: var(--wa-brand);
  display: block;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.msosi-login-main .theme-heading {
  font-size: clamp(1.5rem, 2vw, 1.85rem);
  letter-spacing: -.035em;
}

.msosi-login-main .theme-sub {
  line-height: 1.6;
  margin-bottom: 1.7rem;
}

.msosi-login-main .col-form-label {
  color: #3b3e46;
  font-size: .82rem;
  font-weight: 700;
  padding-bottom: .42rem;
}

.oc-input-wrap { position: relative; }

.oc-input-wrap .form-control {
  background: #f9f9fa;
  border-color: #e1e2e5;
  min-height: 50px;
  padding-left: 42px;
}

.oc-input-wrap .form-control::placeholder { color: #b0b2b8; }

.oc-input-icon {
  color: #c4c6cb;
  font-size: 8px;
  left: 17px;
  position: absolute;
  top: 18px;
  z-index: 2;
}

.oc-input-icon--lock {
  font-size: 9px;
  transform: rotate(45deg);
}

.oc-password-toggle {
  background: transparent;
  border: 0;
  color: #777a82;
  font-size: .73rem;
  font-weight: 700;
  padding: 8px;
  position: absolute;
  right: 9px;
  top: 8px;
}

.oc-input-wrap:has(.oc-password-toggle) .form-control { padding-right: 58px; }

.msosi-btn-primary {
  align-items: center;
  box-shadow: 0 12px 24px rgba(226,31,45,.22);
  display: flex;
  justify-content: space-between;
  min-height: 52px;
  padding-left: 20px;
  padding-right: 17px;
  transition: transform .18s ease, box-shadow .18s ease;
}

.msosi-btn-primary:hover {
  box-shadow: 0 15px 30px rgba(226,31,45,.3);
  transform: translateY(-1px);
}

.msosi-btn-primary b {
  font-size: 1.1rem;
  font-weight: 500;
}

.oc-login-footer {
  color: #9799a0;
  font-size: .72rem;
  margin: 18px 0 0;
  text-align: center;
}

@media (max-height: 820px) and (min-width: 992px) {
  .msosi-login-hero-inner { padding-bottom: 34px; padding-top: 42px; }
  .oc-login-hero-content h2 { font-size: 2.65rem; }
  .oc-login-hero-content > p { margin: 16px 0; }
  .oc-product-scene { height: 270px; transform: scale(.8); transform-origin: top center; }
  .oc-login-proof { margin-top: -55px; }
}

@media (max-width: 575.98px) {
  .msosi-login-side { padding: 24px 14px; }
  .msosi-login-main { border-radius: 18px; padding: 28px 22px; }
  .wa-login-logo-frame { height: 78px; width: 250px; }
  .wa-login-logo-frame img { top: -78px; }
}

.oc-register-shell {
  grid-template-columns: minmax(360px, .85fr) minmax(600px, 1.35fr);
  max-width: 1480px;
}

.oc-register-shell .oc-auth-panel {
  align-items: flex-start;
  overflow-y: auto;
}

.oc-register-inner {
  max-width: 720px;
}

.oc-register-inner .oc-auth-brand {
  margin-bottom: 1.5rem;
}

.oc-register-inner h1 {
  font-size: clamp(2.25rem, 3vw, 3.4rem);
}

.oc-register-inner hr {
  border-color: #e7e9ed;
  margin: .35rem 0;
}

.oc-register-inner h6 {
  color: #252932;
  font-weight: 800;
}

.oc-confirmation-sent {
  padding: 3rem 0;
  text-align: center;
}

.oc-confirmation-sent > span {
  align-items: center;
  background: #e21f2d;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 1.6rem;
  height: 58px;
  justify-content: center;
  margin-bottom: 1.5rem;
  width: 58px;
}

.oc-confirmation-sent h1 {
  line-height: 1;
}

.oc-confirmation-sent p {
  margin: 1.25rem auto 2rem;
  max-width: 480px;
}

@media (max-width: 991.98px) {
  .oc-register-shell { display: block; }
  .oc-register-shell .oc-auth-panel { overflow: visible; }
}

.wa-login-logo-frame {
  background: transparent !important;
  border-radius: 12px;
  height: auto;
  line-height: 0;
  max-width: 290px;
  overflow: hidden;
  width: 100%;
  filter:
    brightness(.76)
    contrast(1.12)
    drop-shadow(0 5px 9px rgba(37, 39, 46, .16));
}

.oc-forgot-row {
  font-size: .78rem;
  margin: 16px 0 0;
  text-align: center;
}

.oc-forgot-row a,
.oc-back-link,
.oc-link-button {
  color: #bd1824;
  font-weight: 700;
  text-decoration: none;
}

.oc-forgot-row a:hover,
.oc-back-link:hover,
.oc-link-button:hover {
  color: #92121b;
  text-decoration: underline;
}

.oc-recovery-page {
  min-height: 100vh;
}

.oc-recovery-shell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  max-width: 560px;
  min-height: 100vh;
  padding: 22px 18px;
  width: 100%;
}

.oc-recovery-brand {
  margin-bottom: 12px;
  text-align: center;
}

.oc-recovery-brand .wa-login-logo-frame {
  max-width: 225px;
}

.oc-recovery-brand > p {
  color: #747983;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  margin: 3px 0 0;
  text-transform: uppercase;
}

.oc-recovery-card {
  padding: clamp(26px, 4vw, 36px);
}

.oc-recovery-card .theme-heading {
  font-size: clamp(1.55rem, 4vw, 2rem);
}

.oc-recovery-card .form-control {
  background: #f9f9fa;
  border-color: #dedfe3;
  min-height: 50px;
}

.oc-channel-picker {
  border: 0;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  padding: 0;
}

.oc-channel-picker legend {
  color: #3b3e46;
  font-size: .82rem;
  font-weight: 700;
  grid-column: 1 / -1;
  margin-bottom: 8px;
}

.oc-channel-picker label {
  cursor: pointer;
  display: block;
  position: relative;
}

.oc-channel-picker input {
  opacity: 0;
  position: absolute;
}

.oc-channel-picker label > span {
  background: #fafafa;
  border: 1px solid #dedfe3;
  border-radius: 11px;
  display: flex;
  flex-direction: column;
  padding: 13px 14px;
  transition: .16s ease;
  width: 100%;
}

.oc-channel-picker label b {
  color: #343740;
  font-size: .82rem;
}

.oc-channel-picker label small {
  color: #8e9198;
  font-size: .68rem;
  margin-top: 2px;
}

.oc-channel-picker input:checked + span {
  background: #fff2f3;
  border-color: #e21f2d;
  box-shadow: 0 0 0 3px rgba(226, 31, 45, .08);
}

.oc-code-input {
  font-family: "Manrope", sans-serif !important;
  font-size: 1.45rem !important;
  font-weight: 800;
  letter-spacing: .42em;
  text-align: center;
}

.oc-recovery-notice {
  background: #f1f1f3;
  border-radius: 10px;
  color: #555962;
  font-size: .78rem;
  margin-bottom: 18px;
  padding: 11px 13px;
}

.oc-recovery-success {
  align-items: center;
  background: #fff0f1;
  border-radius: 50%;
  color: #e21f2d;
  display: flex;
  font-size: 1.7rem;
  font-weight: 800;
  height: 58px;
  justify-content: center;
  margin-bottom: 20px;
  width: 58px;
}

.oc-link-button {
  background: transparent;
  border: 0;
  font-size: .76rem;
}

.oc-recovery-shell > .oc-login-footer {
  margin-top: 10px;
}

@media (max-height: 760px) and (min-width: 576px) {
  .oc-recovery-shell {
    padding-bottom: 8px;
    padding-top: 8px;
  }

  .oc-recovery-brand {
    margin-bottom: 5px;
  }

  .oc-recovery-brand .wa-login-logo-frame {
    max-width: 175px;
  }

  .oc-recovery-brand > p {
    font-size: .61rem;
  }

  .oc-recovery-card {
    padding: 20px 28px;
  }

  .oc-recovery-card .theme-heading {
    font-size: 1.4rem;
    margin-bottom: 4px !important;
  }

  .oc-recovery-card .theme-sub {
    line-height: 1.4;
    margin-bottom: 11px;
  }

  .oc-recovery-card .mb-3 {
    margin-bottom: 9px !important;
  }

  .oc-recovery-card .mb-4 {
    margin-bottom: 11px !important;
  }

  .oc-channel-picker label > span {
    padding: 9px 13px;
  }

  .oc-recovery-shell > .oc-login-footer {
    margin-top: 4px;
  }
}

@media (max-width: 575.98px) {
  .oc-recovery-shell {
    padding: 16px 14px;
  }

  .oc-channel-picker {
    gap: 8px;
    grid-template-columns: 1fr 1fr;
  }

  .oc-channel-picker label > span {
    padding: 10px;
  }
}

.wa-login-logo-frame img {
  display: block;
  height: auto;
  left: auto;
  object-fit: contain;
  position: static;
  top: auto;
  width: 100%;
}
