* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Basic typography and colors */
body {
  position: relative;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: rgba(252, 251, 255, 1);
  padding: 60px 80px;
}

.name-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.left-container {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}

h1 {
  font-family: Poppins;
  font-size: 48px;
  font-weight: 500;
  line-height: 76.8px;
  letter-spacing: 1.78px;
  text-align: center;
}

#leaderboards-btn {
  border: none;
  border-radius: 8px;
  background-color: rgba(100, 71, 237, 1);
  color: white;
  height: 46px;
  font-size: 16px;
  line-height: 25px;
  letter-spacing: 0.5px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-inline: 10px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  body {
    padding: 30px 16px 0;
  }

  #leaderboards-btn {
    display: none;
  }

  .left-container svg,
  .left-container img {
    display: none;
  }

  h1 {
    font-family: Poppins;
    font-size: 24px;
    font-weight: 500;
    line-height: 38.4px;
    letter-spacing: 1.7803738117218018px;
    text-align: center;
  }
}

.stats-section div {
  padding: 24px 62px 36px 24px;
  border-radius: 16px;
  box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.1);
  width: 50%;
}

.stats-section {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 30px 0;
}

.right-stat {
  height: 160px;
  background-color: rgba(251, 241, 219, 1);
  border: 1px rgba(234, 219, 188, 1) solid;
}

.left-stat {
  height: 160px;
  background-color: rgba(244, 242, 255, 1);
  border: 1px rgba(215, 207, 253, 1) solid;
}

.stats {
  display: flex;
  flex-direction: row;
  align-items: start;
  gap: 16px;
}

.number-stat {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.number-stat p {
  font-family: Poppins;
  font-size: 40px;
  font-weight: 600;
  line-height: 48px;
  letter-spacing: 1.78px;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
}

.number-stat h3 {
  font-family: Poppins;
  font-size: 36px;
  font-weight: 400;
  line-height: 43.2px;
  letter-spacing: 1.78px;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
}

@media screen and (max-width: 768px) {
  .stats-section {
    margin: 12px 0 8px;
    gap: 8px;
  }

  .stats-section div {
    padding: 8px 8px 12px;
    border-radius: 4px;
    height: 75px;
  }

  .number-stat {
    gap: 8px;
  }
  .stats img {
    height: 24px;
    width: 16px;
    object-fit: contain;
  }

  .number-stat h3 {
    font-family: Poppins;
    font-size: 14px;
    font-weight: 500;
    line-height: 16.8px;
    letter-spacing: 1.7803738117218018px;
    text-align: center;
  }

  .number-stat p {
    font-family: Poppins;
    font-size: 24px;
    font-weight: 600;
    line-height: 28.8px;
    letter-spacing: 1.7803738117218018px;
    text-align: left;
  }
}

.display-name-section {
  width: 100%;
  height: 140px;
  padding: 32px 24px 32px 24px;
  border-radius: 16px;
  border: 1px solid rgba(231, 224, 224, 1);
  background-color: white;
}

.label {
  font-family: SF Pro Text;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-align: left;
  color: rgba(55, 65, 81, 1);
}

.display-id-cont {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.label-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.extra-text {
  font-family: SF Pro Text;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-align: left;
  color: rgba(111, 104, 102, 1);
}

.input-container {
  border: 1px solid rgb(152, 152, 152);
  background-color: white;
  border-radius: 4px;
  height: 48px;
  max-width: 588px !important;
  width: 100%;
  display: block;
  position: relative;
}

.input-social-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.input-container input {
  width: 100%;
  height: 100%;
  border: none;
  padding: 16px;
  border-radius: 4px;
}

.input-icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  border: none;
  background-color: transparent;
}

.display-socials-section {
  width: 100%;
  padding: 32px 24px 32px 24px;
  border-radius: 16px;
  border: 1px solid rgba(231, 224, 224, 1);
  background-color: white;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  height: max-content;
}

.section-heading {
  font-family: SF Pro Text;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: rgba(55, 65, 81, 1);
}

.input-big-container {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: start;
  width: 100%;
}

@media screen and (min-width: 855px) {
  .number-stat h3 {
    white-space: nowrap;
  }
}

@media screen and (max-width: 768px) {
  .input-big-container {
    flex-direction: column;
  }

  .display-socials-section {
    margin-top: 12px;
  }

  .display-user-info-section {
    margin-top: 12px;
  }
}

.display-user-info-section {
  width: 100%;
  padding: 32px 24px 32px 24px;
  border-radius: 16px;
  border: 1px solid rgba(231, 224, 224, 1);
  background-color: white;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  height: max-content;
  margin-bottom: 150px;
}

input:disabled {
  background-color: rgba(247, 247, 247, 1);
  border: none;
  cursor: not-allowed;
}

.input-container:has(input:disabled) {
  border: none;
}

/* nav */

nav {
  background-color: #333;
  color: white;
  padding: 10px 0;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-links {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.nav-links a {
  color: white;
  text-decoration: none;
  margin-left: 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

@media (max-width: 768px) {
  nav {
    display: none !important;
  }
}

.bottom-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;

  background-color: #ffffff;
  border-top: 1px solid #ddd;
  /* height: 60px; */
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}
.menu-item {
  text-align: center;
  flex: 1;
}
.menu-item i {
  font-size: 20px;
  color: #666;
}
.menu-item span {
  display: block;
  font-size: 12px;
  color: #666;
}

.bottom-menu {
  padding: 10px 20px;
}
.bottom-menu .menu-item {
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  border-radius: 8px;
  padding-top: 5px;
  padding-bottom: 5px;
}
.bottom-menu .menu-item.active {
  background-color: #f6f4ff;
}
.bottom-menu .menu-item .b-text {
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 500;
  font-size: 12px;
}
.bottom-menu .menu-item.active .b-text {
  color: #6447ed;
}
.bottom-menu .menu-item.active .b-image path {
  fill: #6447ed;
}
.bottom-menu .b-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
/* Mobile-specific styles */
@media (min-width: 768px) {
  .bottom-menu {
    display: none;
  }
  .toggle-container {
    display: none;
  }
  .m-filter-container {
    display: none;
  }
  .m-dashboard-container {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .save {
    display: none !important;
  }
  .m-save-container {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 57px;
    padding: 10px 16px;
    position: fixed;
    bottom: 82px;
    left: 0;
    background-color: rgba(255, 255, 255, 1);
    border: none;
    outline: none;
  }

  .m-save {
    margin: 0 auto;
    width: 95%;
    height: 38px;
    padding: 8px 0px;
    gap: 8px;
    border-radius: 4px;
    border: 0.7px solid rgba(100, 71, 237, 0.6);
    opacity: 0px;
    background-color: rgba(100, 71, 237, 1);
    color: white;
    font-family: Poppins;
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
    text-align: center;
  }
}

.m-save-container {
  display: none;
}

.save {
  margin-top: 56px;
  margin-bottom: 150px;
  width: 240px;
  height: 56px;
  padding: 10px;
  border-radius: 8px;
  color: white;
  font-family: Poppins;
  font-size: 24px;
  font-weight: 500;
  line-height: 36px;
  text-align: center;
  background-color: rgba(100, 71, 237, 1);
  border: 1px solid rgba(100, 71, 237, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  justify-self: end;
  cursor: pointer;
}


#bankDetails-btn {
  border: none;
  border-radius: 8px;
  background-color: rgba(100, 71, 237, 1);
  color: white;
  height: 46px;
  font-size: 16px;
  line-height: 25px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-inline: 10px;
  font-weight: 600;
  cursor: pointer;
}