/* Compiled from design/auth/reference.scss with libsass 0.23.0. */
@charset "UTF-8";
/* ==========================================================================
   Login & Register — page layout only.
   Colours, inputs, buttons and cards come from hps_global.scss.
   ========================================================================== */
.o_shares_portal.o_hps_auth_page {
  background: var(--hps-bg);
  box-shadow: none;
  color: var(--hps-ink);
  font-family: var(--hps-font);
}

.o_shares_portal .hps-auth {
  max-width: 1440px;
  margin: 0 auto;
  color: var(--hps-ink);
  font: 1rem/1.65 var(--hps-font);
  /* Headings focused programmatically on step change */
  /* ---------- Header ---------- */
  /* Company logo from Odoo: any aspect ratio, bounded by the header */
  /* ---------- Two-column layout ---------- */
  /* ---------- Steps (register) ---------- */
  /* ---------- Main content ---------- */
  /* ---------- Fields ---------- */
  /* ---------- Actions ---------- */
  /* ---------- Wizard (only once JS takes over) ---------- */
  /* ---------- Review ---------- */
  /* ---------- Footer ---------- */
}

.o_shares_portal .hps-auth h1, .o_shares_portal .hps-auth h2, .o_shares_portal .hps-auth h3, .o_shares_portal .hps-auth p {
  margin: 0;
}

.o_shares_portal .hps-auth [hidden] {
  display: none !important;
}

.o_shares_portal .hps-auth [tabindex="-1"]:focus {
  outline: none;
}

.o_shares_portal .hps-auth .auth-header {
  height: 106px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 40px;
  border-bottom: 1px solid #17384b;
}

.o_shares_portal .hps-auth .auth-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.o_shares_portal .hps-auth .auth-brand-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 182px;
  max-height: 78px;
  object-fit: contain;
}

.o_shares_portal .hps-auth .auth-brand-tag {
  padding-inline-start: 17px;
  border-inline-start: 1px solid #2098af;
  color: #31c9df;
  font: 500 0.69rem/1.5 var(--hps-font-latin);
  letter-spacing: 0.12em;
}

.o_shares_portal .hps-auth .auth-sky-tagline {
  padding-inline-start: 22px;
  border-inline-start: 1px solid var(--hps-border);
  color: #b7c7da;
  font: 0.68rem/1.55 var(--hps-font-latin);
  letter-spacing: 0.11em;
}

.o_shares_portal .hps-auth .auth-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  min-height: 680px;
}

.o_shares_portal .hps-auth .auth-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-inline-end: 1px solid #19394c;
  background: var(--hps-bg-elevated);
  isolation: isolate;
}

.o_shares_portal .hps-auth .auth-photo {
  position: relative;
  flex: 1;
  min-height: 286px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--hps-bg-elevated);
}

.o_shares_portal .hps-auth .auth-photo img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 18px #00101b);
}

.o_shares_portal .hps-auth .auth-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, var(--hps-bg-elevated) 0%, transparent 24%, transparent 78%, var(--hps-bg-elevated) 100%);
}

.o_shares_portal .hps-auth .auth-aside-copy {
  position: relative;
  z-index: 1;
  margin: 5px 27px 28px;
}

.o_shares_portal .hps-auth .auth-aside-copy .auth-aside-eyebrow {
  margin-bottom: 12px;
  color: #29ccdf;
  font: 0.65rem var(--hps-font-latin);
  letter-spacing: 0.17em;
}

.o_shares_portal .hps-auth .auth-aside-copy h2 {
  color: #e0edf7;
  font-size: 1.42rem;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

.o_shares_portal .hps-auth .auth-aside-copy p {
  max-width: 240px;
  margin-top: 9px;
  color: #9fb6ca;
  font-size: 0.76rem;
  line-height: 1.8;
}

.o_shares_portal .hps-auth .auth-steps {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 41px 26px 28px;
  list-style: none;
}

.o_shares_portal .hps-auth .auth-steps li {
  position: relative;
  min-height: 88px;
}

.o_shares_portal .hps-auth .auth-steps li:last-child {
  min-height: 49px;
}

.o_shares_portal .hps-auth .auth-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 42px;
  bottom: 5px;
  inset-inline-start: 18px;
  width: 1px;
  background: #325063;
}

.o_shares_portal .hps-auth .auth-steps li.complete::after {
  background: #03bcd6;
}

.o_shares_portal .hps-auth .auth-step {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 0;
  border: 0;
  background: none;
  color: #a3b6cc;
  text-align: start;
}

.o_shares_portal .hps-auth .auth-step:disabled {
  cursor: default;
}

.o_shares_portal .hps-auth .auth-step-text {
  padding-top: 7px;
}

.o_shares_portal .hps-auth .auth-step-text strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
}

.o_shares_portal .hps-auth .step-bubble {
  flex: none;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #243e53;
  color: #c6d9e8;
  font: 500 0.95rem var(--hps-font-latin);
  transition: background 0.2s;
}

.o_shares_portal .hps-auth .step-bubble .hps-icon {
  width: 20px;
  height: 20px;
}

.o_shares_portal .hps-auth .auth-steps .current .step-bubble {
  background: var(--hps-accent-strong);
  color: #002030;
  box-shadow: 0 0 25px rgba(0, 182, 221, 0.3);
}

.o_shares_portal .hps-auth .auth-steps .current .auth-step {
  color: var(--hps-accent-text);
}

.o_shares_portal .hps-auth .auth-steps .complete .step-bubble {
  border: 1px solid #197686;
  background: #073e4d;
  color: var(--hps-success);
}

.o_shares_portal .hps-auth .auth-mobile-progress {
  display: none;
}

.o_shares_portal .hps-auth .auth-content {
  min-width: 0;
  padding: 37px 43px 28px;
  background: radial-gradient(ellipse at 94% 0%, rgba(6, 33, 50, 0.4), transparent 60%);
}

.o_shares_portal .hps-auth .auth-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 25px;
}

.o_shares_portal .hps-auth .auth-heading h1 {
  color: var(--hps-ink-strong);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.025em;
}

.o_shares_portal .hps-auth .auth-subtitle {
  margin-top: 6px;
  color: #8dc8df;
  font-size: 0.88rem;
}

.o_shares_portal .hps-auth .auth-heading-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 13px;
}

.o_shares_portal .hps-auth .auth-badge {
  max-width: 216px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  border: 1px solid #143448;
  border-radius: 10px;
  background: #041a29;
  color: #adbed2;
  font-size: 0.72rem;
  line-height: 1.65;
}

.o_shares_portal .hps-auth .auth-badge .hps-icon {
  width: 23px;
  height: 23px;
  color: #00c9e7;
}

.o_shares_portal .hps-auth .auth-card-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 27px;
}

.o_shares_portal .hps-auth .auth-card-heading .step-bubble {
  width: 35px;
  height: 35px;
  background: var(--hps-accent-strong);
  color: #00212e;
  box-shadow: 0 0 20px rgba(0, 181, 216, 0.2);
}

.o_shares_portal .hps-auth .auth-card-heading h2 {
  font-size: 1.05rem;
  font-weight: 600;
}

.o_shares_portal .hps-auth .auth-card-heading p {
  margin-top: 2px;
  color: #99b1c7;
  font-size: 0.71rem;
}

.o_shares_portal .hps-auth .auth-required {
  margin-inline-start: auto;
  color: #a3b6c9;
  font-size: 0.68rem;
}

.o_shares_portal .hps-auth .auth-required em {
  color: #ff9c97;
  font-style: normal;
}

.o_shares_portal .hps-auth .auth-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 23px 26px;
}

.o_shares_portal .hps-auth .auth-field {
  min-width: 0;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.o_shares_portal .hps-auth .auth-field.wide {
  grid-column: 1 / -1;
}

.o_shares_portal .hps-auth .auth-field[hidden] {
  display: none;
}

.o_shares_portal .hps-auth .field-icon {
  height: 42px;
  margin-top: 27px;
  display: grid;
  place-items: center;
  border-radius: var(--hps-radius);
  background: var(--hps-surface-3);
  color: #a4c1d8;
}

.o_shares_portal .hps-auth .field-icon .hps-icon {
  width: 23px;
  height: 23px;
}

.o_shares_portal .hps-auth .auth-control {
  min-width: 0;
}

.o_shares_portal .hps-auth .auth-phone {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.o_shares_portal .hps-auth .auth-phone .auth-phone-code {
  flex: none;
  min-width: 70px;
  height: 45px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hps-border-strong);
  border-radius: var(--hps-radius-sm);
  background: var(--hps-surface-3);
  color: var(--hps-accent-text);
  font: 500 0.85rem var(--hps-font-latin);
}

.o_shares_portal .hps-auth .auth-phone .hps-input {
  flex: 1;
  width: auto;
  direction: ltr;
}

.o_shares_portal .hps-auth .auth-phone .validation-error {
  flex-basis: 100%;
}

.o_shares_portal .hps-auth .auth-check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 7px;
  color: #8fa7bd;
  font-size: 0.7rem;
  cursor: pointer;
  user-select: none;
}

.o_shares_portal .hps-auth .auth-check input[type="checkbox"] {
  width: 15px;
  height: 15px;
  margin: 0;
  padding: 0;
  accent-color: #02c7e3;
}

.o_shares_portal .hps-auth .auth-row-link {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}

.o_shares_portal .hps-auth .auth-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 23px;
}

.o_shares_portal .hps-auth .auth-actions .hps-btn {
  flex: 1;
}

.o_shares_portal .hps-auth .auth-security {
  max-width: 610px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 16px auto 0;
  color: #9eb5cb;
  font-size: 0.69rem;
  text-align: center;
}

.o_shares_portal .hps-auth .auth-security .hps-icon {
  width: 15px;
  height: 15px;
  color: #7297b1;
}

.o_shares_portal .hps-auth .auth-under {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 19px;
  padding-top: 16px;
  border-top: 1px solid #133145;
  color: #8dabbe;
  font-size: 0.72rem;
}

.o_shares_portal .hps-auth .auth-wizard.is-enhanced .auth-panel:not(.is-active) {
  display: none;
}

.o_shares_portal .hps-auth .auth-wizard:not(.is-enhanced) .auth-panel + .auth-panel {
  margin-top: 32px;
}

.o_shares_portal .hps-auth .auth-wizard:not(.is-enhanced) .auth-actions [data-step-back],
.o_shares_portal .hps-auth .auth-wizard:not(.is-enhanced) .auth-actions [data-step-next] {
  display: none;
}

.o_shares_portal .hps-auth .auth-review {
  display: grid;
  gap: 18px;
}

.o_shares_portal .hps-auth .review-section {
  padding: 15px 17px;
  border: 1px solid #1f4054;
  border-radius: var(--hps-radius);
  background: #061b2a;
}

.o_shares_portal .hps-auth .review-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.o_shares_portal .hps-auth .review-title h3 {
  font-size: 0.88rem;
  font-weight: 500;
}

.o_shares_portal .hps-auth .review-title button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px;
  border: 0;
  background: none;
  color: #25cee3;
  font-size: 0.73rem;
}

.o_shares_portal .hps-auth .review-title button .hps-icon {
  width: 15px;
  height: 15px;
}

.o_shares_portal .hps-auth .review-data {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 22px;
  margin: 0;
}

.o_shares_portal .hps-auth .review-data div {
  min-width: 0;
}

.o_shares_portal .hps-auth .review-data dt {
  color: #8eaac0;
  font-size: 0.7rem;
  font-weight: 400;
}

.o_shares_portal .hps-auth .review-data dd {
  margin: 3px 0 0;
  color: #e1ebf6;
  font-size: 0.8rem;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.o_shares_portal .hps-auth .auth-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-top: 15px;
  color: #b8ccde;
  font-size: 0.74rem;
  line-height: 1.85;
  cursor: pointer;
}

.o_shares_portal .hps-auth .auth-consent input[type="checkbox"] {
  flex: none;
  width: 17px;
  height: 17px;
  margin: 4px 0 0;
  padding: 0;
  accent-color: #02c7e3;
}

.o_shares_portal .hps-auth .auth-consent-error {
  margin-inline-start: 27px;
}

.o_shares_portal .hps-auth .auth-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 40px;
  border-top: 1px solid #1b3a4e;
  color: #9bb2c8;
  font-size: 0.72rem;
}

.o_shares_portal .hps-auth .auth-footer-bar .footer-center {
  text-align: center;
  font-size: 0.71rem;
}

.o_shares_portal .hps-auth .auth-footer-bar a {
  color: #14c5df;
  font-family: var(--hps-font-latin);
}

.o_shares_portal .hps-auth .auth-footer-bar a:hover {
  text-decoration: underline;
}

/* Error toast — re-coloured to the new palette */
.o_shares_portal .error-toast {
  border: 1px solid var(--hps-danger-border);
  background: var(--hps-danger-bg);
  box-shadow: 0 18px 35px rgba(0, 10, 22, 0.66);
}

.o_shares_portal .error-toast .error-toast-icon,
.o_shares_portal .error-toast .error-toast-title {
  color: var(--hps-danger);
}

.o_shares_portal .error-toast .error-toast-message {
  color: var(--hps-danger-ink);
}

/* ---------- Responsive ---------- */
@media (min-width: 1400px) {
  .o_shares_portal .hps-auth .auth-content {
    padding: 43px 53px 32px;
  }
  .o_shares_portal .hps-auth .auth-layout {
    min-height: 731px;
  }
  .o_shares_portal .hps-auth .auth-heading {
    margin-bottom: 30px;
  }
  .o_shares_portal .hps-auth .hps-card {
    padding: 26px 30px 30px;
  }
  .o_shares_portal .hps-auth .auth-fields {
    gap: 25px 30px;
  }
}

@media (max-width: 1100px) {
  .o_shares_portal .hps-auth .auth-header {
    padding-inline: 25px;
  }
  .o_shares_portal .hps-auth .auth-layout {
    grid-template-columns: 248px minmax(0, 1fr);
  }
  .o_shares_portal .hps-auth .auth-content {
    padding: 30px 25px 26px;
  }
  .o_shares_portal .hps-auth .auth-steps {
    padding: 35px 20px 20px;
  }
  .o_shares_portal .hps-auth .auth-step {
    gap: 11px;
  }
  .o_shares_portal .hps-auth .auth-step-text strong {
    font-size: 0.8rem;
  }
  .o_shares_portal .hps-auth .auth-photo {
    min-height: 185px;
  }
  .o_shares_portal .hps-auth .auth-aside-copy {
    margin-inline: 22px;
  }
  .o_shares_portal .hps-auth .auth-aside-copy h2 {
    font-size: 1.2rem;
  }
  .o_shares_portal .hps-auth .auth-heading {
    gap: 15px;
  }
  .o_shares_portal .hps-auth .auth-heading h1 {
    font-size: 1.65rem;
  }
  .o_shares_portal .hps-auth .auth-badge {
    max-width: 165px;
    padding: 10px;
    font-size: 0.66rem;
  }
  .o_shares_portal .hps-auth .hps-card {
    padding: 21px 18px;
  }
  .o_shares_portal .hps-auth .auth-fields {
    gap: 21px 18px;
  }
  .o_shares_portal .hps-auth .auth-field {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 9px;
  }
  .o_shares_portal .hps-auth .field-icon {
    height: 39px;
  }
  .o_shares_portal .hps-auth .field-icon .hps-icon {
    width: 20px;
  }
  .o_shares_portal .hps-auth .auth-footer-bar {
    padding-inline: 25px;
  }
}

@media (max-width: 900px) {
  .o_shares_portal .hps-auth .auth-fields {
    grid-template-columns: 1fr;
    gap: 19px;
  }
  .o_shares_portal .hps-auth .auth-layout {
    grid-template-columns: 235px minmax(0, 1fr);
  }
  .o_shares_portal .hps-auth .auth-heading {
    flex-wrap: wrap;
  }
  .o_shares_portal .hps-auth .auth-heading-side {
    align-items: flex-start;
  }
  .o_shares_portal .hps-auth .auth-badge {
    display: none;
  }
  .o_shares_portal .hps-auth .auth-sky-tagline {
    display: none;
  }
  .o_shares_portal .hps-auth .auth-photo {
    min-height: 160px;
  }
  .o_shares_portal .hps-auth .auth-aside-copy {
    margin-top: 0;
  }
  .o_shares_portal .hps-auth .hps-input {
    height: 46px;
  }
  .o_shares_portal .hps-auth .auth-footer-bar .footer-center {
    display: none;
  }
  .o_shares_portal .hps-auth .auth-field {
    grid-template-columns: 37px minmax(0, 1fr);
    gap: 12px;
  }
}

@media (max-width: 650px) {
  .o_shares_portal .hps-auth .auth-header {
    height: 86px;
    padding: 9px 17px;
    gap: 12px;
  }
  .o_shares_portal .hps-auth .auth-brand-logo {
    max-width: 124px;
    max-height: 60px;
  }
  .o_shares_portal .hps-auth .auth-brand-tag {
    display: none;
  }
  .o_shares_portal .hps-auth .auth-layout {
    display: block;
    min-height: 0;
  }
  .o_shares_portal .hps-auth .auth-aside {
    border: 0;
    background: #041927;
  }
  .o_shares_portal .hps-auth .auth-layout--simple .auth-aside {
    display: none;
  }
  .o_shares_portal .hps-auth .auth-photo, .o_shares_portal .hps-auth .auth-aside-copy {
    display: none;
  }
  .o_shares_portal .hps-auth .auth-steps {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 18px 17px;
  }
  .o_shares_portal .hps-auth .auth-steps li {
    flex: 1;
    min-width: 0;
    min-height: 0;
  }
  .o_shares_portal .hps-auth .auth-steps li:last-child {
    min-height: 0;
  }
  .o_shares_portal .hps-auth .auth-steps li:not(:last-child)::after {
    top: 15px;
    bottom: auto;
    inset-inline-start: calc(50% + 21px);
    width: calc(100% - 31px);
    height: 1px;
  }
  .o_shares_portal .hps-auth .auth-step {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
  }
  .o_shares_portal .hps-auth .auth-step .step-bubble {
    width: 30px;
    height: 30px;
    font-size: 0.82rem;
  }
  .o_shares_portal .hps-auth .auth-step-text {
    padding: 0;
  }
  .o_shares_portal .hps-auth .auth-step-text strong {
    font-size: 0.69rem;
    line-height: 1.6;
  }
  .o_shares_portal .hps-auth .auth-mobile-progress {
    display: block;
    height: 2px;
    background: #0a2a3c;
  }
  .o_shares_portal .hps-auth .auth-mobile-progress span {
    display: block;
    height: 100%;
    background: #00c8df;
    transition: width 0.2s;
  }
  .o_shares_portal .hps-auth .auth-content {
    padding: 25px 17px 22px;
  }
  .o_shares_portal .hps-auth .auth-heading {
    margin-bottom: 22px;
  }
  .o_shares_portal .hps-auth .auth-heading h1 {
    font-size: 1.75rem;
  }
  .o_shares_portal .hps-auth .auth-subtitle {
    font-size: 0.79rem;
    line-height: 1.8;
  }
  .o_shares_portal .hps-auth .hps-segmented {
    width: 100%;
  }
  .o_shares_portal .hps-auth .hps-segmented > a {
    flex: 1;
    min-width: 0;
  }
  .o_shares_portal .hps-auth .hps-card {
    padding: 19px 16px 22px;
    border-radius: 10px;
  }
  .o_shares_portal .hps-auth .auth-card-heading {
    gap: 10px;
    margin-bottom: 24px;
  }
  .o_shares_portal .hps-auth .auth-card-heading h2 {
    font-size: 0.97rem;
  }
  .o_shares_portal .hps-auth .auth-card-heading .step-bubble {
    width: 31px;
    height: 31px;
  }
  .o_shares_portal .hps-auth .auth-required {
    font-size: 0.6rem;
    align-self: flex-start;
    padding-top: 6px;
  }
  .o_shares_portal .hps-auth .auth-field {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 9px;
  }
  .o_shares_portal .hps-auth .auth-fields {
    gap: 20px;
  }
  .o_shares_portal .hps-auth .hps-input {
    height: 47px;
    padding: 9px 10px;
    font-size: 16px;
  }
  .o_shares_portal .hps-auth .hps-label {
    font-size: 0.78rem;
  }
  .o_shares_portal .hps-auth .auth-actions .hps-btn-secondary {
    padding-inline: 16px;
  }
  .o_shares_portal .hps-auth .auth-security {
    align-items: flex-start;
    line-height: 1.8;
    font-size: 0.67rem;
  }
  .o_shares_portal .hps-auth .auth-under {
    justify-content: center;
    text-align: center;
    gap: 9px;
  }
  .o_shares_portal .hps-auth .review-data {
    grid-template-columns: 1fr;
  }
  .o_shares_portal .hps-auth .review-section {
    padding: 14px;
  }
  .o_shares_portal .hps-auth .auth-footer-bar {
    padding: 20px 17px;
    gap: 10px;
    font-size: 0.66rem;
  }
  .o_shares_portal .hps-auth .auth-footer-bar .auth-footer-logo {
    max-width: 108px;
  }
  .o_shares_portal .error-toast {
    left: 16px;
    right: 16px;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .o_shares_portal .hps-auth .step-bubble,
.o_shares_portal .hps-auth .auth-mobile-progress span {
    transition: none;
  }
}

/* ==========================================================================
   Header tools, language switch, sub-pages (OTP, passwords, pending)
   ========================================================================== */
.o_shares_portal .hps-auth {
  /* Single-card sub-pages */
  /* Registration OTP — single input */
  /* Password reset OTP — six boxes */
  /* Result card (e.g. password reset success) */
  /* Application pending */
}

.o_shares_portal .hps-auth .auth-header-tools {
  display: flex;
  align-items: center;
  gap: 25px;
}

.o_shares_portal .hps-auth .auth-footer-bar .auth-footer-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 126px;
  max-height: 53px;
  margin-bottom: 7px;
  object-fit: contain;
}

.o_shares_portal .hps-auth .auth-card-narrow {
  max-width: 640px;
}

.o_shares_portal .hps-auth .auth-fields-stack {
  grid-template-columns: 1fr;
}

.o_shares_portal .hps-auth .auth-note {
  margin-top: 18px;
  color: #9fb6ca;
  font-size: 0.78rem;
  line-height: 1.8;
}

.o_shares_portal .hps-auth .auth-note b {
  color: var(--hps-ink);
  font-weight: 500;
}

.o_shares_portal .hps-auth .auth-panel-note {
  margin-top: 19px;
}

.o_shares_portal .hps-auth .auth-card-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 18px;
}

.o_shares_portal .hps-auth .auth-card-links form {
  display: inline;
  margin: 0;
}

.o_shares_portal .hps-auth .auth-card-links .hps-link {
  font-size: 0.78rem;
}

.o_shares_portal .hps-auth .auth-card-links-sep {
  color: #33596d;
}

.o_shares_portal .hps-auth .auth-subtitle b {
  color: var(--hps-ink);
  font-weight: 500;
}

.o_shares_portal .hps-auth .auth-otp-single {
  height: 58px;
  text-align: center;
  font: 600 1.5rem var(--hps-font-latin);
  letter-spacing: 0.5em;
}

.o_shares_portal .hps-auth .auth-otp-single:disabled {
  opacity: 1;
  border-color: #197686;
  background: #073443;
  color: var(--hps-success);
}

.o_shares_portal .hps-auth .otp-message {
  min-height: 22px;
  margin-top: 12px;
  font-size: 0.8rem;
  text-align: center;
  color: var(--hps-muted);
}

.o_shares_portal .hps-auth .otp-message.otp-success {
  color: var(--hps-success);
}

.o_shares_portal .hps-auth .otp-message.otp-error {
  color: #ffa5a5;
}

.o_shares_portal .hps-auth #passwordSection {
  margin-top: 22px;
}

.o_shares_portal .hps-auth .otp-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 8px 0 4px;
}

.o_shares_portal .hps-auth .otp-input {
  width: 52px;
  height: 58px;
  padding: 0;
  border: 1px solid var(--hps-border-strong);
  border-radius: 10px;
  background: var(--hps-surface-2);
  color: var(--hps-ink-strong);
  font: 600 1.4rem var(--hps-font-latin);
  text-align: center;
}

.o_shares_portal .hps-auth .otp-input:focus {
  border-color: var(--hps-accent);
  background: #092638;
  box-shadow: 0 0 0 3px var(--hps-accent-ring);
}

.o_shares_portal .hps-auth .auth-result {
  margin: 10px auto 0;
  padding: 40px 25px;
  text-align: center;
}

.o_shares_portal .hps-auth .auth-result h1 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.6;
}

.o_shares_portal .hps-auth .auth-result p {
  max-width: 485px;
  margin: 13px auto 25px;
  color: #a0b9cc;
  font-size: 0.85rem;
  line-height: 1.9;
}

.o_shares_portal .hps-auth .auth-result .hps-btn {
  min-width: 240px;
}

.o_shares_portal .hps-auth .auth-result-orbit {
  width: 79px;
  height: 79px;
  display: grid;
  place-items: center;
  margin: 0 auto 27px;
  border: 1px solid #166074;
  border-radius: 50%;
  background: #073443;
  box-shadow: 0 0 0 10px rgba(0, 181, 208, 0.03);
  color: #0bd1e7;
}

.o_shares_portal .hps-auth .auth-result-orbit .hps-icon {
  width: 35px;
  height: 35px;
}

.o_shares_portal .hps-auth .auth-signout {
  min-height: 40px;
  padding: 6px 16px;
  font-size: 0.8rem;
  text-decoration: none;
}

.o_shares_portal .hps-auth .auth-status {
  display: grid;
  gap: 18px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.o_shares_portal .hps-auth .auth-status li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.o_shares_portal .hps-auth .auth-status strong {
  display: block;
  padding-top: 6px;
  font-size: 0.9rem;
  font-weight: 500;
}

.o_shares_portal .hps-auth .auth-status small {
  display: block;
  margin-top: 2px;
  color: #9fb6ca;
  font-size: 0.76rem;
  line-height: 1.7;
}

.o_shares_portal .hps-auth .auth-status .complete .step-bubble {
  border: 1px solid #197686;
  background: #073e4d;
  color: var(--hps-success);
}

.o_shares_portal .hps-auth .auth-status .current .step-bubble {
  background: #352f24;
  color: var(--hps-amber);
}

.o_shares_portal .hps-auth .auth-pending-next h3 {
  margin-bottom: 6px;
}

.o_shares_portal .hps-auth .auth-pending-next p {
  color: #a8c0d1;
  font-size: 0.8rem;
  line-height: 1.8;
}

.o_shares_portal .hps-auth .auth-support {
  margin-top: 22px;
}

.o_shares_portal .hps-auth .auth-support h3 {
  font-size: 0.95rem;
  font-weight: 500;
}

.o_shares_portal .hps-auth .auth-support > p {
  margin: 4px 0 14px;
  color: #9fb6ca;
  font-size: 0.78rem;
}

.o_shares_portal .hps-auth .auth-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.o_shares_portal .hps-auth .auth-support-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #1f4054;
  border-radius: var(--hps-radius);
  background: #061b2a;
  color: var(--hps-ink);
  text-decoration: none;
  transition: border-color var(--hps-ease);
}

.o_shares_portal .hps-auth .auth-support-item:hover {
  border-color: #2f6378;
  color: var(--hps-ink);
}

.o_shares_portal .hps-auth .auth-support-item .field-icon {
  width: 40px;
  margin: 0;
}

.o_shares_portal .hps-auth .auth-support-item small {
  display: block;
  color: #8eaac0;
  font-size: 0.7rem;
}

.o_shares_portal .hps-auth .auth-support-item span[dir] {
  font-size: 0.85rem;
}

/* Success toast — new palette */
.o_shares_portal .success-toast {
  border: 1px solid #197686;
  background: #073443;
  box-shadow: 0 18px 35px rgba(0, 10, 22, 0.66);
}

.o_shares_portal .success-toast .success-toast-icon,
.o_shares_portal .success-toast .success-toast-title {
  color: var(--hps-success);
}

.o_shares_portal .success-toast .success-toast-message {
  color: #c9e9f1;
}

/* Right-to-left layout details */
.o_shares_portal[dir="rtl"] .hps-auth .auth-brand-tag,
.o_shares_portal[dir="rtl"] .hps-auth .auth-sky-tagline,
.o_shares_portal[dir="rtl"] .hps-auth .auth-aside-copy .auth-aside-eyebrow {
  letter-spacing: 0;
  font-family: var(--hps-font);
}

.o_shares_portal[dir="rtl"] .hps-auth .auth-brand-tag {
  font-size: 0.72rem;
  line-height: 1.75;
}

.o_shares_portal[dir="rtl"] .hps-auth .auth-phone {
  direction: ltr;
}

@media (max-width: 900px) {
  .o_shares_portal .hps-auth .auth-header-tools {
    gap: 0;
  }
  .o_shares_portal .hps-auth .auth-support-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .o_shares_portal .hps-auth .otp-container {
    gap: 6px;
  }
  .o_shares_portal .hps-auth .otp-input {
    width: 44px;
    height: 52px;
  }
  .o_shares_portal .hps-auth .auth-result {
    padding: 30px 16px;
  }
  .o_shares_portal .hps-auth .auth-result .hps-btn {
    min-width: 0;
    width: 100%;
  }
}
