/* Reset some default styles */

/* Global styles */
header {
  background-color: #333;
  color: #fff;
  padding: 20px;
}

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

.header-buttons {
  display: flex;
  align-items: center;
}

.login-button,
.account-button {
  border: none;
  background-color: transparent;
  color: #fff;
  font-size: 16px;
  margin-left: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: opacity 0.2s ease;
}

.login-button:hover,
.account-button:hover {
  opacity: 0.8;
}

.login-button i,
.account-button i {
  font-size: 18px;
  margin-right: 5px;
}

.container {
  /* max-width: 1200px; */
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  margin: 20px;
  border-radius: 5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  justify-content: space-between;
}

header .header-content div a {
  color: white;
  text-decoration: none;
  background-color: #777;
  max-width: 140px;
  height: 45px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 500;
  border: none;
  border-radius: 45px;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

aside {
  background-color: #1f2430;
  color: #fff;
  flex: 0 0 220px;
  padding: 10px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.side-panel {
  background-color: #1f2430;
  color: #fff;
  flex: 0 0 220px;
  padding: 10px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.side-panel h2 {
  font-size: 18px;
  margin-bottom: 10px;
}

.side-panel ul {
  list-style: none;
  margin: 10px 0;
  padding: 0;
}

.side-panel ul li {
  margin-bottom: 10px;
}

.side-panel ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  display: flex;
  align-items: center;
}

.side-panel ul li a:hover {
  text-decoration: underline;
  background-color: #f0f2f5;
}

.dsh-btn {
  border: none;
  background-color: transparent;
  color: #fff;
  font-size: 16px;
  margin-top: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
  padding: 0%;
}

.dsh-btn a {
  text-align: center;
  margin-left: 10px;
  height: 30px;
  background-color: black;
}

.dsh-btn i {
  margin-left: 10px;
}

.login-button:hover,
.account-button:hover {
  opacity: 0.8;
}

.login-button i,
.account-button i {
  font-size: 18px;
  margin-right: 5px;
}

main {
  flex: 1;
  display: flex;
}

.panel {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px;
}

.child-panel {
  flex: 1 1 300px;
  margin: 10px;
  border-radius: 5px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  background-color: #fff;
}

.panel-header {
  background-color: #1f2430;
  color: #fff;
  padding: 15px 20px;
  border-radius: 5px 5px 0 0;
  display: flex;
  align-items: center;
}

.panel-header i {
  font-size: 24px;
  margin-right: 10px;
}

.panel-header h2 {
  font-size: 20px;
  margin: 0;
}

.panel-content {
  padding: 20px;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.stat {
  flex: 1 1 150px;
  padding: 20px;
  text-align: center;
  border-right: 1px solid #f0f2f5;
}

.stat:last-child {
  border-right: none;
}

.stat i {
  font-size: 30px;
  color: #1f2430;
}

.stat p {
  font-size: 14px;
  margin-bottom: 5px;
  color: #777;
}

.stat span {
  font-size: 24px;
  font-weight: bold;
}

.chart {
  width: 100%;
  max-height: 300px;
  margin-top: 40px;
  overflow: hidden;
}

.chart h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #444;
}

/* Footer */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 10px;
  border-radius: 0 0 5px 5px;
}

footer p {
  font-size: 14px;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
  header h1 {
    font-size: 24px;
  }

  aside {
    flex: 1 0 100%;
    border-radius: 5px;
    margin-bottom: 20px;
  }

  .child-panel {
    flex: 1 0 100%;
    margin-bottom: 20px;
  }

  .stat {
    border-right: none;
    border-bottom: 1px solid #f0f2f5;
  }

  .panel-content {
    padding: 10px;
  }

  .chart {
    margin-top: 20px;
  }
}
