@layer component {

  :root {
    --ws-space: 0.5rem;
    --ws-space-2: 1rem;
    --ws-border: #d4dbe0;
    --ws-font: "gdsherpa", Helvetica, Arial, sans-serif;
    --ws-weight: 400;
    --ws-leading: 1.5;
    --ws-radius: 6px;
    --ws-focus: #1976d2;
    --ws-white: #fff;
    --ws-black: #111;
    --ws-muted: #767676;
    --ws-border-w: 0.0625rem;
    --ws-radius-sm: 6px;
    --ws-caption: 0.875rem;
    --ws-dark: #2b2b2b;
    --ws-mid: #444;
    --ws-accent: #00a4a6;
    --ws-critical: #db1802;
    --ws-bg-page: #f5f7f8;
    --ws-util-bar: 2.8125rem;
  }

  *,
  ::after,
  ::before {
    box-sizing: border-box;
  }

  .ws-page {
    min-height: 100%;
    position: relative;
  }

  body.ws-app {
    background-color: var(--ws-bg-page);
    color: var(--ws-black);
    font-family: var(--ws-font);
    font-size: var(--ws-space-2);
    font-weight: var(--ws-weight);
    line-height: var(--ws-leading);
    margin: 0;
    min-height: 100%;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  #ws-content {
    flex: 1;
  }

  .ws-skip {
    height: 0;
  }

  .ws-main {
    display: block;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .ws-hero {
    --ws-gap-sm: calc(var(--ws-space) * 2);
    --ws-gap-md: calc(var(--ws-space) * 3);
    --ws-card-bg: var(--ws-white);
    --ws-card-border: var(--ws-border) solid 1px;
    --ws-card-radius: calc(6px * 2);
  }

  .ws-form-outer {
    position: relative;
  }

  .ws-form-page {
    margin-left: auto;
    margin-right: auto;
    padding-left: 8px;
    padding-right: 8px;
    max-width: 1140px;
  }

  .ws-form-page::after {
    content: "";
    clear: both;
    display: table;
  }

  @media (width >= 520px) {
    .ws-form-page {
      padding-top: 10px;
    }
  }

  @media (width >= 768px) {
    .ws-form-page {
      padding-top: 40px;
    }
  }

  .ws-form-row {
    margin-left: -8px;
    margin-right: -8px;
    display: flex;
    justify-content: center;
  }

  .ws-form-row::after {
    content: "";
    clear: both;
    display: table;
  }

  @media (width >= 520px) {
    .ws-form-row {
      justify-content: flex-end;
    }
  }

  .ws-form-col {
    min-height: 1px;
    max-width: 720px;
    padding-left: 8px;
    padding-right: 8px;
    position: relative;
    float: left;
    width: 100%;
    box-sizing: border-box;
  }

  @media (width >= 520px) {
    .ws-form-col {
      width: 83.3333%;
      min-width: 400px;
    }
  }

  @media (width >= 992px) {
    .ws-form-col {
      width: 720px;
      min-width: 720px;
    }
  }

  @media (width <= 520px) {
    .ws-form-page .ws-form-col {
      padding-left: 12px;
      padding-right: 12px;
      max-width: 100%;
    }
  }

  /* Sign-in panel & card */
  .ws-signin-panel {
    margin-bottom: 0;
  }

  .ws-card {
    display: flex;
    flex-direction: column;
    gap: var(--ws-gap-md);
    border: var(--ws-card-border);
    border-radius: var(--ws-card-radius);
    background-color: var(--ws-card-bg);
    padding: 0;
    width: 542.4px;
    height: 607.23px;
    min-width: 542.4px;
    box-sizing: border-box;
  }

  @media (max-width: 767px) {
    .ws-card {
      width: 100%;
      min-width: 0;
      max-width: 100%;
      height: auto;
      min-height: 400px;
      border: var(--ws-card-border);
      border-radius: var(--ws-card-radius);
      margin: 12px 0;
    }
  }

  #ws-card-header {
    width: 100%;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .ws-card-header .ws-card-title-wrap {
    background-color: #f3f2f1;
    padding: 30px 0;
    text-align: center;
    border-bottom: 1px solid #eaeaea;
    border-radius: var(--ws-card-radius) var(--ws-card-radius) 0 0;
  }

  .ws-card-header .ws-card-title {
    color: #333333;
    margin: 0;
    font-size: 1.80203rem;
    font-weight: 700;
    line-height: 2.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 55px;
  }

  @media (width >= 992px) {
    .ws-card-header .ws-card-title {
      font-size: 2.02729rem;
      line-height: 2.5rem;
    }
  }

  #ws-card-body {
    padding: 10px 20px 30px;
  }

  @media (max-width: 767px) {
    .ws-form-page {
      padding-top: max(16px, env(safe-area-inset-top));
      padding-bottom: max(24px, env(safe-area-inset-bottom));
      padding-left: max(12px, env(safe-area-inset-left));
      padding-right: max(12px, env(safe-area-inset-right));
    }
    #ws-card-body {
      padding: 16px 20px 24px;
    }
    .ws-card-header .ws-card-title-wrap {
      padding: 20px 12px;
    }
    .ws-card-header .ws-card-title {
      font-size: 1.5rem;
      line-height: 1.3;
    }
  }

  @media (width >= 1200px) {
    #ws-card-body {
      padding: 25px 100px 35px;
    }
  }

  .ws-details {
    display: flex;
    flex-direction: column;
    gap: var(--ws-gap-sm);
  }

  .ws-signin-title {
    font-family: var(--ws-font);
    font-weight: 700;
    color: currentColor;
    margin: 0 0 calc(var(--ws-space) * 4);
    font-size: 1.80203rem;
    line-height: 2.25rem;
  }

  @media (width >= 992px) {
    .ws-signin-title {
      font-size: 2.02729rem;
      line-height: 2.5rem;
    }
  }

  .ws-form {
    display: flex;
    flex-direction: column;
    gap: var(--ws-gap-sm);
  }

  .ws-field-group {
    position: relative;
  }

  .ws-field-password {
    position: relative;
  }

  .ws-input-shell {
    flex-direction: column;
    display: flex;
  }

  .ws-field-frame {
    border: var(--ws-border-w) solid var(--ws-border);
    border-radius: var(--ws-radius-sm);
    background: var(--ws-white);
    display: flex;
    overflow: hidden;
  }

  .ws-text-entry {
    --ws-entry-pad: calc(var(--ws-space) * 2);
    white-space: nowrap;
    text-overflow: ellipsis;
    border: none;
    flex: 1;
    padding: 0;
    display: inline-grid;
    grid-template-columns: 1fr;
    overflow: hidden;
    font-size: var(--ws-space-2);
    line-height: 1.375;
    font-family: var(--ws-font);
    font-weight: var(--ws-weight);
  }

  .ws-text-entry .ws-label {
    grid-area: 1/1/-1/-1;
    margin-inline: var(--ws-entry-pad);
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--ws-dark);
    line-height: 1.375;
    align-items: center;
    display: flex;
    overflow: hidden;
    pointer-events: none;
    font-weight: 500;
    transition: opacity 0.15s ease;
  }

  .ws-text-entry.ws-focused .ws-label,
  .ws-text-entry.ws-has-value .ws-label {
    opacity: 0;
  }

  .ws-text-entry .ws-required {
    margin-inline-start: 0.25em;
    color: var(--ws-critical);
  }

  .ws-text-entry .ws-input {
    grid-area: 1/1/-1/-1;
    font: inherit;
    color: inherit;
    box-sizing: border-box;
    min-height: 1lh;
    width: 100%;
    padding-left: var(--ws-entry-pad);
    padding-right: var(--ws-entry-pad);
    padding-top: var(--ws-entry-pad);
    padding-bottom: var(--ws-entry-pad);
    background: 0 0;
    border: 0;
    margin: 0;
    outline: 0;
    resize: none;
  }

  @media (max-width: 767px) {
    .ws-text-entry .ws-input {
      min-height: 44px;
    }
  }

  .ws-btn-show-pw {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(-50%, 50%);
    color: var(--ws-muted);
    background: 0 0;
    border: 0;
    padding: 0;
    cursor: pointer;
    font: inherit;
    text-decoration: underline;
  }

  [dir="rtl"] .ws-btn-show-pw {
    right: auto;
    left: 0;
  }

  .ws-btn-show-pw:focus {
    outline: 5px auto -webkit-focus-ring-color;
  }

  .ws-checkbox-wrap {
    display: inline-grid;
    grid-auto-columns: auto;
    justify-content: start;
    gap: var(--ws-space) calc(var(--ws-space) * 2);
    cursor: pointer;
    font-weight: 400;
    line-height: 1.5;
  }

  .ws-checkbox-box {
    width: 1.25em;
    min-height: 1.25em;
    flex-shrink: 0;
    align-self: baseline;
    display: inline-block;
    position: relative;
  }

  .ws-checkbox-box > * {
    box-sizing: border-box;
    width: 100%;
    height: 1.25em;
    cursor: inherit;
    border: 0;
    margin: 0;
    padding: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .ws-checkbox {
    opacity: 0;
  }

  .ws-checkbox-indicator {
    border: var(--ws-border-w) solid var(--ws-border);
    border-radius: var(--ws-radius-sm);
    background: var(--ws-white);
    pointer-events: none;
  }

  .ws-checkbox:checked ~ .ws-checkbox-indicator {
    border-color: var(--ws-black);
    background: var(--ws-white);
    color: var(--ws-black);
  }

  .ws-checkbox-indicator .ws-checkmark {
    max-width: 100%;
    max-height: 100%;
    display: none;
  }

  .ws-checkbox:checked ~ .ws-checkbox-indicator .ws-checkmark {
    display: block;
  }

  .ws-checkbox-label {
    grid-column: 2;
    margin: 0;
    font-size: var(--ws-caption);
    line-height: var(--ws-leading);
  }

  .ws-btn {
    cursor: pointer;
    font-weight: inherit;
    background: 0 0;
    border: 0;
    margin: 0;
    padding: 0;
    display: inline-flex;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
  }

  .ws-btn:focus {
    outline: 0;
  }

  .ws-btn:focus-visible {
    outline: 5px auto -webkit-focus-ring-color;
  }

  .ws-btn:not(.ws-btn-inline) {
    border: 2px solid transparent;
    border-radius: var(--ws-radius-sm);
    padding: calc(var(--ws-space) * 2) calc(var(--ws-space) * 3);
    vertical-align: middle;
    white-space: nowrap;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 0.15s ease-in-out;
  }

  .ws-btn-primary {
    background-color: var(--ws-black);
    border-color: transparent;
    color: var(--ws-white);
  }

  .ws-btn-secondary {
    background-color: var(--ws-white);
    border: 1px solid var(--ws-border);
    color: var(--ws-black);
  }

  .ws-btn-secondary:not(.ws-btn-inline) {
    padding: var(--ws-space) calc(var(--ws-space) * 2);
  }

  .ws-btn-block {
    min-width: 100%;
    width: 100%;
  }

  #ws-btn-signin {
    min-width: 100%;
  }

  @media (max-width: 767px) {
    #ws-btn-signin {
      min-height: 48px;
    }
  }

  .ws-recovery {
    margin: 0;
    font-size: var(--ws-space-2);
    line-height: var(--ws-leading);
  }

  .ws-recovery .ws-link {
    color: var(--ws-mid);
    text-decoration: underline;
    background-color: transparent;
  }

  .ws-recovery .ws-link:hover {
    color: var(--ws-focus);
  }

  ::selection {
    color: var(--ws-white);
    background: #1976d2;
  }

}
