/* General Styles */
body {
  font-family: "Comic Neue";
  background: #f1f4fe;
  margin: 0%;
  padding: 0%;
}
html {
  font-size: 62.5%;
}
.Navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(41, 140, 249, 1);
  padding: 1rem 2rem;
}
.Navbar .logo {
  width: 287.58px;
  height: 49.42px;
}
a{
  text-decoration:none;
}
.Navbar nav {
  display: flex;
  gap: 2rem;
}
.Navbar .nav-link {
  text-decoration: none;
  font-weight: 400;
  line-height: 25.08px;
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 1);
}
.logout {
  text-decoration: none;
  color: rgba(212, 14, 14, 1);
  font-size: 1.8rem;
  font-weight: 400;
}
/* Main Content */
.dashboard {
  padding: 2rem;
}
.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.dashboard-header h1 {
  color: rgba(0, 0, 0, 1);
  font-weight: 700;
  font-size: 3.516rem;
  line-height: 49px;
}
/* Profile Section next to H1 */
.profile {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.profile img {
  width: 50px;
  height: 50px;
  border-radius: 1000px;
}
.profile-info {
  display: flex;
  flex-direction: column;
}
.profile-info .name {
  color: rgba(0, 0, 0, 1);
  font-weight: 700;
  font-size: 1.8rem;
}
.profile-info .switch-account {
  font-size: 1.6rem;
  line-height: 24px;
  font-weight: 400;
  color: rgba(90, 90, 90, 1);
  text-decoration: none;
}
/* Chart Container */
.chart-container {
  text-align: center;
  margin-bottom: 2rem;
}
.chart-container img {
  padding: 2rem;

  max-width: 100%;
  border-radius: 10px;
}
/* Cards Section */
.Cards-container {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  gap: 2rem;
}
.card {
  width: 296px;
  height: 156px;
  flex: 1;
  margin: 0 10px;
  padding: 2rem;

  border-radius: 16px;
}
.card h3 {
  font-size: 3.516rem;
  line-height: 49px;
}
.card p {
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 31.35px;
}
/* Profile Dropdown */
.dropdown {
  display: none;
  position: absolute;
  top: 80px;
  right: 20px;
  background-color: rgba(255, 255, 255, 1);
  width: 384px;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(12, 12, 13, 0.1);
  z-index: 10;
}
.dropdown.show {
  display: block;
}
.account {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
.account img {
  width: 50px;
  height: 50px;
  border-radius: 1000%;
  margin-right: 1rem;
}
.account-info {
  display: flex;
  flex-direction: column;
}
.account-name {
  font-size: 2.813rem;
  line-height: 39.2px;
  font-weight: 700;
  color: rgba(0, 0, 0, 1);
}
.account-level {
  color: rgba(170, 170, 170, 1);
  font-weight: 400;
  font-size: 1.8rem;
  line-height: 25.08px;
}
.points {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
}
.points img {
  width: 15px;
  height: 15px;
  margin-right: 5px;
}
.add-new-kid a {
  width: 100%;
  border: none;
  padding: 0.8rem;
  background-color: rgba(7, 117, 239, 1);
  color: rgba(255, 255, 255, 1);
  font-size: 1.8rem;
  border-radius: 36px;
  text-align: center;
}

nav {
  position: relative;
  cursor: pointer;
}
.modal {
  display: none;
  position: absolute;
  top: 140px;
  left: 500px;
  width: 30vw;
  height: 100%;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fff;
  padding: 80px 80px;
  font-size: 1.8rem;
  border-radius: 10px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
}

.modal-buttons {
  display: flex;
  justify-content: space-between;
}
/* 
.logout:hover + .modal {
  display: flex;
}
 */
.continue-btn,
.logout-btn {
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}

.continue-btn {
  background-color: #dbe5ff; /* Blue shade */
  color: #000;
}

.logout-btn {
  background-color: #ffe5e5; /* Red shade */
  color: #000;
}

.continue-btn:hover,
.logout-btn:hover {
  opacity: 0.4;
}
