
    * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  display: flex;
  min-height: 100vh;
  background: #f7f9fc;
}

.sidebar {
  width: 250px;
  background-color: #fff;
  border-right: 1px solid #ddd;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  position: relative;
}

.logo {
  text-align: center;
  padding: 8px;
  border-bottom: 1px solid #eee;
}

.logo img {
  max-width: 100px;
}

.menu {
  display: flex;
  flex-direction: column;
  
}

.menu-item {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  color: #333;
  font-weight: 400;
  transition: 0.3s;
  opacity: 0;
  transform: translateY(20px);
  animation: slideIn 0.5s forwards;
  margin: 4px;
  font-size: 14px;
}

.menu-item .slidekk{
  margin: 10px 0px;
}
.menu-item .slidekk li{
  list-style: none;
  padding: 3px;
  
}

.menu-item .slidekk li img{
  margin: 1px 12px -4px 0px;
  height: 18px;
  width: 18px;
}
.menu-item .slidekk li b{
  color:rgb(90, 72, 72);
  font-size: 15px;
  font-weight: 600;
}

.menu-item .slidekk li span{
  margin-left: 25px;
  font-size: 14px;
  font-weight: 550;
  color:rgb(244, 60, 60);
}
.menu-item:hover,
.menu-item.active {
  background: #eef1ff;
}

#menu-item:hover {
  scale: 1.1;
  margin-left: 50px;
  color: rgb(90, 90, 194);
  border-radius: 20px 0px 0px 20px;
}

.menu-item i {
  margin-right: 12px;
}

.menu-item:nth-child(1) { animation-delay: 0.5s; }
.menu-item:nth-child(2) { animation-delay: 0.8s; }
.menu-item:nth-child(3) { animation-delay: 1.1s; }
.menu-item:nth-child(4) { animation-delay: 1.4s; }

@keyframes slideIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.logout {
  padding: 20px;
  border-top: 1px solid #eee;
}

.logout .menu-item {
  opacity: 0;
  transform: translateY(20px);
  animation: slideIn 1.5s forwards;
  animation-delay: 1.5s;
}

.main {
  flex: 1;
  padding: 20px;
  width: 100%;
  overflow-x: hidden;
}

.mobile-header {
  display: none;
  background-color: #fff;
  padding: 15px 20px;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.hamburger div {
  width: 24px;
  height: 3px;
  background-color: #333;
}

/* Responsive Layout for Box */
.main .box1 {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
}

.main .box2 {
  color: black;
  flex: 2;
  min-width: 250px;
  /* padding:20px 20px 0px 20px;  */
}

.main .box3 {
  
  flex: 1;
  min-width: 200px;
  padding: 30px;
  color: black;
  background-color: white;
  border-radius: 20px;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 25px, rgba(0, 0, 0, 0.05) 0px 5px 10px;
  margin-bottom: 20px;
}


.main .box2 .boxss1 .heading{
  color: rgb(237, 96, 96);
  font-size: 30px;
  font-weight: 650;
  
}

.main .box2 .boxss1 .haedphoto{
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  max-width: 95%;
  margin: 18px;
  border-radius: 45px;
}
.heading {
  color: rgb(133, 146, 235);
  font-weight: 600;
  font-size: 24px;
  padding: 10px 30px 20px 0px;
}
.main .box2 .boxss1 .heading1{
  color: rgb(63, 63, 233);
  font-size: 15px;
  font-weight: 500;
  margin: 20px 0px;
}


.main .box2 .boxss2{
  display: grid;
  grid-template-columns: 2fr 2fr;
  
}

@media only screen and (max-width: 600px){
.main .box2 .boxss2{
  display: grid;
  grid-template-columns: auto;
  
}

}

.main .box2 .boxss2 .boxss21{
    color: black;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 25px, rgba(0, 0, 0, 0.05) 0px 5px 10px;
    margin: 10px;
    border-radius: 20px;
}
  .main .box2 .boxss2 .boxss22{
    color: black;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 25px, rgba(0, 0, 0, 0.05) 0px 5px 10px;
    margin: 10px;
    border-radius: 20px;
  }

  .main .box2 .boxss2 .boxss21 .symbols img{
    height: 60px;
    width: 60px;
    margin: 10px 0;
  }
  .main .box2 .boxss2 .boxss22 .symbols img{
    height: 60px;
    width: 60px;
    margin: 10px 0;
  }
.main .box2 .boxss2 .boxss21,.boxss22{
  padding:10px 25px 15px 25px;
  background-color: white;
}
  
.main .box2 .boxss2 p{
  height: 5px;
  width: 140px;
  margin: 2px 0px 10px 0;
  border-radius: 40px;
}
.main .box2 .boxss2 h3{
  font-weight: 500;
  font-size: 15px;
}

.main .box2 .boxss2 h1{
  font-size: 26px;
  color: rgb(95, 88, 88);
}
  
/* Media Queries */
@media (max-width: 768px) {
  body {
    flex-direction: column;
  }

  .sidebar {
    position: fixed;
    top: 60px;
    left: -260px;
    height: calc(100% - 60px);
    z-index: 1000;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.05);
  }

  .sidebar.show {
    left: 0;
  }

  .mobile-header {
    display: flex;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
  }

  .main {
    margin-top: 60px;
    padding: 15px;
  }

  .main .box1 {
    flex-direction: column;
  }

  .main .box2,
  .main .box3 {
    width: 100%;
  }

  .menu-item:hover {
    margin-left: 20px;
    scale: 1.05;
  }
}


/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */


    .chart-container {
      text-align: center;
      max-width: 180px;
      width: 100%;
      margin: auto auto;
    }

    .chart-container .multi-ring-chart {
      position: relative;
      width: 100%;
      padding-top: 100%;
      border-radius: 10px;
      overflow: hidden;
    }

    .chart-container .ring {
      position: absolute;
      border-radius: 50%;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) rotate(-90deg);
      background: conic-gradient(var(--color) 0deg, #eaeaea 0%);
      animation: fillRing 5s ease-in-out forwards;
    }

    /* Rings with delays and sizes */
    .chart-container .month-ring {
      width: 100%;
      height: 100%;
      --color: #f34f5c;
      --percent: 310deg; /* 86% */
      animation-delay: 0.5s;
      z-index: 1;
    }

    .chart-container .week-ring {
      width: 75%;
      height: 75%;
      --color: #4ef3b7;
      --percent: 43deg; /* 12% */
      animation-delay: 2s;
      z-index: 2;
    }

    .chart-container .today-ring {
      width: 50%;
      height: 50%;
      --color: #6578f7;
      --percent: 86deg; /* 24% */
      animation-delay: 4s;
      z-index: 3;
    }

    @keyframes fillRing {
      0% {
        background: conic-gradient(var(--color) 0deg, #eaeaea 0%);
        transform: translate(-50%, -50%) rotate(-90deg);
      }
      100% {
        background: conic-gradient(var(--color) var(--percent), #eaeaea 0%);
        transform: translate(-50%, -50%) rotate(-90deg);
      }
    }

    .chart-container .center-circle {
      position: absolute;
      width: 18.75%;
      height: 18.75%;
      background: white;
      border-radius: 50%;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: 4;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 600;
      font-size: 0.9rem;
      color: #333;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    }

    .chart-container .labels {
      margin-top: 20px;
      text-align: left;
      width: 120%;
    }

    .chart-container .labels div {
      margin: 4px 0;
      font-size: 14px;
      font-weight: 600;
      color: rgb(84, 81, 81);
    }

    .chart-container .labels span {
      display: inline-block;
      width: 14px;
      height: 14px;
      border-radius: 50%;
      margin-right: 8px;
      vertical-align: middle;
    }

    @media (max-width: 400px) {
      .chart-container .labels div {
        font-size: 13px;
      }
    }


    /* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */



    
    .calendar-container {
margin: auto auto;      
      border-radius: 12px;
      width: 300px;
      animation: fadeSlide 0.6s ease-in;
    }

    .calendar-container .month-header {
      text-align: center;
      font-size: 1.2rem;
      font-weight: bold;
      background: linear-gradient(to right, #c62929, #f28f32);
      color: #fff;
      padding: 5px 0;
      border-radius: 8px;
      margin-bottom: 10px;
    }

    .calendar-container .weekdays, .days {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 5px;
    }

    .calendar-container .weekdays div {
      background: #bbdefb;
      color: #f55c5c;
      font-weight: bold;
      text-align: center;
      padding: 8px 0;
      border-radius: 6px;
      font-size: 0.8rem;
    }

    .calendar-container .days div {
      background: #e3f2fd;
      text-align: center;
      padding: 10px 0;
      border-radius: 6px;
      font-size: 0.9rem;
      cursor: pointer;
      transition: 0.3s;
      animation: fadeUp 0.4s ease forwards;
      opacity: 0;
      transform: translateY(10px);
    }

    .calendar-container .days div:hover {
      background: #a4c9e8;
      transform: scale(1.05);
    }

    .calendar-container .has-event {
      background: #bbdefb !important;
      color: #0d47a1;
      position: relative;
      font-weight: bold;
    }

    .calendar-container .has-event::after {
      content: '';
      width: 6px;
      height: 6px;
      background: #d8878a;
      border-radius: 50%;
      position: absolute;
      bottom: 6px;
      left: 50%;
      transform: translateX(-50%);
    }

    .calendar-container .event-details {
      margin-top: 20px;
      background: #e1f5fe;
      border-left: 5px solid #42a5f5;
      padding: 10px 15px;
      border-radius: 8px;
      font-size: 0.95rem;
      color: #830f0f;
      display: none;
      animation: fadeSlide 0.4s ease; 
    }

    @keyframes fadeUp {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes fadeSlide {
      from { opacity: 0; transform: translateY(20px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    /* _______________________________________________________________________________________ */


    
    .students h2 {
      text-align: center;
      color: #e67171;
      font-size: 1.5rem;
      margin-bottom: 1rem;
      animation: fadeInDown 1s ease-out;
    }

    .students {
      max-width: 1000px;
      margin: auto;
      background-color: #fff;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      border-radius: 12px;
      padding: 1.5rem;
      animation: fadeInUp 1s ease-in;
    }

    .students table {
      width: 100%;
      border-collapse: collapse;
      overflow: hidden;
    }

    .students thead {
      background-color: #6c7dc9;
      color: white;
    }

    .students th, td {
      text-align: left;
      padding: 12px 16px;
    }

    tbody tr {
      border-bottom: 1px solid #eaeaea;
      transition: background-color 0.3s ease;
    }

    tbody tr:hover {
      background-color: #f0f4ff;
    }

    .icon99 {
      width: 32px;
      height: 32px;
      vertical-align: middle;
      margin-right: 10px;
      border-radius: 50%;
      box-shadow: 0 0 5px rgba(0,0,0,0.1);
    }

    .iconsname {
      display: flex;
      align-items: center;
      font-weight: 550;
    }

    .iconsname img {
      margin-right: 10px;
    }

    .success, .danger {
      padding: 4px 10px;
      border-radius: 20px;
      font-weight: bold;
      text-align: center;
      width: fit-content;
    }

    .success {
      /* background-color: #d1f5d3; */
      color: #2e7d32;
    }

    .danger {
      /* background-color: #ffd6d6; */
      color: #c62828;
    }

    /* Animations */
    @keyframes fadeInUp {
      from {
        transform: translateY(20px);
        opacity: 0;
      }
      to {
        transform: translateY(0);
        opacity: 1;
      }
    }

    @keyframes fadeInDown {
      from {
        transform: translateY(-20px);
        opacity: 0;
      }
      to {
        transform: translateY(0);
        opacity: 1;
      }
    }

    /* Responsive */
    @media screen and (max-width: 768px) {
      table, thead, tbody, th, td, tr {
        display: block;
      }

      thead tr {
        display: none;
      }

      tbody tr {
        margin-bottom: 1rem;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 10px;
      }

      td {
        display: flex;
        justify-content: space-between;
        padding: 8px 10px;
      }

      td::before {
        content: attr(data-label);
        font-weight: bold;
        color: #555;
      }
    }


    /* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

.sliding {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
  
}

.sliding::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to right, white 0%, transparent 5%, transparent 95%, white 100%);
  pointer-events: none;
  z-index: 2;
}

.sliding .haedphoto {
  width: 100%;
  height: 100%;
  object-fit: contain;
  flex-shrink: 0;
  
}


.sliding img {
  animation: slideShow 12s infinite;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  
}

.sliding img:nth-child(1) {
  animation-delay: 0s;
}
.sliding img:nth-child(2) {
  animation-delay: 4s;
}
.sliding img:nth-child(3) {
  animation-delay: 8s;
}

@keyframes slideShow {
  0% {
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  30% {
    opacity: 1;
  }
  35% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

    