/* Copied tokens + fonts from welcome.p2p-expert-traders.com (styles-ZHL2LQBW.css) */
/* Login layout locked to live /login @ 382×732 */

.login-page {
  --tui-text-01: #262626;
  --tui-text-02: rgba(38, 38, 38, 0.65);
  --tui-text-03: rgba(38, 38, 38, 0.4);
  --tui-base-01: #fff;
  --tui-base-02: #f6f6f6;
  --tui-base-03: #e8e8e8;
  --tui-primary: #449553;
  --tui-error-fill: #f45725;
  --tui-radius: 16px;
  --tui-height-m: 44px;
  --login-btn: #6d727d;

  max-width: 382px;
  width: 100%;
  margin: 0 auto;
  min-height: 100%;
  height: 100%;
  background: var(--tui-base-03);
  display: flex;
  flex-direction: column;
  font-family: Manrope, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--tui-text-01);
  -webkit-font-smoothing: antialiased;
}

.app-shell:has(.login-page) {
  background: var(--tui-base-03);
  max-width: 382px;
}

.login-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
  box-sizing: border-box;
  min-height: 100%;
  width: 100%;
}

/* Live: icon top ~210px */
.login-spacer-top {
  height: 186px;
  flex: 0 0 186px;
}

.login-icon {
  width: 40px;
  height: 40px;
  color: var(--tui-text-01);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 16px;
}

.login-icon .material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: 400;
  font-style: normal;
  font-size: 40px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 40;
}

.login-title {
  margin: 0 0 24px;
  padding: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: normal;
  text-align: center;
  color: var(--tui-text-01);
  font-family: Manrope, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Segoe UI", sans-serif;
}

.login-fields {
  width: 100%;
}

.login-field-wrap + .login-field-wrap {
  margin-top: 12px;
}

.login-field-wrap.has-error + .login-field-wrap {
  margin-top: 8px;
}

.login-field {
  position: relative;
  width: 100%;
  height: var(--tui-height-m);
  min-height: var(--tui-height-m);
  background: var(--tui-base-01);
  border-radius: var(--tui-radius);
  border: 0;
  box-sizing: border-box;
  display: flex;
  align-items: stretch;
}

.login-field.is-error {
  box-shadow: inset 0 0 0 1.5px #c88578;
}

.login-field.is-focus {
  box-shadow: inset 0 0 0 2px var(--tui-primary);
}

.login-field label {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  line-height: 20px;
  color: var(--tui-text-03);
  pointer-events: none;
  transition: top 0.15s ease, font-size 0.15s ease, transform 0.15s ease;
  font-family: Manrope, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Segoe UI", sans-serif;
  font-weight: 400;
}

.login-field.is-float label {
  top: 8px;
  transform: none;
  font-size: 11px;
  line-height: 14px;
}

.login-field input {
  width: 100%;
  border: 0;
  background: transparent;
  outline: none;
  padding: 16px 12px 0;
  font-size: 13px;
  line-height: 20px;
  color: var(--tui-text-01);
  font-family: Manrope, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Segoe UI", sans-serif;
  border-radius: var(--tui-radius);
  box-sizing: border-box;
}

.login-field:not(.is-float) input {
  padding: 0 12px;
}

.login-field input.has-eye {
  padding-right: 44px;
}

.login-eye {
  position: absolute;
  right: 4px;
  top: 0;
  bottom: 0;
  width: 40px;
  border: 0;
  background: transparent;
  color: var(--tui-text-03);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.login-eye img,
.login-eye svg {
  width: 24px;
  height: 24px;
  display: block;
}

.login-error {
  color: #c56b63;
  font-size: 11.5px;
  line-height: 1.15;
  margin: 4px 0 0 12px;
  padding: 0;
  font-weight: 400;
  font-family: Manrope, -apple-system, "Segoe UI", sans-serif;
}

.login-spacer-mid {
  flex: 1 1 auto;
  min-height: 48px;
}

.login-submit {
  width: 100%;
  height: var(--tui-height-m);
  border: none;
  border-radius: var(--tui-radius);
  background: var(--login-btn);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: Manrope, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Segoe UI", sans-serif;
  margin-top: auto;
}

.login-submit:disabled {
  opacity: 0.56;
  cursor: default;
}

.login-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
}

.login-help,
a.login-help {
  margin: 14px 0 24px;
  padding: 0;
  border: none;
  background: none;
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  color: var(--tui-text-01);
  cursor: pointer;
  font-family: Manrope, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Segoe UI", sans-serif;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

/* Access recovery (same tokens) */
.recover-page {
  background: var(--tui-base-03);
}
.app-shell:has(.recover-page) {
  background: var(--tui-base-03);
}
.recover-form {
  padding: 24px;
}
.recover-spacer-top {
  height: 186px;
  flex: 0 0 186px;
}
.recover-title {
  margin: 0 0 12px;
  padding: 0 8px;
  font-size: 24px;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
  color: var(--tui-text-01);
  font-family: Manrope, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Segoe UI", sans-serif;
}
.recover-desc {
  margin: 0 0 28px;
  padding: 0 6px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  text-align: center;
  color: var(--tui-text-01);
  font-family: Manrope, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Segoe UI", sans-serif;
}
.recover-return {
  display: block;
  text-align: center;
  text-decoration: none;
  margin: 14px 0 28px;
}
.recover-resend {
  margin: 14px 0 28px;
  padding: 0;
  border: none;
  background: none;
  font-size: 15px;
  font-weight: 400;
  color: var(--tui-text-03);
  cursor: pointer;
  font-family: Manrope, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Segoe UI", sans-serif;
}
.recover-resend:not(:disabled) {
  color: var(--tui-text-01);
}

.recover-demo-hint {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 5;
  font-size: 12px;
  color: #6e717c;
  background: rgba(255,255,255,.92);
  padding: 4px 10px;
  border-radius: 999px;
}
.recover-password-step {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  min-height: 100vh;
}
.recover-password-card {
  width: min(360px, 92vw);
  background: #fff;
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 8px 28px rgba(0,0,0,.08);
}
.recover-password-card h1 {
  margin: 0 0 8px;
  font-size: 20px;
}
.recover-password-card p {
  margin: 0 0 16px;
  color: #6e717c;
  font-size: 14px;
}
.recover-password-input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e7e8ec;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  margin-bottom: 10px;
}
.recover-password-input.is-error {
  border-color: #f45725;
}
.recover-password-btn {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 12px;
  background: #3b4db8;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.om-recovered {
  margin: 8px 0 0;
  color: #12a877;
  font-size: 13px;
}
