/* ============================================
   SYSTEM FONTS - English Digits Only
   All Persian/IranYekan fonts replaced with system fonts
   ============================================ */

/* System font stack - works on all platforms */
:root {
    --font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

/* Override IranYekan with system fonts for backwards compatibility */
@font-face {
    font-family: IranYekan;
    src: local('-apple-system'), local('BlinkMacSystemFont'), local('Segoe UI'), local('Roboto'), local('Arial');
}

/* Force system fonts everywhere */
html, body, * {
    font-family: var(--font-system) !important;
}

/* Force English digits for ALL inputs across the entire site */
input, textarea, select,
input[type="text"], input[type="number"], input[type="tel"], input[type="password"], input[type="email"],
.just-accept-mobile-number, .just-national-code, .just-number,
.form-control, .input-group input,
#PhoneNumber, #MobileNumber, #NationalCode {
    font-family: var(--font-system) !important;
    font-variant-numeric: lining-nums tabular-nums !important;
    font-feature-settings: "lnum" 1, "tnum" 1 !important;
    -moz-font-feature-settings: "lnum" 1, "tnum" 1 !important;
    -webkit-font-feature-settings: "lnum" 1, "tnum" 1 !important;
}

/* Force LTR for numeric inputs */
input[inputmode="numeric"], input[inputmode="tel"], input[type="number"], input[type="tel"],
.just-accept-mobile-number, .just-national-code, .just-number {
    direction: ltr !important;
    text-align: left !important;
}

html {
    --navy-blue: #141A51;
    --blue-900: #21254E;
    --blue-500: #2C3EB1;
    --blue-400: #5473FF;
    --white: #fff;
    --primary-1: #4981FD;
    --yellow-900: #FFCC0E;
    --secondary: #FFC327;
    --yellow-700: #FFC327;
  }
  
  .text-yellow-700 {
    color: var(--yellow-700);
  }
  .text-navy-blue {
    color: var(--navy-blue);
  }
  .text-blue-500 {
    color: var(--blue-500);
  }

  body {
    font-family: var(--font-system) !important;
  }
  a {
    text-decoration: none;
  }
  button, ul {
    all: unset;
  }
  .input-group__label .form-control {
    border-left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 10px !important;
    border-bottom-right-radius: 10px !important;
    border-color: var(--blue-500);
  }
  .input-group__label .input-group-text {
    border-right: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 10px !important;
    border-bottom-left-radius: 10px !important;
    border-color: var(--blue-500);
  }

.header, .aside {
  position: relative;
  z-index: 1;
}

  .header {
    padding: 12.5px 20px;
    background-color: var(--navy-blue);
  }
  .header__user img {
      width: 35px;
      height: 35px;
      border-radius: 50%;
  }
.user-menu svg {
  transform: rotate(0);
  transition: transform 300ms;
}
.user-menu--active svg {
  transform: rotate(180deg);
}
.user-menu-dropdown {
  width: 187px;
  top: calc(100% + 22px);
  left: 0;
  font-size: 14px;
  box-shadow: 0px 3px 6px #00000029;
}
.user-menu-dropdown .fa:before {
  font-size: 18px;
}
.user-menu .user-menu-dropdown {
  display: none;
}
.user-menu--active .user-menu-dropdown {
  display: flex;
}
  .notification__dot {
    top: 0;
    left: 100%;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: radial-gradient(#fff, #fff 40%, var(--primary-1) 40%);
  }
.notification-container {
  display: none;
  background: #EEF0F4;
  width: 365px;
  top: calc(100% + 22px);
  left: 0;
  box-shadow: 0px 3px 6px #00000029;
  padding: 15px 20px;
}
.notification-container .fa:before {
  font-size: 24px;
}
.notification-description {
  font-size: 13px;
}
.notifications--active .notification-container {
  display: flex;
} 
  .bg-overlay {
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
  }
  .aside {
    top: 0;
    left: -100%;
    width: 235px;
    background-color: var(--navy-blue);
    transition: left 400ms;
    padding: 52px 15px;
    border-right: 1px solid #FFFFFFC4;
  }
  .aside--open {
    left: 0;
  }
  .nav-pills-sidebar .nav-link {
    text-align: left;
    color: var(--white);
  }
  .nav-pills-sidebar .nav-link.active {
    color: var(--secondary) !important;
    background-color: rgba(255, 255, 255, .1);
  }
  .nav-pills-sidebar .nav-link.active path, .nav-pills-sidebar .nav-link.active rect {
    fill: var(--secondary);
  }
  .main {
    padding: 30px 20px;
    background: #EEF0F4;
    overflow: hidden;
  }
  .h-logo {
    height: 38px;
    font-size: 25px;
    margin-bottom: 20px;
  }
  .w-table__header div {
    flex-shrink: 0;
  }
  
  /*** register contract ***/
  .rc-header a {
    background: var(--yellow-900);
  }
  .rc-col-top {
    background: linear-gradient(194deg, #141A51, #2C3EB1);
    border-bottom-left-radius: 125px;
    border-bottom-right-radius: 125px;
  }
  .rc-col-top-text {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
  }
  .rc-col-times button {
    background: linear-gradient(238deg, rgba(20, 26, 81), rgba(31, 27, 244));
    border-radius: 10px;
    color: #fff;
  }
  .rc-col-eff svg {
    transform: rotate(90deg);
  }
  .rc-register-order-btn {
    background: var(--navy-blue);
  }
  .rc-col--deactive {
    color: rgba(47, 46, 68, .8);
  }
  .rc-col-top--deactive {
    background: linear-gradient(194deg, #919190, #2F2E44);
  }
  .rc-col-times--deactive button {
    background: linear-gradient(238deg, #2F2E44, #919190);
  }
  .rc-col-top-label {
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    background: #2F2E44;
    border-radius: 18px;
  }
  .rc-register-order-btn--deactive {
    background: rgba(47, 46, 68, .7);
  }


  /*** contracts ***/
  .cd-container {
    background: rgba(84, 115, 255, .2);
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.16);
  }
  .contract-info {
    box-shadow: 0px 3px 10px #0000004A;
  }
  .contract-info-divider {
    border-bottom: 1px dashed #1F1BF4;
  }
  .cancel-contract {
    background: #67697429;
  }
  .cd-container .nav-link {
    color: var(--blue-500);
  }
  .cd-container .nav-link.active {
    background: var(--blue-500);
  }


  /*** profile ***/
  .doc-upload-wrapper {
    border: 1px dashed #141A51B2;
    background: #F3F4F5A3;
  }
  .doc-upload-wrapper button {
    border: 1px solid var(--navy-blue);
    padding: 12px 32px;
    font-size: 12px;
  }


  /*** sign ***/
  .sign-page {
    min-height: 100vh;
    background: linear-gradient(#3B4B7F 50%, #FFC327 50%);
  }
  .sign-page-bg {
    min-height: 100vh;
  }
  .sp-col1 {
    background: #FFC327;
    border-top-left-radius: 25%;
  }
  .sp-col2 {
    background: #3B4B7F;
    border-bottom-right-radius: 25%;
  }
  .sign-page-main {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .sign-page-main .d-xl-none {
    margin-left: auto;
    margin-right: auto;
  }
  .sign-page-content {
    background: #F3F1F1;
    border-radius: 25px;
    box-shadow: 0px 3px 15px #2C3EB15E;
  }
  .sign-page-content .tab-content {
    border-radius: 25px;
  }
  .sign-page-content button {
    background: var(--blue-500);
  }
  .sign-page-content .nav-tabs {
    border: unset;
  }
  .sign-page-content .nav-link {
    border: unset;
  }
  .sign-page-content .nav-link.active {
    position: relative;
    background: transparent;
  }
  .sign-page-content .nav-link.active:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 2px;
    background: var(--navy-blue);
  }
  .sign-page-content label {
    color: var(--blue-500);
  }
  .forget-password {
    font-size: 12px;
  }
  .sign-wrapper {
    width: 80vw;
    background: linear-gradient(var(--navy-blue) 50%, #EEF0F4 50%);
    border-radius: 30px;
  }
  .sign-wrapper-col1 {
    background: #EEF0F4;
    border-top-left-radius: 30px;
  }
  .sign-wrapper-col2 {
    background: var(--navy-blue);
    border-bottom-right-radius: 30px;
  }


  /*** footer ***/
  .footer {
    background: var(--navy-blue);
    padding-bottom: 100px !important;
  }
  
  @media (min-width: 576px) {
    .rc-col-top {
      height: 164px;
    }
    .rc-col-top img {
      width: 140px;
      height: 140px;
    }
    .cancel-contract__item {
      font-size: 14px;
    }
    .sign-page-content {
      width: 485px;
    }
    .signup-btn {
      padding-left: 130px;
      padding-right: 130px;
    }
  }
  @media (min-width: 1024px) {
    .main {
      padding: 20px 30px;
      padding-left: 265px;
      min-height: calc(100vh - 80px);
    }
    .aside {
      left: 0 !important;
    }
    .header {
      padding-top: 13px;
      padding-bottom: 13px;
    }
    .header__user img {
      width: 40px;
      height: 40px;
    }
    .h-logo {
      height: 80px;
      margin-bottom: 5px !important;
    }
    .footer {
      padding-right: 235px !important;
    }
  }
  @media (min-width: 1200px) {
    .rc-row > div {
      flex-grow: 1;
    }
  }
  @media (min-width: 1440px) {
    .doc-upload-row {
      margin-bottom: 2rem;
    }
    .doc-upload__item:first-child {
      padding-left: 3rem;
    }
    .doc-upload__item:last-child {
      padding-right: 3rem;
    }
  }
  @media (max-width: 1439px) {
    .doc-upload__item {
      width: 100%;
      margin-bottom: 2rem;
    }
  }
  @media (max-width: 1199px) {
    .rc-row > div {
      width: 100%;
    }
    .sign-page {
      background: var(--navy-blue);
    }
    .sign-wrapper {
      width: 485px;
    }
    .sign-wrapper-col1 {
      width: 100%;
      padding-bottom: 0 !important;
    }
    .sign-wrapper-col2 {
      display: none !important;
    }
  }
  @media (max-width: 1023px) {
    .main {
      min-height: calc(100vh - 60px);
    }
  }
  @media (max-width: 575px) {
    .rc-before {
      font-size: 11px;
    }
    .rc-col-top {
      height: 113px;
    }
    .rc-col-top img {
      width: 96px;
      height: 96px;
    }
    .doc-upload-wrapper svg {
      width: 120px;
      height: 120px;
    }
    .doc-upload-wrapper button {
      padding: 4px 8px;
      font-size: 10px;
      border-radius: 8px;
    }
    .doc-upload__item {
      margin-bottom: 1rem;
    }
    .sign-page-content {
      max-width: 320px;
      width: 100%;
    }
    .signup-btn {
      width: 100%;
    }
    .sign-wrapper {
      max-width: 320px;
      width: calc(100vw - 40px);
    }
  }

  .cursor-pointer {
    cursor: pointer;
  }
  .font-20 {
    font-size: 20px;
  }
  .font-weight-bold {
    font-weight: 700;
  }
  .font-weight-medium {
    font-weight: 500;
  }
  .rounded-4 {
    border-radius: .5rem;
  }
  .rounded-5 {
    border-radius: 10px;
  }

  .d-statistics {
    row-gap: 20px;
  }
  .d-statistics__item {
    padding: 10px 16px;
    border-radius: 10px;
    box-shadow: 0px 3px 6px #0000002B;
    color: var(--navy-blue);
    font-size: 12px;
  }
  .d-statistics__price {
    margin-top: 15px;
    font-weight: 700;
  }
  .d-statistics__price-num {
    font-size: 15px;
  }
  
  .d-banner {
    margin-top: 20px;
    row-gap: 20px;
  }
  .d-banner__img1 {
    padding-bottom: 62.5%;
    border-radius: 15px;
  }
  .d-banner__img2 {
    border-radius: 15px;
  }
  .d-banner__img {
    object-fit: cover;
  }
  .d-banner__item2 {
    background: var(--blue-900);
    border-radius: 10px;
  }
  .d-banner__item2 .tooman-label {
    font-size: 14px;
  }
  .d-banner__item2 .border-bottom {
    border-color: #FFFFFF49 !important;
  }
  
  
  @media (min-width: 576px) {
    .d-statistics__item-wrapper {
      padding-left: 12px;
      padding-right: 12px;
    }
  }
  
  @media (min-width: 1024px) {
    .d-banner {
      margin-top: 30px;
      column-gap: 24px;
    }
  }
  
  @media (max-width: 767px) {
    .d-banner__img2 {
      padding-bottom: 110%;
    }
  }
  
  @media (max-width: 1023px) {
    .d-banner {
      flex-wrap: wrap;
    }
    .d-banner__item {
      width: 100%;
    }
  }

  .m-card-container {
    row-gap: 20px;
}
.m-card {
    border-radius: 10px;
    background: linear-gradient(232deg, #141A51, #1F1BF4);
    padding: 10px;
}
.m-invite {
    background: #1B55E224;
}
@media (min-width: 576px) {
    .m-card-wrapper {
        padding-left: 12px;
        padding-right: 12px;
    }
    .m-card {
        padding: 20px;
    }
    .m-invite-link {
        font-size: 15px;
    }
}
@media (min-width: 1200px) {
    .m-card-title {
        margin-bottom: 42px;
    }
    .sign-page-main {
      position: absolute;
    }
}
@media (max-width: 1199px) {
    .m-card svg {
        width: 42px;
    }
    .m-card-title {
        margin-bottom: 16px;
    }
    .sign-page-main {
      transform: unset;
    }
    .sign-wrapper {
      margin-left: auto;
      margin-right: auto;
    }
}
@media (max-width: 575px) {
    .m-invite-link {
        font-size: 11px;
    }
}

.w-transaction__item {
    box-shadow: 0px 3px 10px #00000029;
    border-radius: 10px;
    padding: 10px 15px;
  }
  .w-transaction__info {
    background: linear-gradient(78deg, #43C6AC, #2C3EB1);
  }
  .w-table__header {
      border-radius: 10px;
      background: rgba(84, 115, 255, .2);
  }
  .w-table-container {
    border: 1px solid var(--navy-blue);
    border-radius: 10px;
    height: 294px;
  }
  
  @media (min-width: 576px) {
    .w-transaction__header {
      font-size: 20px;
    }
    .w-transaction__header img {
      width: 24px;
      height: 24px;
    }
    .w-transaction__info {
      border-radius: 10px;
    }
  }
  @media (min-width: 1024px) {
    .w-transaction__item {
      padding: 20px 24px;
    }
  }
  @media (min-width: 1440px) {
    .w-transaction__item {
      padding-left: 95px;
      padding-right: 95px;
    }
  }
  @media (max-width: 575px) {
    .w-transaction__header {
      font-size: 14px;
    }
    .w-transaction__info {
      border-radius: 7px;
      font-size: 12px;
    }
    .w-transaction__info svg {
      width: 31px;
      height: 23px;
    }
    .w-transaction__label {
      font-size: 10px;
    }
    .w-transactions .input-group-text {
      font-size: 12px;
    }
    .w-table-container {
      height: 140px;
    }
    .w-table__description {
      font-size: 10px;
    }
  }

  .page-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy-blue);
    margin-bottom: 30px;
  }
  
  @media (min-width: 1024px) {
    .page-title {
      font-size: 25px;
    }
  }
  @media (max-width: 575px) {
    .body {
      font-size: 12px;
    }
    .notification-container {
      width: 280px;
      padding: 10px 15px;
      font-size: 14px;
    }
    .notification-description {
      font-size: 11px;
    }
    .contract-info svg {
      width: 6px;
      height: 12px;
    }
    .cancel-contract__item {
      font-size: 10px;
    }
    .cancel-contract__item svg {
      width: 24px;
      height: 24px;
    }
  }

  