* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "poppins", sans-serif;
}

/* *,
::before,
::after {
  outline: 1px solid red;
} */

.container {
  max-width: 1440px;
  margin: 20px 20px;
  background: #101010;
  border-radius: 25px;
  padding: 20px;

  display: flex;
}

.sidebar {
  flex-basis: 220px;
  background: #101010;
  border-radius: 25px;
  color: white;
  padding: 45px;
}

.dashboard {
  flex: 1;
  background: white;
  border-radius: 25px;
  display: flex;
  flex-wrap: wrap;
  /* justify-content: space-between; */
}

.sidebar h3 {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar h3 span {
  color: #878787;
  font-size: 20px;
  font-weight: 500;
  /* padding-left: 40px; */
  /* padding-bottom: 20px; */
  cursor: pointer;
}

.sidebar-img {
  margin-bottom: 50px;
}

.sidebar-links h3 span:hover {
  color: white;
  transition: all 0.3s;
}

.sidebar h2 {
  font-size: 20px;
  font-weight: 500;
}

.sidebar p {
  color: #9f9f9f;
  font-size: 11px;
}

.num-parent {
  width: 55px;
  position: relative;
}

.sidebar img {
  width: 55px;
  border-radius: 10px;
}

.img-number {
  background: #dc3434;
  width: 18px;
  height: 18px;
  font-size: 12px;
  text-align: center;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -7px;
  right: -7px;
  z-index: 1;
}

.active-link {
  color: white !important;
}

.right-section {
  flex-basis: 20%;
  background: #f9fafc;
  padding: 50px;
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
  box-sizing: border-box;
}

.main-section {
  flex: 1;
  padding: 50px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

.expenses {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.expenses-images-box {
  margin-top: -10px;
}

.expenses-img-1 {
  margin-right: -10px;
  z-index: 3;
  position: relative;
  border: 2.5px solid white;
  width: 30px;
  border-radius: 50%;
}

.expenses-img-2 {
  margin-right: -10px;
  z-index: 2;
  position: relative;
  border: 2.5px solid white;
  width: 30px;
  border-radius: 50%;
}

.expenses-img-3 {
  z-index: 1;
  position: relative;
  border: 2.5px solid white;
  width: 30px;
  border-radius: 50%;
}

.expenses-plus {
  padding-top: -10px;
  position: relative;
  top: -2px;
  width: 25px;
}

.expenses-box h1 {
  font-size: 40px;
}

.expenses-box p {
  color: #878787;
  padding-left: 5px;
  font-size: 15px;
}

.rectangles {
  height: 60px;
  display: flex;
  justify-content: space-evenly;
  gap: 5px;
  align-items: flex-end;
  margin-top: 40px;
}

.rectangles div {
  width: 15px;
  background: #d0e4ff;
}

.rectangle-1 {
  height: 35px;
}
.rectangle-2 {
  height: 52px;
}
.rectangle-3 {
  height: 44px;
}
.rectangle-4 {
  height: 27px;
}
.rectangle-5 {
  height: 35px;
}
.rectangle-6 {
  height: 30px;
}
.rectangle-7 {
  height: 44px;
}
.rectangle-8 {
  height: 27px;
}
.rectangle-9 {
  height: 35px;
}
.rectangle-10 {
  height: 52px;
}
.rectangle-11 {
  height: 44px;
}
.rectangle-12 {
  height: 27px;
}
.rectangle-13 {
  height: 35px;
}
.rectangle-14 {
  height: 52px;
}

.rectangle-15 {
  height: 44px;
}
.rectangle-16 {
  height: 27px;
}
.rectangle-17 {
  height: 35px;
}
.rectangle-18 {
  height: 30px;
}
.rectangle-19 {
  height: 44px;
}
.rectangle-20 {
  height: 27px;
}
.rectangle-21 {
  height: 35px;
}
.rectangle-22 {
  height: 60px;
  background: #156aff !important;
}
.rectangle-23 {
  height: 44px;
}

.today-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #dedede;
  padding-bottom: 8px;
}

.today-heading h4 {
  padding-top: 50px;
  padding-left: 7px;
  font-weight: 600;
}

.dots {
  width: 5px;
  height: 5px;
  background: #979797;
  border-radius: 50%;
  display: inline-block;
}

.list-1 {
  display: flex;
  margin-top: 30px;
}

.list-name {
  margin-left: 15px;
}

.list-name h4 {
  font-weight: 600;
  color: #273240;
}

.list-name p {
  color: #9fa3a8;
  font-size: 14px;
  padding-top: 2px;
}

.list-count {
  margin-left: auto;
}

.list-img-box {
  background: #32a7e2;
  width: 48px;
  height: 48px;
  text-align: center;
  border-radius: 50%;
  padding: 15px;
}

.list-2 {
  display: flex;
  margin-top: 30px;
}

.list-2-name {
  margin-left: 15px;
}

.list-2-name h4 {
  font-weight: 600;
  color: #273240;
}

.list-2-name p {
  color: #9fa3a8;
  font-size: 14px;
  padding-top: 2px;
}

.list-2-count {
  margin-left: auto;
}

.list-2-img-box {
  background: #b548c6;
  width: 48px;
  height: 48px;
  text-align: center;
  border-radius: 50%;
  padding: 15px;
}

.list-3 {
  display: flex;
  margin-top: 30px;
}

.list-3-name {
  margin-left: 15px;
}

.list-3-name h4 {
  font-weight: 600;
  color: #273240;
}

.list-3-name p {
  color: #9fa3a8;
  font-size: 14px;
  padding-top: 2px;
}

.list-3-count {
  margin-left: auto;
}

.list-3-img-box {
  background: #ff8700;
  width: 48px;
  height: 48px;
  text-align: center;
  border-radius: 50%;
  padding: 15px;
}

.monday-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #dedede;
  padding-bottom: 8px;
}

.monday-heading h4 {
  padding-top: 50px;
  padding-left: 7px;
  font-weight: 600;
}

.setting-dots {
  cursor: pointer;
  margin-top: 45px;
}

.dots {
  width: 5px;
  height: 5px;
  background: #979797;
  border-radius: 50%;
  display: inline-block;
}

.list-4 {
  display: flex;
  margin-top: 30px;
}

.list-4-name {
  margin-left: 15px;
}

.list-4-name h4 {
  font-weight: 600;
  color: #273240;
}

.list-4-name p {
  color: #9fa3a8;
  font-size: 14px;
  padding-top: 2px;
}

.list-4-count {
  margin-left: auto;
}

.list-4-img-box {
  background: #dc3434;
  width: 48px;
  height: 48px;
  text-align: center;
  border-radius: 50%;
  padding: 10px;
}

.list-5 {
  display: flex;
  margin-top: 30px;
}

.list-5-name {
  margin-left: 15px;
}

.list-5-name h4 {
  font-weight: 600;
  color: #273240;
}

.list-5-name p {
  color: #9fa3a8;
  font-size: 14px;
  padding-top: 2px;
}

.list-5-count {
  margin-left: auto;
}

.list-5-img-box {
  background: #4ba83d;
  width: 48px;
  height: 48px;
  text-align: center;
  border-radius: 50%;
  padding: 15px;
}

.statistics {
  width: 95%;
}

.statistics-heading {
  padding-top: 30px;
  padding-bottom: 30px;
  font-weight: 400;
  font-size: 21px;
  color: #262a41;
}

.stat-text h4 {
  color: #273240;
  font-size: 17px;
  margin-bottom: 30px;
}

.stat-text p {
  color: #273240;
  font-size: 12px;
  margin-bottom: 30px;
}

.stat-text {
  display: flex;
  justify-content: space-between;
}

.stat-line {
  height: 5px;
  background: #eceff5;
  position: relative;
  top: -25px;
  border-radius: 5px;
}

.stat-under-line-1 {
  width: 70px;
  height: 5px;
  background: #31ba96;
  border-radius: 5px;
}

.stat-under-line-2 {
  width: 110px;
  height: 5px;
  background: #31ba96;
  border-radius: 5px;
}

.stat-under-line-3 {
  width: 90px;
  height: 5px;
  background: #31ba96;
  border-radius: 5px;
}

.stat-under-line-4 {
  width: 60px;
  height: 5px;
  background: #31ba96;
  border-radius: 5px;
}

.stat-under-line-5 {
  width: 90px;
  height: 5px;
  background: #31ba96;
  border-radius: 5px;
}

.statistics-tips {
  width: 100%; /* Take full width by default */
  background: #edf0f6;
  border-radius: 15px;
  margin-top: 100px;
  padding: 20px; /* Add padding for better spacing */
  box-sizing: border-box; /* Include padding in width calculation */
}

.st-tips-images {
  display: flex;
  justify-content: space-evenly;
  gap: 20px; /* Reduce gap for smaller screens */
  margin-bottom: 15px;
}

.st-tips-images img {
  max-width: 80%; /* Ensure images don't overflow */
  height: auto; /* Maintain aspect ratio */
  margin-top: -25px;
}

.statistics-tips h3 {
  padding-left: 23px;
  font-size: 16px;
  margin-bottom: 15px;
}

.statistics-tips p {
  padding-left: 23px;
  font-size: 12px;
  margin-top: 15px;
}

.tips-button a {
  /* padding-left: 23px; */
  font-size: 13px;
  text-decoration: none;
  color: white;
  font-weight: 500;
  text-align: center;
  display: inline-block;
  padding-top: 13px;
  padding-left: 60px;
  margin: auto;
  letter-spacing: 1.6px;
}

.tips-button {
  width: 200px;
  height: 45px;
  background: #101010;
  border-radius: 8px;
  margin-top: 10px;
  margin-left: 23px;
}

.tips-button:hover {
  background: #262a41;
  transition: all 0.6s;
}

@media (max-width: 1215px) {
  .dashboard {
    flex-direction: column; /* Stack children vertically */
  }

  .right-section {
    flex-basis: auto; /* Reset flex-basis */
    width: 100%; /* Take full width */
    border-radius: 0; /* Remove rounded corners */
    padding: 30px; /* Reduce padding for smaller screens */
  }

  .main-section {
    width: 100%; /* Take full width */
    border-radius: 0; /* Remove rounded corners */
    padding: 30px; /* Reduce padding for smaller screens */
  }

  .statistics {
    width: 70%;
  }

  .st-tips-images {
    justify-content: space-between;
  }

  .tips-button {
    width: 90%;
    text-align: center;
  }

  .tips-button a {
    /* padding-left: 23px; */
    font-size: 13px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    text-align: center;
    display: inline-block;
    padding-top: 13px;
    padding-left: 0;
    margin: auto;
    letter-spacing: 1.6px;
  }
}

@media (max-width: 1130px) {
  .dashboard {
    /* display: flex; */
    flex-direction: column;
    /* width: 100%; */
  }

  .main-section {
    width: 100% !important;
  }

  .expenses .expenses-box h1 {
    font-size: 30px;
  }

  .expenses .expenses-box p {
    font-size: 13px;
  }
  .expenses-box {
    margin-right: auto;
  }

  .expenses {
    display: flex;
    justify-content: space-between;
  }

  .expenses-img-1 {
    margin-right: -10px;
    z-index: 3;
    position: relative;
    border: 2.5px solid white;
    width: 40px;
    border-radius: 50%;
  }

  .expenses-img-2 {
    width: 40px;
  }

  .expenses-img-3 {
    width: 40px;
  }

  .expenses-plus {
    width: 25px;
    margin-bottom: 6px;
  }

  .right-section {
    width: 90% !important;
    border-radius: 0;
    margin-left: auto;
    margin-right: auto;
    /* margin: 20px; */
  }

  .statistics {
    width: 100%;
  }

  .statistics-heading {
    padding-top: 30px;
    width: 100%;
    padding-bottom: 30px;
    font-weight: 400;
    font-size: 21px;
    color: #262a41;
  }

  .stat-text {
    display: flex;
    justify-content: space-between;
    min-width: 100%;
  }

  .stat-line {
    /* min-width: 100%; */
    width: 100%;
    height: 5px;
    background: #eceff5;
    position: relative;
    top: -25px;
    border-radius: 5px;
  }

  .statistics-tips {
    width: 100% !important;
  }

  .st-tips-images {
    display: flex;
    justify-content: space-between;
    margin: 20px;
  }

  .tips-button {
    width: 90%;
    margin-top: 20px;
    /* margin: auto; */
    margin: 15px auto 0 auto;
  }

  .statistics-tips h3 {
    font-size: 16px;

    margin-bottom: 20px;
  }

  .statistics-tips p {
    width: 80%;
  }
}

@media (max-width: 800px) {
  .dashboard {
    border-radius: 0;
  }

  .container {
    flex-direction: column;
  }

  .sidebar {
    text-align: center;
  }

  /* .sidebar h3 {
    display: flex;
    flex-direction: column;
    align-items: center;
  } */
  .sidebar-links {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .num-parent {
    margin: 0 auto;
  }

  .sidebar-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0;
    width: 100%;
    border-radius: 0;
    margin: 0;
  }

  .expenses {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .expenses-box {
    margin-left: auto;
  }

  .sidebar-links h3 {
    font-size: 20px;
    font-weight: 700;
  }
}

@media (max-width: 400px) {
  .wrapper {
    padding: 0;
    margin: 0;
  }

  .dashboard {
    border-radius: 0;
  }

  .sidebar-links h3 {
    /* display: block; */
    text-align: start;
  }

  .rectangles {
    display: none;
  }

  .main-section {
    padding: 10px;
  }

  .today-heading {
    font-size: 15px;
  }

  .monday-heading h4 {
    font-size: 15px;
  }

  .list-1 {
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .list-img-box {
    text-align: center;
    margin-left: 47%;
    margin-bottom: 10px;
  }

  .list-count {
    text-align: center;
    margin-right: auto;
  }

  .list-2 {
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .list-2-img-box {
    text-align: center;
    margin-left: 47%;
    margin-bottom: 10px;
  }

  .list-2-count {
    text-align: center;
    margin-right: auto;
  }
  .list-3 {
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .list-3-img-box {
    text-align: center;
    margin-left: 47%;
    margin-bottom: 10px;
  }

  .list-3-count {
    text-align: center;
    margin-right: auto;
  }
  .list-4 {
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .list-4-img-box {
    text-align: center;
    margin-left: 47%;
    margin-bottom: 10px;
  }

  .list-4-count {
    text-align: center;
    margin-right: auto;
  }
  .list-5 {
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .list-5-img-box {
    text-align: center;
    margin-left: 47%;
    margin-bottom: 10px;
  }

  .list-5-count {
    text-align: center;
    margin-right: auto;
  }
}

/* Adjustments for very small screens */
@media (max-width: 320px) {
  .st-tips-images {
    flex-direction: column; /* Stack images vertically */
    align-items: center; /* Center images */
    gap: 10px; /* Reduce gap further */
  }

  .st-tips-images img {
    max-width: 80%; /* Further reduce image size */
    margin-top: 0; /* Reset margin */
  }
}
/*888888888888888888888888888 test 8888888888888888888888888888888*/

/* 88888888888888888888888888test8888888888888888888888888888888 */
