/* Base Styles */
body {
  font-family: "IBM Plex Sans Arabic", sans-serif;
}
a,
button {
  cursor: pointer;
  background-color: transparent;
  border: 0;
  outline: none;
  display: flex;
  padding: 0;
  margin: 0;
  &:focus {
    outline: none;
    box-shadow: none;
  }
}
.gap-1 {
  gap: 5px;
}
.gap-2 {
  gap: 10px;
}
.gap-3 {
  gap: 15px;
}
.modal-content {
  border-radius: 20px 20px 0 0 !important;
}

.bg-dark {
  background-color: #000 !important;
}

.be-toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 27px;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}
.be-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.be-toggle .be-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #dbe0e9;
  border-radius: 35px;
  transition: 0.4s;
}
.be-toggle .be-toggle-slider::before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  transition: 0.4s;
}
.be-toggle input:checked + .be-toggle-slider {
  background-color: #0f0c36;
}
.be-toggle input:checked + .be-toggle-slider::before {
  transform: translate(20px, -50%);
}
.be-toggle.be-border .be-toggle-slider {
  border: 1px solid #0f0c36;
  background-color: transparent;
}
.be-toggle.be-border .be-toggle-slider::before {
  background-color: #0f0c36;
}
.be-toggle.be-border input:checked + .be-toggle-slider {
  background-color: #0f0c36;
}
.be-toggle.be-border input:checked + .be-toggle-slider::before {
  background-color: #fff;
  transform: translate(20px, -50%);
}

.modal.fade .modal-dialog {
  transform: translateY(100%);
  transition: transform 0.4s ease-out;
}

.modal.show .modal-dialog {
  transform: translateY(0);
}

.modal-header {
  h4,
  h6 {
    @media (max-width: 767px) {
      font-size: 17px !important;
    }
  }
}

/* Nav Tabs */
.style-tabs {
  justify-content: center;
  border: 0;
  border: 1px solid #0f0c36;
  border-radius: 20px !important;
  margin: auto;
  width: fit-content;
  gap: 10px;
  padding: 10px;
  @media (max-width: 767px) {
    gap: 2px;
  }
  li {
    a {
      border: 0 !important;
      background-color: transparent;
      color: #0f0c36;
      padding: 10px 25px;
      border-radius: 20px !important;
      font-family: "IBM Plex Sans Arabic", sans-serif;
      &.active {
        background-color: #0f0c36 !important;
        color: #fff !important;
      }
    }
  }
}

/* Subscription Page */
.subscription-page {
  /* Subscription Header */
  .subscription-header {
    text-align: center;
    padding: 50px 10px 20px;
    h1 {
      font-size: clamp(1.25rem, 2.5vw, 1.5rem);
      color: #0f0c36;
      font-weight: 600;
    }
    p {
      font-size: 16px;
      color: #606e84;
    }
  }
  /* Subscription Body */
  .subscription-body {
    overflow: hidden;
    .plans-grid-wrapper {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      &::-webkit-scrollbar {
        display: none;
      }

      @media (min-width: 1201px) {
        overflow-x: visible;
      }
      .plans-subscription {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        padding: 20px 40px;
        @media (max-width: 1200px) {
          grid-template-columns: repeat(4, minmax(320px, 1fr));
          padding: 20px 20px;
        }
        .card-plan {
          background: #fff;
          border: 1px solid #dbe0e9;
          border-radius: 5px;
          padding: 50px 30px;
          position: relative;
          transition: all 0.3s ease;
          &:hover {
            transform: translateY(-3px);
          }
          .popular-plan {
            position: absolute;
            top: -20px;
            left: 35px;
            background-color: #ffeb95;
            color: #000;
            border-radius: 20px;
            padding: 8px 30px;
            font-size: 14px;
            font-weight: 400;
            html[dir="ltr"] & {
              left: auto;
              right: 35px;
            }
          }
          .head-card {
            h5 {
              font-size: 30px;
              font-weight: 600;
              margin: 25px 0;
              margin-bottom: 10px;
              font-family: inherit !important;
            }
            .t-prices {
              gap: 7px;
              .monthly {
                position: relative;
                top: 10px;
                span {
                  font-size: 20px;
                  color: #0f0c36;
                  font-family: inherit !important;
                  display: inline-block;
                  html[dir="rtl"] & {
                    direction: ltr;
                  }
                  html[dir="ltr"] & {
                    direction: rtl;
                  }
                }
              }
              .p-price {
                gap: 10px;
                strong {
                  color: #0f0c36;
                  font-size: 60px;
                  font-weight: 600;
                  font-family: inherit !important;
                }
                svg {
                  position: relative;
                  top: 10px;
                }
              }
            }
          }
          .block-plan {
            .plan-period {
              display: block;
              font-size: 16px;
              color: #8b89c2;
              text-align: center;
              margin-bottom: 10px;
            }
            .plan-btn {
              width: 100%;
              border-radius: 20px;
              background-color: transparent;
              border: 1px solid #0f0c36;
              color: #0f0c36;
              font-weight: 400;
              font-size: 20px;
              padding-inline: 10px;
              height: 55px;
              display: flex;
              align-items: center;
              justify-content: center;
              gap: 10px;
              cursor: pointer;
              transition: all 0.3s ease;
              outline: none;
              &:hover {
                background-color: #0f0c36;
                color: #fff;
                svg {
                  path {
                    fill: #fff;
                  }
                }
              }
            }
            .features-list {
              list-style: none;
              padding: 0;
              margin: 0;
              margin-top: 30px;
              display: flex;
              flex-direction: column;
              gap: 20px;
              li {
                display: flex;
                align-items: center;
                gap: 10px;
                font-size: 16px;
                color: #0f0c36;
              }
            }
          }
        }
      }
    }
  }
  /* Footer CTA */
  .footer-cta {
    text-align: center;
    padding: 2.5rem 1.5rem 1.5rem;
    p {
      color: #606e84;
      margin: 0;
    }
    .compare-btn {
      display: inline-block;
      margin-top: 20px;
      background: #0f0c36;
      border: 1px solid #0f0c36;
      color: #fff;
      padding: 13px 60px;
      border-radius: 20px;
      font-size: 1rem;
      font-weight: 400;
      cursor: pointer;
      outline: none;
      transition:
        background 0.2s,
        transform 0.15s;
      &:hover {
        background: transparent;
        color: #0f0c36;
        transform: translateY(-1px);
      }
    }
  }
}

/* Footer */
.footer-content-inner {
  padding: 1.2rem 2rem;
  text-align: center;
  font-size: 0.78rem;
  color: #0f0c36;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.2rem;
  a {
    color: #606e84;
    text-decoration: underline;
    border-right: 1px solid #606e84;
    padding-right: 10px;
    html[dir="ltr"] & {
      border-right: none;
      border-left: 1px solid #606e84;
      padding-right: 0;
      padding-left: 10px;
    }
    &:hover {
      color: #0f0c36;
    }
  }
}

/* Price Comparison Modal */
.price-comparison-modal {
  .modal-dialog {
    max-width: 85% !important;
    margin: 0 auto 0 !important;
    align-items: end !important;
    min-height: 100% !important;
    @media (max-width: 767px) {
      max-width: 100% !important;
    }
    .modal-header {
      padding: 30px;
      h4 {
        font-size: 20px;
        font-weight: 500;
        color: #0f0c36;
        font-family: inherit !important;
      }
    }
    .modal-body {
      padding-inline: 35px !important;
      padding-block: 0;
      @media (max-width: 767px) {
        padding-inline: 20px !important;
      }
      .tab-comparison-modal {
        display: none !important;
        @media (max-width: 767px) {
          display: flex !important;
        }
      }
      .plans-subscription {
        display: flex;
        align-items: center;
        gap: 10px;
        justify-content: flex-end;
        .flex-space {
          flex: 2;
        }
        .card-plan {
          /* min-width: 270px; */
          flex: 1;
          background: #fff;
          border: 1px solid #dbe0e9;
          border-radius: 25px 25px 0 0;
          padding: 30px 0;
          position: relative;
          text-align: center;
          transition: all 0.3s ease;
          .popular-plan {
            position: absolute;
            top: -18px;
            left: 25px;
            background-color: #ffeb95;
            color: #000;
            border-radius: 15px;
            padding: 6px 15px;
            font-size: 13px;
            font-weight: 400;
            html[dir="ltr"] & {
              left: auto;
              right: 25px;
            }
          }
          .head-card {
            h5 {
              font-size: 25px;
              font-weight: 600;
              margin: 15px 0;
              font-family: inherit !important;
            }
            .t-prices {
              gap: 7px;
              .monthly {
                span {
                  font-size: 22px;
                  color: #0f0c36;
                  font-family: inherit !important;
                  display: inline-block;
                  html[dir="rtl"] & {
                    direction: ltr;
                  }
                  html[dir="ltr"] & {
                    direction: rtl;
                  }
                }
              }
              .p-price {
                gap: 8px;
                strong {
                  color: #0f0c36;
                  font-size: 25px;
                  font-weight: 400;
                  font-family: inherit !important;
                }
              }
            }
          }
        }
      }
      .list-collapsable {
        max-height: 500px;
        overflow-y: auto;
        .panel {
          margin-top: 10px;
          .panel-heading {
            background-color: #dbe0e9;
            border-radius: 15px;
            padding: 20px 25px;
            cursor: pointer;
            @media (max-width: 767px) {
              padding: 15px;
            }
            h4 {
              font-size: 16px;
              font-weight: 600;
              font-family: inherit !important;
              @media (max-width: 767px) {
                font-size: 15px;
              }
            }
            svg {
              transition: transform 0.3s ease;
              @media (max-width: 767px) {
                width: 13px;
                height: 13px;
              }
            }

            &[aria-expanded="true"] {
              svg {
                transform: rotate(180deg);
              }
            }
          }
          .panel-collapse {
            &.show {
              display: block !important;
            }
            .panel-body {
              .p-dix {
                padding: 20px 25px;
                border-radius: 20px;
                &:nth-child(even) {
                  background-color: #eff3fa;
                }
                h4 {
                  flex: 2;
                  font-size: 15px;
                  font-weight: 400;
                  font-family: inherit !important;
                }
                span {
                  flex: 1;
                  text-align: center;
                  font-size: 13px;
                }
              }
            }
          }
        }
      }
    }
  }
}

/* Choose Device Modal */
.choose-device-modal {
  scrollbar-width: none;
  -ms-overflow-style: none;

  &::-webkit-scrollbar {
    display: none;
  }
  .modal-dialog {
    max-width: 1100px;
    margin: 1.75rem auto 0;
    align-items: end;
    min-height: calc(100% - (1.75rem));
    overflow: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;

    &::-webkit-scrollbar {
      display: none;
    }

    .modal-body {
      @media (max-width: 767px) {
        padding-bottom: 155px;
      }
      .list-device {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 30px 20px;
        max-height: 500px;
        overflow-y: auto;
        @media (max-width: 1200px) {
          grid-template-columns: 1fr;
          gap: 10px;
          max-height: 350px;
        }
        .card-device {
          border-radius: 20px;
          border: 1px solid #e6e6e7;
          overflow: hidden;
          .content-device {
            @media (max-width: 767px) {
              display: flex;
              align-items: center;
              padding: 0 15px;
              gap: 10px;
            }
            .head-device {
              text-align: center;
              img {
                width: 150px;
                height: 150px;
                object-fit: contain;
                @media (max-width: 767px) {
                  width: 115px;
                  height: 115px;
                }
              }
            }
            .body-device {
              padding: 0 15px;
              margin-bottom: 30px;
              @media (max-width: 767px) {
                flex: 1;
                padding: 0;
              }
              h4 {
                font-size: 18px;
                font-weight: 700;
                margin-bottom: 50px;
                margin-top: 20px;
                text-align: center;
                @media (max-width: 767px) {
                  text-align: start;
                  margin-bottom: 30px;
                }
              }
              .price-device {
                @media (max-width: 767px) {
                  flex-direction: row-reverse;
                }
                .counter-device {
                  gap: 15px;
                  button {
                    width: 30px;
                    height: 30px;
                    border-radius: 50%;
                    border: 1px solid #0f0c36;
                    background-color: transparent;
                    color: #0f0c36;
                    font-size: 16px;
                    font-weight: 400;
                    cursor: pointer;
                    outline: none;
                    transition: all 0.3s ease;
                    align-items: center;
                    justify-content: center;
                  }
                }
                strong {
                  color: #0f0c36;
                  font-size: 16px;
                  font-weight: 400;
                }
              }
            }
          }
          .footer-device {
            .btn-device {
              width: 100%;
              display: flex;
              align-items: center;
              justify-content: center;
              gap: 10px;
              padding: 0 20px;
              height: 55px;
              font-size: 16px;
              font-weight: 400;
              cursor: pointer;
              outline: none;
              transition: all 0.3s ease;
              &.add {
                background-color: #0f0c36;
                border: 1px solid #0f0c36;
                color: #fff;
              }
              &.done {
                background-color: #08aa7f;
                border: 1px solid #08aa7f;
                color: #fff;
              }
            }
          }
        }
      }
    }
  }
}

.end-footer-modal {
  margin-top: 30px;
  gap: 10px;
  @media (max-width: 767px) {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    background-color: #fff;
    padding: 20px 25px;
    box-shadow: 0 -4px 15px 0 rgba(0, 0, 0, 0.05);
    border-radius: 10px 10px 0 0;
    z-index: 9;
    flex-direction: column;
  }
  button {
    height: 60px;
    width: 240px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 400;
    outline: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    @media (max-width: 767px) {
      width: 100%;
      flex: none !important;
      font-size: 14px;
    }
    &:hover {
      transform: scale(0.98);
    }
    &.btn-continue {
      background-color: #0f0c36;
      border: 1px solid #0f0c36;
      color: #fff;

      svg {
        html[dir="ltr"] & {
          rotate: 180deg;
        }
      }
    }
    &.btn-skip {
      background-color: transparent;
      border: 1px solid #0f0c36;
      color: #0f0c36;
    }
  }
}

.end-footer-logos {
  @media (max-width: 767px) {
    display: none !important;
  }
  p {
    font-size: 14px;
    color: #000;
  }
}

.inpay-logos {
  display: none !important;
  @media (max-width: 767px) {
    display: block !important;
  }
  .i-logo-center {
    svg {
      border: 1px solid #fff;
      border-radius: 50%;
      &:last-child {
        margin-inline-start: -15px;
      }
    }
  }
  p {
    font-size: 10px;
    color: #000;
  }
}

.logos-installments {
  @media (min-width: 768px) {
    display: none !important;
  }
  .gap-3 {
    gap: 25px;
  }
  p {
    font-size: 10px;
  }
  .logos-in {
    position: relative;
    display: flex;
    align-items: center;
    svg {
      position: relative;
      border: 1px solid #fff;
      border-radius: 50%;
      &:nth-child(1) {
        z-index: 9;
      }
      &:nth-child(2) {
        position: absolute;
        top: 50%;
        inset-inline-start: 15px;
        transform: translateY(-50%);
      }
    }
  }
}

.form-add {
  label {
    font-size: 18px;
    color: #0f0c36;
    display: block;
    margin-bottom: 8px;
  }

  input {
    width: 100%;
    height: 60px;
    border-radius: 20px;
    border: 1px solid #dbe0e9;
    padding: 0 20px;
    font-size: 18px;
    font-weight: 400;
    outline: none;
    transition: all 0.3s ease;
    background-color: #fff;
    @media (max-width: 767px) {
      font-size: 14px;
      height: 50px;
    }

    &::placeholder {
      color: #dbe0e9;
      transition: opacity 0.3s ease;
      @media (max-width: 767px) {
        font-size: 13px;
      }
    }

    &:focus {
      border-color: #0f0c36;
      &::placeholder {
        opacity: 0;
      }
    }

    &:not([type="date"]) {
      &:not(:placeholder-shown) {
        border-color: #0f0c36;
      }
    }

    &[type="date"] {
      color: #dbe0e9;
      html[dir="rtl"] & {
        text-align: right;
      }

      &:invalid {
        border-color: #dbe0e9;
      }

      &:focus {
        border-color: #0f0c36;
        color: #0f0c36;
      }

      &:valid {
        border-color: #0f0c36;
        color: #0f0c36;
      }
    }
  }
}

.add-form-payment {
  border-bottom: 1px solid #dbe0e9;
  margin-bottom: 30px;
  .form-add {
    input {
      flex: 2;
    }
    button {
      background-color: #0f0c36;
      border: 1px solid #0f0c36;
      color: #fff;
      height: 60px;
      border-radius: 20px;
      font-size: 16px;
      font-weight: 400;
      outline: none;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 5px;
      flex: 1;
      @media (max-width: 767px) {
        font-size: 14px;
        height: 50px;
      }
    }
  }
}

.form-bank-bird {
  h6 {
    font-size: 18px;
    font-weight: 700;
    color: #0f0c36;
    @media (max-width: 580px) {
      font-size: 15px;
    }
  }
  .input-filed {
    label {
      font-size: 18px;
      color: #0f0c36;
      display: block;
      margin-bottom: 8px;
      @media (max-width: 580px) {
        font-size: 15px;
      }
    }
    .in-border {
      width: 100%;
      height: 60px;
      border-radius: 20px;
      border: 1px solid #dbe0e9;
      padding: 0 20px;
      font-size: 18px;
      font-weight: 400;
      outline: none;
      transition: all 0.3s ease;
      background-color: #fff;
      @media (max-width: 580px) {
        font-size: 14px;
      }
    }
  }
}

.attach-receipt {
  .head-receipt {
    h5 {
      font-size: 18px;
      font-weight: 700;
      color: #0f0c36;
      @media (max-width: 767px) {
        font-size: 14px;
      }
    }
    p {
      font-size: 16px;
      color: #0f0c36;
      @media (max-width: 767px) {
        font-size: 14px;
      }
    }
  }
}

/* Upload Image */
.upload-container {
  width: 100%;
  margin: 30px auto;
  margin-bottom: 0;
  position: relative;
  min-height: 200px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #dbe0e9;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  @media (max-width: 580px) {
    min-height: 120px;
    border-radius: 20px;
  }

  .preview-wrapper {
    display: none;

    position: absolute;
    top: 0;
    right: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    z-index: 9;

    #imagePreview {
      width: 100%;
      display: block;
      max-height: 100%;
      object-fit: cover;
    }

    .remove-btn {
      position: absolute;
      top: 0px;
      right: 0px;
      background: #ff4d4d;
      color: #fff;
      border: none;
      border-radius: 0;
      width: 30px;
      height: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }

  .drop-zone {
    cursor: pointer;
    svg {
      @media (max-width: 580px) {
        width: 30px;
        height: 30px;
      }
    }
    p {
      color: #8193af;
      font-size: 16px;
      @media (max-width: 580px) {
        font-size: 13px;
      }
    }
    input {
      position: absolute;
      top: 0;
      right: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
    }
  }

  #fileInput {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    z-index: 8;
    opacity: 0;
    cursor: pointer;
  }
}

/* Payment Checkout Modal */
.payment-checkout-modal {
  .modal-dialog {
    max-width: 1000px;
    margin: 1.75rem auto 0;
    align-items: end;
    min-height: calc(100% - (1.75rem));
    .modal-body {
      padding: 35px;
      /* overflow-y: auto; */
      /* max-height: 700px; */
      @media (max-width: 767px) {
        padding: 20px 0;
        /* padding-bottom: 180px; */
      }
      .ch-padding {
        @media (max-width: 767px) {
          padding: 0 20px;
        }
      }
      .end-footer-modal {
        position: sticky;
        bottom: 0;
        padding: 20px;
        background-color: #fff;
        margin-top: 15px !important;
        border-radius: 20px 20px 0 0;
      }
      .panel {
        background-color: #dbe0e9;
        padding: 20px;
        border-radius: 10px;
        .block-total-price {
          .head-total-price {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            h4 {
              font-size: 16px;
              font-weight: 600;
              color: #0f0c36;
              margin: 0;
              @media (max-width: 767px) {
                font-size: 14px;
              }
            }
            span {
              text-decoration: underline;
              font-size: 15px;
              font-weight: 600;
              color: #0f0c36;
              @media (max-width: 767px) {
                font-size: 14px;
              }
            }
            .t-prices {
              strong {
                font-weight: 600;
                font-size: 18px;
                color: #0f0c36;
                display: inline-block;
                @media (max-width: 767px) {
                  font-size: 15px;
                }
              }
              span {
                font-weight: 400;
                font-size: 16px;
                color: #0f0c36;
                display: inline-block;
                position: relative;
                top: 1.5px;
                @media (max-width: 767px) {
                  font-size: 17px;
                  top: 0;
                }
              }
            }
          }
          .btn-toggle-total-price {
            transition: transform 0.3s ease;
            /* transform: rotate(180deg); */
            cursor: pointer;
            width: 27px;
            height: 27px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid #0f0c36;
            &[aria-expanded="true"] {
              transform: rotate(180deg);
            }
            @media (max-width: 767px) {
              display: none;
            }
          }
        }
        .panel-collapse {
          .price-details {
            .price-item {
              padding-inline-end: 33px;
              margin-top: 10px;
              font-size: 15px;
              @media (max-width: 767px) {
                padding-inline-end: 0px;
              }
            }
          }
        }
      }
      .tax-invoice {
        margin: 20px 0;
        padding: 20px 0;
        border-top: 1px solid #dbe0e9;
        border-bottom: 1px solid #dbe0e9;
        span {
          font-size: 16px;
          color: #0f0c36;
          @media (max-width: 580px) {
            font-size: 14px;
          }
        }
      }
      #setup-tax-number-wrapper {
        input {
          height: 60px;
          border-radius: 20px;
          padding: 0 20px;
          margin: 15px 0;
          box-shadow: none !important;
          outline: none !important;
          &::placeholder {
            color: #dbe0e9;
            transition: opacity 0.3s ease;
          }

          &:focus {
            border-color: #0f0c36;
            &::placeholder {
              opacity: 0;
            }
          }
        }
      }
      .form-btn {
        button {
          height: 60px;
          width: 140px;
          border-radius: 20px;
          font-size: 16px;
          font-weight: 400;
          outline: none;
          transition: all 0.3s ease;
          display: flex;
          align-items: center;
          justify-content: center;
          border: 1px solid #0f0c36;
          color: #0f0c36;
          @media (max-width: 767px) {
            font-size: 14px;
            height: 50px;
          }
          &:hover {
            transform: scale(0.98);
            background-color: #0f0c36;
            color: #fff;
          }
        }
      }
      .choose-of-list {
        padding: 25px 10px;
        margin: 20px 0;
        border-top: 1px solid #dbe0e9;
        border-bottom: 1px solid #dbe0e9;
        @media (max-width: 767px) {
          padding: 20px 0;
          border-top: 0;
        }
        h4 {
          font-size: 16px;
          color: #0f0c36;
        }
        .list-payment {
          display: grid;
          /* grid-template-columns: repeat(5, 1fr); */
          /* grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); */
          grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
          margin-top: 20px;
          /* @media (max-width: 767px) {
            grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
          } */
          @media (max-width: 440px) {
            grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
          }
          .radioButton {
            cursor: pointer;
            border: 1px solid #dbe0e9;
            border-radius: 5px;
            padding: 10px;
            height: 75px;
            justify-content: center;
            background-color: #fff;
            transition: all 0.2s ease-in-out;
            @media (max-width: 600px) {
              height: 50px;
            }

            svg {
              @media (max-width: 600px) {
                width: 40px;
                height: 40px;
              }
            }

            input[type="radio"] {
              position: absolute;
              opacity: 0;
              width: 0;
              height: 0;
            }

            &:has(input:checked) {
              border: 2px solid #0f0c36;
              background-color: #fff;
              box-shadow: 0 2px 8px rgba(15, 12, 54, 0.05);
            }

            &:hover {
              border-color: #0f0c36;
            }
          }
        }
      }
    }
  }
}

/*  */
.payment-success-modal {
  .modal-content {
    border-radius: 0 !important;
  }
  .modal-body {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
}

.con-success-page {
  position: relative;
  .box-success {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 9;
    @media (max-width: 767px) {
      width: 100%;
    }
    .check-icon {
      svg {
        @media (max-width: 767px) {
          width: 100px;
          height: 100px;
        }
      }
    }
    .info-success {
      h4 {
        @media (max-width: 767px) {
          font-size: 20px;
        }
      }
      p {
        @media (max-width: 767px) {
          font-size: 15px;
        }
      }
      .num-pay {
        .p-1 {
          @media (max-width: 767px) {
            flex-direction: column;
            flex: 1;
            align-items: flex-start !important;
          }
        }
      }
    }
    .btn-continue {
      height: 60px;
      width: 240px;
      border-radius: 20px;
      font-size: 16px;
      font-weight: 400;
      outline: none;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 5px;
      background-color: #0f0c36;
      border: 1px solid #0f0c36;
      color: #fff;
      margin: 20px auto;
      @media (max-width: 767px) {
        width: 100%;
        font-size: 14px;
      }
      svg {
        html[dir="ltr"] & {
          rotate: 180deg;
        }
      }
      &:hover {
        transform: scale(0.98);
        background-color: transparent;
        color: #0f0c36;
        svg {
          path {
            fill: #0f0c36;
          }
        }
      }
    }
  }
  .shape-svg {
    position: absolute;
    bottom: 0;
    left: 0;
    @media (max-width: 767px) {
      display: none;
    }
  }
}

/* Media */
@media (max-width: 767px) {
  /* Subscription Page */
  .price-comparison-modal {
    .modal-dialog {
      .modal-body {
        .tab-comparison-modal {
          flex-wrap: nowrap;
          overflow-x: auto;
          justify-content: start;
          width: 100%;
          li {
            flex: 1;
            a {
              padding: 10px 20px;
              font-size: 13px;
              white-space: nowrap;
              text-align: center;
              @media (max-width: 767px) {
                padding: 8px 15px;
              }
            }
          }
        }
      }
    }
  }
  .modal-dialog {
    max-width: 100% !important;
    width: 100% !important;
    margin: auto;
    align-items: end;
    top: 0;
    transform: none;
    min-height: 100%;
  }
}

.inp-password-review {
  position: relative;
  .pass-instructions {
    background-color: #eff2f7;
    border-radius: 20px;
    padding: 25px 30px;
    max-width: 420px;
    position: absolute;
    z-index: 99;
    top: 90px;
    &:before {
      content: "";
      position: absolute;
      top: -10px;
      left: 0;
      right: 0;
      margin: auto;
      width: 0;
      height: 0;
      border-left: 10px solid transparent;
      border-right: 10px solid transparent;
      border-bottom: 10px solid #eff2f7;
    }
    .pi-title {
      font-size: 15px;
      color: #0f0c36 !important;
      margin-bottom: 17px;
      margin-top: 0px;
    }
    .pi-bar-wrap {
      background-color: #dbe0e9;
      border-radius: 5px;
      overflow: hidden;
      span {
        height: 3px;
        display: block;
      }
    }
    .pi-strength-lbl {
      font-size: 15px;
      color: #0f0c36 !important;
      margin-bottom: 20px;
      margin-top: 17px;
    }
    .pi-rules-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 10px;
      li {
        display: flex;
        align-items: center;
        gap: 5px;
        span {
          display: flex;
          align-items: center;
          justify-content: center;
        }
        strong {
          font-weight: normal;
          color: #0f0c36;
          font-size: 13px;
        }
      }
    }
  }
}
