@media (max-width: 1024px) {
  .dashboard-container {
    & .side-menu {
      width: 220px;
      height: 100%;
      background-color: #fff;
      max-height: 100%;
      border-right: 1px solid #e0e0e0;
      overflow: hidden;
      position: fixed;
      left: -100%;
      top: 0;
      transition: all .3s ease-in-out;
      z-index: 100;

      &.open {
        left: 0;
      }
    }

    /* main content */
    & .main-panel {
      & .top-bar {
        justify-content: space-between;
        padding: 16px 24px;

        & .menu-icon {
          visibility: visible;
        }
      }

      & .main-content {
        & .welcome {
          & .page-title {
            font-size: 18px;
            white-space: nowrap;
          }

          & .search-box {
            display: flex;
            gap: 5px;

            & .input-box {
              padding: 5px 10px;
              gap: 5px;

              & input {
                font-size: 14px;
              }

              & input::placeholder {
                font-size: 14px;
              }
            }

            & .search-button {
              padding: 3px 6px;
              font-size: 14px;
            }

          }
        }

        /* dashboard section */
        & .dashboard-section {

          & .investment-wrapper {
            grid-template-columns: repeat(1, 1fr);

            & .investment-card {
              padding: 16px 24px;

              & .details-box {
                & .card-title {
                  font-size: 16px;
                }

                & .balance {
                  font-size: 18px;
                }
              }
            }
          }


          /* referrals section */
          & .referrals-link-wrapper {

            & label {
              margin-bottom: 8px;
            }

            & .link-card {
              width: 100%;
              display: flex;
              align-items: center;
              justify-content: space-between;
              border-radius: 8px;
              margin-top: 10px;

              & input {
                padding: 9px 12px;
                height: 100%;
              }

              & input::placeholder {
                color: #111827d2;
                font-size: 13px;
              }

              & button {
                /* height: 100%; */
                padding: 9px 12px;
                font-size: 13px;
                white-space: nowrap;
              }
            }
          }


          /* chart wrapper */
          & .chat-wrapper {

            & h2 {
              font-size: 31px;
              color: #111827;
              font-weight: 700;
              margin-bottom: 8px;
            }
          }


        }

        /* KYC section */
        & .kyc-section {
          padding: 15px;

          & .kyc-form-wrapper {
            padding: 10px;

            & .form-alert-box {
              & .alert-title {
                font-size: 21px;
              }

              & .alert-message {
                line-height: 1.5;
                font-size: 1rem;
              }
            }

            & .form-container {
              padding: 16px;
            }
          }
        }

        /* investment plan section */
        & .investment-plan-section {

          & .investment-plans-wrapper {

            & .plans-header {
              & h6 {
                text-align: center;
              }
            }

            & .plans-box {
              padding: 20px;

              & h4 {
                text-align: center;
                font-size: 23px;
                margin-bottom: 1rem;
              }

              & .plans {
                grid-template-columns: 1fr;

                & .plans-card {
                  padding: 24px 16px;

                  & .card-header {
                    gap: 10px;

                    & .header-text {
                      & h6 {
                        font-size: 18px;
                      }
                    }
                  }
                }
              }
            }
          }

        }

        /* running investment section */
        & .running-investment-section {
          padding: 15px;
          height: 100%;

          & .running-investment-wrapper {

            & .table-wrapper {
              overflow: auto;

              & table {
                & tr {
                  & th {
                    padding: 16px;
                    font-size: 10px;
                    white-space: nowrap;
                  }
                }
              }

              & .alert-wrapper {
                & .warning-alert {
                  & .moving-text {
                    font-size: 14px;
                  }
                }
              }
            }
          }


        }

        /* history section */
        & .history-section {
          & .history-wrapper {
            width: 100%;
            background: #ffffff;
            padding: 14px 24px;
            border-radius: 10px;

            & .table-wrapper {
              & table {
                & tr {
                  & th {
                    white-space: nowrap;
                  }
                }
              }

              & .alert-wrapper {
                & .warning-alert {
                  & .moving-text {
                    font-size: 14px;
                  }
                }
              }
            }
          }


        }

        /* pending section */
        & .pending-section {
          & .pending-wrapper {
            & .table-wrapper {
              & table {
                & tr {
                  & th {
                    white-space: nowrap;
                    font-size: 14px;
                  }
                }
              }

              & .alert-wrapper {
                & .warning-alert {
                  & .moving-text {
                    font-size: 14px;
                  }
                }
              }
            }
          }


        }

        /* completed-transaction section */
        & .completed-transaction-section {
          padding: 15px;
          height: 100%;

          & .completed-transaction-wrapper {
            & .table-wrapper {
              & table {
                & tr {
                  & th {
                    white-space: nowrap;
                  }
                }
              }

              & .alert-wrapper {
                & .moving-text {
                  font-size: 14px;
                }
              }
            }
          }
        }

        /* withdrawal-history section */
        & .withdrawal-history-section {
          padding: 15px;
          height: 100%;

          & .withdrawal-history-wrapper {
            & .table-wrapper {
              & table {
                & tr {
                  & th {
                    white-space: nowrap;
                  }
                }
              }

              & .alert-wrapper {
                & .warning-alert {
                  & .moving-text {
                    font-size: 14px;
                  }
                }
              }
            }
          }


        }

        /* profile section */
        & .profile-section {
          padding: 15px;

          /* & .welcome {
          width: 100%;
          display: flex;
          align-items: center;
          justify-content: space-between;
          margin-bottom: 24px;

          & .page-title {
            font-size: 24px;
            font-weight: bold;
            color: #111827;
          }

          & .welcome-text {
            font-size: 16px;
            color: #4b5563;
            font-weight: 400;

            & a {
              color: #487fff;
              text-decoration: none;
              font-weight: 500;
              transition: color 0.3s ease;

              &:hover {
                color: #0d6efd;
              }
            }
          }
        } */

          & .profile-settings-wrapper {
            grid-template-columns: 1fr;

            & .profile-settings {
              background: #fff;
              height: 100%;
              border-radius: 20px;
              padding: 24px;

              & .settings-nav {
                width: 100%;
                display: flex;
                gap: 0;
                margin-bottom: 1rem;

                & button {
                  padding: 10px 24px;
                  border: none;
                  border-top: 1px solid #d1d5db80;
                  font-size: 1rem;
                  color: #4b5563;
                  background: transparent;
                  cursor: pointer;
                }

                & button.active-section {
                  border-top: 2px solid #0d6efd;
                  background: linear-gradient(180deg, rgba(72, 127, 255, 0.12) 0%, rgba(72, 127, 255, 0.03) 100%);
                  font-weight: 500;
                  color: #0d121d;
                }
              }

              & .profile-contorl.active-section {
                display: block;
              }

              & .profile {
                width: 100%;
                height: 100%;



                & form {
                  & .form-group {
                    width: 100%;
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    gap: 24px;
                    margin-bottom: 20px;

                    & .input-wrapper {
                      width: 100%;

                      & label {
                        font-size: 14px;
                        color: #111827;
                        font-weight: 500;
                      }

                      & input {
                        width: 100%;
                        margin-top: 8px;
                        padding: 9px 20px;
                        border-radius: 8px;
                        border: 1px solid #d1d5db80;
                        outline: none;
                        height: 44px;
                        font-size: 1rem;

                        &:focus {
                          border: 1px solid #0d6dfda9;
                          box-shadow: 0 0 2px #0d6dfd49;
                        }
                      }

                      & input[type="file"] {
                        appearance: none;
                      }
                    }
                  }

                  & .button-group {
                    width: 100%;
                    display: flex;
                    align-items: center;
                    justify-content: flex-end;
                    gap: 20px;

                    & button {
                      padding: 12px 56px;
                      /* background-color: #0d6efd; */
                      color: #ffffff;
                      border-radius: 8px;
                      border: none;
                      cursor: pointer;
                      font-size: 16px;
                    }

                    & .cancel {
                      color: #dc2626;
                      border: 1px solid #dc2626;
                      background: transparent;
                    }

                    & .save {
                      color: #fff;
                      background-color: #0d6efd;
                      ;
                    }
                  }
                }

              }

              & .password {
                width: 100%;

                & form {
                  width: 100%;

                  & label {
                    font-size: 14px;
                    color: #111827;
                  }

                  & input {
                    width: 100%;
                    padding: 9px 20px;
                    height: 44px;
                    font-size: 1rem;
                    border: 1px solid #d1d5db80;
                    color: #111827;
                    border-radius: 8px;
                    margin-bottom: 20px;
                    margin-top: 8px;
                    outline: none;
                  }

                  & .button-group {
                    width: 100%;

                    & button {
                      padding: 9px 12px;
                      color: #ffffff;
                      border-radius: 8px;
                      border: none;
                      cursor: pointer;
                      font-size: 16px;
                    }

                    & .save {
                      color: #fff;
                      background-color: #0d6efd;
                    }
                  }
                }
              }



            }
          }
        }


      }


    }




  }


}