* {
      box-sizing: border-box
    }

    html,
    body {
      min-height: 100%;
      margin: 0
    }

    :root {
      --teal: #28b8b5;
      --teal-dark: #087b7f;
      --teal-deep: #075d68;
      --soft: #e8f8f7;
      --orange: #f6a51c;
      --yellow: #ffc32b;
      --red: #ef3c31;
      --ink: #173f48;
      --muted: #789097;
      --border: #dfeaea
    }

    body {
      font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
      background: #f7fbfb;
      color: var(--ink);
      overflow-x: hidden
    }

    .page {
      min-height: 100vh;
      display: grid;
      grid-template-columns: minmax(420px, .95fr) minmax(480px, 1.05fr)
    }

    .brand-panel {
      position: relative;
      overflow: hidden;
      min-height: 100vh;
      padding: 55px 8%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: radial-gradient(circle at 12% 8%, rgba(40, 184, 181, .22), transparent 28%), linear-gradient(145deg, #075d68, #087b7f 52%, #20aaa9);
      color: #fff
    }

    .brand-panel:before,
    .brand-panel:after {
      content: "";
      position: absolute;
      border-radius: 50%;
      pointer-events: none
    }

    .brand-panel:before {
      width: 430px;
      height: 430px;
      left: -220px;
      bottom: -180px;
      background: rgba(255, 255, 255, .08)
    }

    .brand-panel:after {
      width: 300px;
      height: 300px;
      right: -150px;
      top: -130px;
      background: rgba(255, 255, 255, .07)
    }

    .brand-content {
      width: min(100%, 520px);
      position: relative;
      z-index: 2;
      text-align: center
    }

    .logo-shell {
      width: 150px;
      height: 150px;
      margin: 0 auto 28px;
      padding: 15px;
      border-radius: 38px;
      background: #fff;
      box-shadow: 0 25px 55px rgba(0, 50, 55, .22);
      display: flex;
      align-items: center;
      justify-content: center
    }

    .logo-shell img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      border-radius: 25px
    }

    .brand-title {
      margin: 0;
      font-size: clamp(32px, 4vw, 48px);
      line-height: 1.1;
      font-weight: 800;
      letter-spacing: -1px
    }

    .brand-title span {
      display: block;
      margin-top: 8px;
      color: #dffafa;
      font-size: .52em;
      font-weight: 500;
      letter-spacing: 1px
    }

    .brand-line {
      width: 90px;
      height: 5px;
      margin: 25px auto 18px;
      border-radius: 10px;
      background: linear-gradient(90deg, var(--orange), var(--yellow), var(--red))
    }

    .brand-description {
      max-width: 430px;
      margin: 0 auto 38px;
      color: rgba(255, 255, 255, .84);
      font-size: 16px;
      line-height: 1.8
    }

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 14px;
      max-width: 430px;
      margin: auto
    }

    .stat-card {
      padding: 19px;
      border: 1px solid rgba(255, 255, 255, .16);
      border-radius: 18px;
      background: rgba(255, 255, 255, .10);
      backdrop-filter: blur(10px);
      text-align: left
    }

    .stat-number {
      font-size: 28px;
      line-height: 1;
      font-weight: 800;
      margin-bottom: 8px
    }

    .stat-label {
      color: rgba(255, 255, 255, .72);
      font-size: 13px
    }

    .brand-footer {
      margin-top: 34px;
      color: rgba(255, 255, 255, .65);
      font-size: 12px
    }

    .dot-cluster {
      position: absolute;
      width: 80px;
      height: 80px;
      right: 11%;
      bottom: 10%;
      opacity: .8
    }

    .dot-cluster i {
      position: absolute;
      width: 16px;
      height: 16px;
      border-radius: 50%
    }

    .dot-cluster i:nth-child(1) {
      left: 0;
      top: 30px;
      background: var(--orange)
    }

    .dot-cluster i:nth-child(2) {
      left: 30px;
      top: 0;
      background: var(--teal)
    }

    .dot-cluster i:nth-child(3) {
      left: 60px;
      top: 30px;
      background: var(--red)
    }

    .dot-cluster i:nth-child(4) {
      left: 30px;
      top: 60px;
      background: var(--yellow)
    }

    .login-panel {
      min-height: 100vh;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 45px 7%;
      background: #f7fbfb
    }

    .login-container {
      width: min(100%, 480px);
      position: relative;
      z-index: 2
    }

    .login-card {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 28px;
      padding: 46px;
      box-shadow: 0 28px 70px rgba(20, 83, 90, .10), 0 4px 12px rgba(20, 83, 90, .04);
      animation: in .55s cubic-bezier(.16, 1, .3, 1)
    }

    @keyframes in {
      from {
        opacity: 0;
        transform: translateY(18px)
      }

      to {
        opacity: 1;
        transform: none
      }
    }

    .heading-marker {
      display: flex;
      gap: 7px;
      margin-bottom: 18px
    }

    .heading-marker i {
      width: 9px;
      height: 9px;
      border-radius: 50%
    }

    .heading-marker i:nth-child(1) {
      background: var(--teal)
    }

    .heading-marker i:nth-child(2) {
      background: var(--orange)
    }

    .heading-marker i:nth-child(3) {
      background: var(--red)
    }

    .welcome {
      margin: 0 0 7px;
      font-size: 30px;
      font-weight: 800;
      letter-spacing: -.6px
    }

    .welcome span {
      color: var(--teal-dark)
    }

    .subtitle {
      margin: 0 0 32px;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.6
    }

    .field {
      margin-bottom: 21px
    }

    .field-label {
      display: block;
      margin-bottom: 8px;
      font-size: 13px;
      font-weight: 700
    }

    .field-wrap {
      position: relative
    }

    .field-wrap input {
      width: 100%;
      height: 52px;
      padding: 0 48px 0 16px;
      border: 1px solid var(--border);
      border-radius: 14px;
      outline: none;
      background: #f8fbfb;
      color: var(--ink);
      font-size: 14px;
      transition: .2s
    }

    .field-wrap input:focus {
      background: #fff;
      border-color: var(--teal);
      box-shadow: 0 0 0 4px rgba(40, 184, 181, .12)
    }

    .field-icon,
    .eye-icon {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 20px;
      height: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #9aadaf
    }

    .field-icon {
      right: 15px
    }

    .eye-icon {
      right: 44px;
      cursor: pointer
    }

    .eye-icon:hover {
      color: var(--teal-dark)
    }

    .field-wrap.password input {
      padding-right: 74px
    }

    .row-between {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin: 3px 0 25px;
      font-size: 13px
    }

    .remember-me {
      display: flex;
      align-items: center;
      gap: 8px;
      color: #667b80;
      cursor: pointer
    }

    .remember-me input {
      width: 16px;
      height: 16px;
      accent-color: var(--teal)
    }

    .forgot-link {
      color: var(--teal-dark);
      font-weight: 700;
      text-decoration: none
    }

    .forgot-link:hover {
      text-decoration: underline
    }

    .btn-login {
      width: 100%;
      height: 54px;
      border: 0;
      border-radius: 15px;
      background: linear-gradient(100deg, var(--teal-dark), var(--teal));
      color: #fff;
      font-size: 15px;
      font-weight: 800;
      cursor: pointer;
      box-shadow: 0 13px 26px rgba(8, 123, 127, .23);
      transition: .2s
    }

    .btn-login:hover {
      transform: translateY(-2px);
      box-shadow: 0 17px 32px rgba(8, 123, 127, .30)
    }

    .btn-login:disabled {
      opacity: .8;
      cursor: default;
      transform: none
    }

    .spinner {
      display: inline-block;
      width: 15px;
      height: 15px;
      margin-left: 8px;
      vertical-align: -2px;
      border: 2px solid rgba(255, 255, 255, .4);
      border-top-color: #fff;
      border-radius: 50%;
      animation: spin .7s linear infinite
    }

    @keyframes spin {
      to {
        transform: rotate(360deg)
      }
    }

    .error-msg {
      display: none;
      align-items: center;
      gap: 10px;
      padding: 12px 14px;
      margin-bottom: 18px;
      border-radius: 13px;
      border: 1px solid #f5cbc7;
      background: #fff4f2;
      color: #bd3d32;
      font-size: 13px;
      line-height: 1.5
    }

    .error-msg:before {
      content: "!";
      width: 20px;
      height: 20px;
      flex: none;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      background: #e94b3e;
      color: #fff;
      font-weight: 800
    }

    .footer-note {
      margin: 20px 0 0;
      text-align: center;
      color: #91a1a4;
      font-size: 11px
    }

    .help-fab {
      position: fixed;
      right: 24px;
      bottom: 24px;
      z-index: 10;
      width: 42px;
      height: 42px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--teal-dark);
      color: #fff;
      font-weight: 700;
      box-shadow: 0 10px 25px rgba(8, 123, 127, .25)
    }

    @media(max-width:900px) {
      .page {
        grid-template-columns: 1fr
      }

      .brand-panel {
        min-height: auto;
        padding: 42px 25px 48px
      }

      .login-panel {
        min-height: auto;
        padding: 35px 20px 55px
      }

      .brand-footer,
      .dot-cluster {
        display: none
      }
    }

    @media(max-width:560px) {
      .brand-panel {
        padding: 30px 18px 35px
      }

      .logo-shell {
        width: 105px;
        height: 105px;
        border-radius: 28px;
        padding: 11px;
        margin-bottom: 20px
      }

      .brand-title {
        font-size: 30px
      }

      .brand-description {
        font-size: 14px;
        margin-bottom: 26px
      }

      .stats-grid {
        gap: 9px
      }

      .stat-card {
        padding: 14px;
        border-radius: 14px
      }

      .stat-number {
        font-size: 22px
      }

      .stat-label {
        font-size: 11px
      }

      .login-panel {
        padding: 22px 13px 40px
      }

      .login-card {
        padding: 29px 20px 24px;
        border-radius: 21px
      }

      .welcome {
        font-size: 25px
      }
  </style>

  <style>
    html,
    body {
      direction: rtl
    }

    body {
      font-family: "Segoe UI", "Tahoma", "Arial", sans-serif
    }

    .brand-content,
    .login-container {
      text-align: right
    }

    .brand-title {
      text-align: center
    }

    .brand-description {
      text-align: center
    }

    .brand-line {
      margin-left: auto;
      margin-right: auto
    }

    .stats-grid {
      direction: rtl
    }

    .stat-card {
      text-align: right
    }

    .login-card {
      direction: rtl
    }

    .heading-marker {
      justify-content: flex-start
    }

    .welcome {
      text-align: right
    }

    .subtitle {
      text-align: right
    }

    .field-label {
      text-align: right
    }

    .field-wrap input {
      text-align: right;
      padding-left: 48px;
      padding-right: 16px
    }

    .field-icon {
      right: auto;
      left: 15px
    }

    .eye-icon {
      right: auto;
      left: 44px
    }

    .field-wrap.password input {
      padding-left: 74px;
      padding-right: 16px
    }

    .row-between {
      direction: rtl
    }

    .remember-me {
      direction: rtl
    }

    .forgot-link {
      direction: rtl
    }

    .footer-note {
      text-align: center
    }

    @media(max-width:560px) {
      .field-wrap input {
        text-align: right;
        padding-left: 44px;
        padding-right: 14px
      }

      .field-wrap.password input {
        padding-left: 70px;
        padding-right: 14px
      }
    }