.auth-page-inner {
  min-height: 100vh;
  display: flex;
  flex-direction: column;

  .header-content-auth {
    padding: 15px 30px;
    /* border-bottom: 1px solid #dbe0e9; */
    a {
      svg {
        width: 120px;
      }
    }
    @media (max-width: 767px) {
      padding: 25px 25px 0;
      a {
        svg {
          width: 90px;
        }
      }
    }
    .selector {
      position: relative;
      display: flex;
      align-items: center;
      gap: 10px;
      position: relative;
      @media (max-width: 767px) {
        gap: 5px;
        svg {
          width: 17px;
          height: 17px;
        }
      }
      select {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border: 0;
        outline: none;
        background-color: transparent;
        color: #606e84;
        width: 55px;
        position: relative;
        z-index: 9;
      }
      svg {
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        html[dir="ltr"] & {
          right: 0;
          left: auto;
        }
      }
    }
  }
  .right-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: auto !important;
    overflow-y: auto;
    overflow-x: hidden;
    .title {
      margin-top: 0 !important;
      text-align: center !important;
      margin-bottom: 15px !important;
      font-family: inherit;
      font-size: clamp(
        23.02px,
        calc(23.02px + 1.98 * (100vw - 680px) / 520),
        25px
      ) !important;
      @media (min-width: 1440px) {
        font-size: clamp(
          25px,
          calc(25px + 4.51 * (100vw - 1440px) / 160),
          29.51px
        ) !important;
      }
      @media (max-width: 767px) {
        font-size: 20px !important;
      }
    }
    p {
      color: #606e84;
      font-size: clamp(
        15.68px,
        calc(15.68px + 1.32 * (100vw - 680px) / 520),
        17px
      ) !important;
      @media (min-width: 1440px) {
        font-size: clamp(
          17px,
          calc(17px + 3.01 * (100vw - 1440px) / 160),
          20.01px
        ) !important;
      }
      @media (max-width: 767px) {
        font-size: 14px !important;
      }
    }
    form {
      display: flex;
      flex-direction: column;
      gap: 20px;
      padding: 15px 0;
      margin: 15px 0 !important;
      .box-auth-inner {
        /* margin-bottom: 20px; */
        label {
          color: #0f0c36;
          margin-bottom: 10px;
          font-size: clamp(
            15.68px,
            calc(15.68px + 1.32 * (100vw - 680px) / 520),
            17px
          );
          @media (min-width: 1440px) {
            font-size: clamp(
              17px,
              calc(17px + 3.01 * (100vw - 1440px) / 160),
              20.01px
            );
          }
          font-weight: 400;
          display: block;
          text-align: start;
        }
        .input-auth-inner {
          border: 1px solid #dbe0e9;
          background-color: #fff;
          border-radius: 10px;
          height: 45px;
          padding: 0 20px;
          flex-wrap: nowrap;
          svg {
            width: 20px;
            height: 20px;
            flex-shrink: 0;
          }
          input {
            border: 0;
            background-color: transparent;
            flex: 1;
            outline: none;
            font-size: clamp(
              14.76px,
              calc(14.76px + 1.24 * (100vw - 680px) / 520),
              16px
            );
            @media (min-width: 1440px) {
              font-size: clamp(
                16px,
                calc(16px + 2.82 * (100vw - 1440px) / 160),
                18.82px
              );
            }
            min-width: 0;
            width: 100%;
            &::placeholder {
              color: #dbe0e9;
              font-size: clamp(
                14.76px,
                calc(14.76px + 1.24 * (100vw - 680px) / 520),
                16px
              );
              @media (min-width: 1440px) {
                font-size: clamp(
                  16px,
                  calc(16px + 2.82 * (100vw - 1440px) / 160),
                  18.82px
                );
              }
              text-overflow: ellipsis;
              white-space: nowrap;
              overflow: hidden;
            }
          }
          span {
            display: inline-block;
            border-inline-start: 1px solid #0f0c36;
            padding-inline-start: 10px;
            line-height: 15px;
          }
          &.n-phone {
            direction: ltr;
            span {
              border-inline-start: none;
              border-inline-end: 1px solid #0f0c36;
              padding-inline-start: 0;
              padding-inline-end: 10px;
            }
            input {
              text-align: start;
              padding-inline-end: 0;
              padding-inline-start: 10px;
            }
          }
        }
      }
      .in-check-agree {
        padding: 0;
        padding-inline-start: 30px;
        .form-check-label {
          cursor: pointer;
          font-size: clamp(
            14.76px,
            calc(14.76px + 1.24 * (100vw - 680px) / 520),
            16px
          ) !important;
          @media (min-width: 1440px) {
            font-size: clamp(
              16px,
              calc(16px + 2.82 * (100vw - 1440px) / 160),
              18.82px
            ) !important;
          }
          span {
          }
          a {
            font-weight: normal;
            text-decoration: underline;
            color: #606e84;
          }
          &:before {
            right: 7px;
            top: 5px;
            width: 6px;
            height: 11px;
            border-width: 1.5px;
            border-color: #1a1840;
          }
          &:after {
            top: 50%;
            transform: translateY(-50%);
            width: 20px;
            height: 20px;
            border-radius: 5px;
            background-color: transparent !important;
          }
        }
      }
    }
    .content {
      width: 100%;
      padding: 0 !important;
      flex: 1;
      align-items: center;
      justify-content: center !important;
      .login-box {
        position: relative;
        top: 0 !important;
        right: 0;
        left: 0 !important;
        transform: initial;
        bottom: 0 !important;
        width: 100% !important;
        max-width: 650px;
        margin: 15px auto 0 !important;
        @media (max-width: 767px) {
          margin: 40px auto 0 !important;
        }
        .form-submit-btn,
        .register-link {
          border-radius: 100px;
          height: 60px;
          &:disabled {
            background-color: #dbe0e9 !important;
            color: #fff;
          }
          @media (max-width: 767px) {
            height: 44px;
          }
        }
        .form-submit-btn {
          @media (max-width: 767px) {
            height: 44px;
          }
        }
        &.forgetpass-form,
        &.pin-code-form {
          .t-other {
            display: none !important;
          }
          .back-to-login {
            border: 1px solid #0f0c36 !important;
            background-color: transparent !important;
            &:hover {
              background-color: #0f0c36 !important;
              color: #fff !important;
            }
          }
        }
        .t-other {
          margin: 25px 0;
          p {
            color: #606e84;
            margin: 0;
          }
          .register-link {
            border: 0px solid #0f0c36 !important;
            background-color: transparent !important;
            width: auto;
            height: auto;
            text-decoration: underline;
            /* &:hover {
              background-color: #0f0c36 !important;
              color: #fff !important;
            } */
          }
        }
      }
      .verifyButtons {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        padding: 0px 0 !important;
        height: auto !important;
        margin: 0 !important;
        @media (max-width: 767px) {
          gap: 15px;
        }
        .in-core {
          position: relative;
          margin: 0 !important;
          width: 90px;
          height: 120px;
          input {
            border: 1px solid #dbe0e9;
            border-radius: 20px;
            background-color: transparent;
            text-align: center;
            width: 100% !important;
            height: 100%;
            transition: all 0.3s ease;
            padding: 10px !important;
            font-size: clamp(
              23.94px,
              calc(23.94px + 2.06 * (100vw - 680px) / 520),
              26px
            );
            @media (min-width: 1440px) {
              font-size: clamp(
                26px,
                calc(26px + 4.7 * (100vw - 1440px) / 160),
                30.7px
              );
            }
            @media (max-width: 767px) {
              border-radius: 15px;
              font-size: 18px;
            }
            &::placeholder {
              color: #dbe0e9 !important;
            }
          }
          .mask {
            position: absolute;
            inset: 0;
            border-radius: 20px;
            overflow: hidden;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.15s ease;
            background-color: #eef1f5;
            @media (max-width: 767px) {
              border-radius: 15px;
            }
            &::after {
              content: "";
              position: absolute;
              inset: 0;
              background: linear-gradient(
                90deg,
                rgba(255, 255, 255, 0) 0%,
                rgba(255, 255, 255, 0.85) 50%,
                rgba(255, 255, 255, 0) 100%
              );
              background-size: 200% 100%;
              animation: otpShimmer 1.2s ease-in-out infinite;
            }
          }
          &:nth-child(2) .mask::after {
            animation-delay: 0.12s;
          }
          &:nth-child(3) .mask::after {
            animation-delay: 0.24s;
          }
          &:nth-child(4) .mask::after {
            animation-delay: 0.36s;
          }
          @media (max-width: 767px) {
            width: 47px;
            height: 60px;
          }
        }
        &.spinning .in-core .mask {
          opacity: 1;
        }
      }
      .validaion-error {
        padding: 0 !important;
        text-align: center;
        font-size: clamp(
          14.76px,
          calc(14.76px + 1.24 * (100vw - 680px) / 520),
          16px
        );
        @media (min-width: 1440px) {
          font-size: clamp(
            16px,
            calc(16px + 2.82 * (100vw - 1440px) / 160),
            18.82px
          );
        }
      }
      .error {
        .verifyButtons {
          .in-core {
            input {
              border-color: #ef4444 !important;
              &::placeholder {
                color: #ef4444 !important;
              }
            }
          }
        }
      }
      .verification-code-resend {
        margin-bottom: 30px;
        strong {
          font-weight: normal;
          color: #0f0c36;
        }
        span {
          color: #606e84;
        }
      }
      .not-send {
        span {
          color: #0f0c36;
        }
        a {
          font-weight: normal;
          color: #606e84;
        }
      }
    }
  }
  .footer-content-inner {
    margin: 0 !important;
    @media (max-width: 440px) {
      opacity: 0;
    }
    span,
    a {
      font-size: clamp(
        13.84px,
        calc(13.84px + 1.16 * (100vw - 680px) / 520),
        15px
      ) !important;
      @media (min-width: 1440px) {
        font-size: clamp(
          15px,
          calc(15px + 2.63 * (100vw - 1440px) / 160),
          17.63px
        ) !important;
      }
    }
  }
}

.right-pinCode {
  p {
    @media (max-width: 767px) {
      max-width: 305px;
      margin: auto;
    }
  }
}

@keyframes otpShimmer {
  0% {
    background-position: 150% 0;
  }
  100% {
    background-position: -50% 0;
  }
}

/* Replaces the old rotating-circle loader with the shimmer skeleton above for this OTP widget only. */
.verifyButtons.spinning:before,
.verifyButtons.spinning:after {
  content: none !important;
}

.right-content {
  height: auto !important;
  min-height: initial !important;
}

[dir="ltr"] .in-check-agree .form-check-label:before {
  right: auto;
  left: 8.5px;
}

[dir="ltr"] .in-check-agree .form-check-label:after {
  right: auto;
  left: 0;
}
/* 
.input-group-wrapper {
  position: relative;
  margin-top: 25px;
  display: flex;
  align-items: center;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  background: #fff;
  transition: all 0.3s ease;
  height: 60px;
  padding: 0 20px;

  &.n-phone {
    span {
      display: inline-block;
      border-inline-start: 1px solid #0f0c36;
      padding-inline-start: 10px;
      line-height: 15px;
    }
    .floating-input {
      padding-inline-end: 10px;
      &::placeholder {
        text-align: end;
      }
    }
  }

  &:focus-within {
    border-color: #292d32;
  }

  svg {
    width: 24px;
    height: 24px;
  }

  .floating-input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    z-index: 2;

    &::placeholder {
      opacity: 0;
      transition: opacity 0.2s ease;
      text-align: right;
      color: #dbe0e9;
    }

    &:focus::placeholder {
      opacity: 1;
    }

    &:focus ~ .floating-label,
    &:not(:placeholder-shown) ~ .floating-label {
      top: 0;
      transform: translateY(-50%);
      z-index: 3;
    }
  }

  .floating-label {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: 0f0c36;
    margin: 0 !important;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 1;
    background: #fff;
    padding: 0 10px;
  }
} */

.code-verify-in {
  .verifyButtons {
    flex-direction: row-reverse;
  }
}

/* Plans grid mobile carousel */
@media (max-width: 1200px) {
  .plans-grid-wrapper {
    /* scroll-snap-type: x mandatory; */
    /* padding-inline-start: 20px; */
    /* scroll-padding-inline-start: 20px; */
  }
  .plans-grid-wrapper .plans-subscription {
    /* padding-inline: 0 !important; */
  }
  /* .plans-grid-wrapper .plans-subscription .card-plan {
    scroll-snap-align: start;
  } */
  /* .plans-grid-wrapper .plans-subscription .card-plan:last-child {
    margin-inline-end: 20px;
  } */
}

.input-group {
  &:focus-within {
    border-color: #0f0c36 !important;
  }

  &:has(input:not(:placeholder-shown)) {
    border-color: #0f0c36 !important;
  }
}

.change-phone-modal {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 0 !important;
  overflow: hidden !important;
  .modal-content {
    box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.05);
    border-radius: 20px !important;
    overflow: hidden;
    .modal-header {
      .close {
        margin: 0 !important;
        background-color: #e42219;
        width: 75px;
        height: 75px;
        @media (max-width: 767px) {
          width: 55px;
          height: 55px;
        }
      }
    }
    .modal-body {
      .view-change-phone {
        max-width: 400px;
        margin: auto;
        .icon-phone {
          margin-bottom: 20px;
          @media (max-width: 767px) {
            margin-bottom: 25px !important;
          }
          svg {
            @media (max-width: 767px) {
              width: 60px;
              height: 60px;
            }
          }
        }
        h4 {
          font-family: "IBM Plex Sans Arabic";
          font-size: 24px;
          font-weight: bold;
          color: #0f0c36;
          margin-bottom: 20px !important;
          @media (max-width: 767px) {
            font-size: 16px;
            margin-bottom: 15px !important;
          }
        }
        p {
          font-family: "IBM Plex Sans Arabic";
          font-size: 20px;
          color: #606e84;
          margin-bottom: 20px !important;
          @media (max-width: 767px) {
            font-size: 14px;
            margin-bottom: 15px !important;
          }
        }
        .edit-phone-form {
          .fox-form-in {
            margin-bottom: 20px !important;
            /* input {
              text-align: end;
            } */
          }
          button {
            border-radius: 100px;
            height: 60px;
            background-color: #0f0c36;
            text-align: center;
            margin-bottom: 100px !important;
            @media (max-width: 767px) {
              margin-bottom: 20px !important;
              height: 44px;
            }
            &:hover {
              color: #fff !important;
            }
            .btn-loader {
              --color-1: #fff;
              --color-2: #0f0c36;
              --size: 0.5px;

              width: calc(48 * var(--size));
              height: calc(48 * var(--size));
              border: calc(5 * var(--size)) solid var(--color-1);
              border-bottom-color: var(--color-2);
              border-radius: 50%;
              display: inline-block;
              box-sizing: border-box;
              animation: rotation 1s linear infinite;
            }
          }
        }
      }
    }
  }
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
