@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

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

body {
  font-family: "poppins", Tahoma, Geneva, Verdana, sans-serif;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' version='1.1' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:svgjs='http://svgjs.dev/svgjs' width='1440' height='560' preserveAspectRatio='none' viewBox='0 0 1440 560'%3e%3cg clip-path='url(%26quot%3b%23SvgjsClipPath1093%26quot%3b)' fill='none'%3e%3crect width='1440' height='560' x='0' y='0' fill='rgba(105%2c 117%2c 221%2c 1)'%3e%3c/rect%3e%3ccircle r='50.88' cx='823.1' cy='396.47' fill='url(%26quot%3b%23SvgjsLinearGradient1094%26quot%3b)'%3e%3c/circle%3e%3ccircle r='42.16' cx='212.12' cy='323.56' fill='url(%26quot%3b%23SvgjsLinearGradient1095%26quot%3b)'%3e%3c/circle%3e%3ccircle r='30.505' cx='1344.54' cy='88.74' fill='url(%26quot%3b%23SvgjsLinearGradient1096%26quot%3b)'%3e%3c/circle%3e%3ccircle r='21.62' cx='271.53' cy='338.21' fill='url(%26quot%3b%23SvgjsLinearGradient1097%26quot%3b)'%3e%3c/circle%3e%3ccircle r='48.02' cx='1103.05' cy='171.7' fill='url(%26quot%3b%23SvgjsLinearGradient1098%26quot%3b)'%3e%3c/circle%3e%3ccircle r='38.205' cx='1302.25' cy='541.93' fill='url(%26quot%3b%23SvgjsLinearGradient1099%26quot%3b)'%3e%3c/circle%3e%3ccircle r='34.865' cx='147.85' cy='415.54' fill='url(%26quot%3b%23SvgjsLinearGradient1100%26quot%3b)'%3e%3c/circle%3e%3ccircle r='17.505' cx='108.84' cy='171.7' fill='url(%26quot%3b%23SvgjsLinearGradient1101%26quot%3b)'%3e%3c/circle%3e%3c/g%3e%3cdefs%3e%3cclipPath id='SvgjsClipPath1093'%3e%3crect width='1440' height='560' x='0' y='0'%3e%3c/rect%3e%3c/clipPath%3e%3clinearGradient x1='721.34' y1='396.47' x2='924.86' y2='396.47' gradientUnits='userSpaceOnUse' id='SvgjsLinearGradient1094'%3e%3cstop stop-color='%23f29b7c' offset='0.1'%3e%3c/stop%3e%3cstop stop-color='%237e6286' offset='0.9'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient x1='127.80000000000001' y1='323.56' x2='296.44' y2='323.56' gradientUnits='userSpaceOnUse' id='SvgjsLinearGradient1095'%3e%3cstop stop-color='%2332325d' offset='0.1'%3e%3c/stop%3e%3cstop stop-color='%23424488' offset='0.9'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient x1='1283.53' y1='88.74' x2='1405.55' y2='88.74' gradientUnits='userSpaceOnUse' id='SvgjsLinearGradient1096'%3e%3cstop stop-color='%2384b6e0' offset='0.1'%3e%3c/stop%3e%3cstop stop-color='%23464a8f' offset='0.9'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient x1='228.28999999999996' y1='338.21' x2='314.77' y2='338.21' gradientUnits='userSpaceOnUse' id='SvgjsLinearGradient1097'%3e%3cstop stop-color='%23ab3c51' offset='0.1'%3e%3c/stop%3e%3cstop stop-color='%234f4484' offset='0.9'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient x1='1007.01' y1='171.7' x2='1199.09' y2='171.7' gradientUnits='userSpaceOnUse' id='SvgjsLinearGradient1098'%3e%3cstop stop-color='%2332325d' offset='0.1'%3e%3c/stop%3e%3cstop stop-color='%23424488' offset='0.9'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient x1='1225.84' y1='541.93' x2='1378.6599999999999' y2='541.93' gradientUnits='userSpaceOnUse' id='SvgjsLinearGradient1099'%3e%3cstop stop-color='%23f29b7c' offset='0.1'%3e%3c/stop%3e%3cstop stop-color='%237e6286' offset='0.9'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient x1='78.11999999999999' y1='415.54' x2='217.57999999999998' y2='415.54' gradientUnits='userSpaceOnUse' id='SvgjsLinearGradient1100'%3e%3cstop stop-color='%23e298de' offset='0.1'%3e%3c/stop%3e%3cstop stop-color='%23484687' offset='0.9'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient x1='73.83000000000001' y1='171.7' x2='143.85000000000002' y2='171.7' gradientUnits='userSpaceOnUse' id='SvgjsLinearGradient1101'%3e%3cstop stop-color='%23e298de' offset='0.1'%3e%3c/stop%3e%3cstop stop-color='%23484687' offset='0.9'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e");
  min-height: 100vh;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.header h1 {
  color: #2c3e50;
  font-size: 2.5em;
  margin-bottom: 10px;
  font-weight: 700;
}

.header p {
  color: #7f8c8d;
  font-size: 1.2em;
}

.nav-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  padding: 10px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  flex-wrap: wrap;
  gap: 10px;
}

.nav-tab {
  flex: 1;
  padding: 15px 20px;
  background: transparent;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1em;
  font-weight: 600;
  color: #7f8c8d;
  transition: all 0.3s ease;
  min-width: 120px;
}

.nav-tab.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.nav-tab:hover {
  transform: translateY(-1px);
  color: #667eea;
}

.content-section {
  display: none;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: fadeIn 0.5s ease;
}

.content-section.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.class-structure {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

.structure-card {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  border-radius: 15px;
  padding: 25px;
  color: white;
  text-align: center;
  transform: translateY(0);
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(240, 147, 251, 0.3);
}

.structure-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(240, 147, 251, 0.4);
}

.structure-card h3 {
  font-size: 1.3em;
  margin-bottom: 10px;
}

.structure-card p {
  font-size: 1.1em;
  font-weight: 600;
}

.students-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

@media (min-width: 1200px) {
  .students-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.student-card {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  border-radius: 15px;
  padding: 20px;
  color: white;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(79, 172, 254, 0.3);
}

.student-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(79, 172, 254, 0.4);
}

.student-avatar {
  /* width: 150px; */
  height: 150px;
  border-radius: 10%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 1.5em;
  font-weight: bold;
  overflow: hidden;
}

@media(max-width: 600px) {
  
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 1rem;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.schedule-table th {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 15px;
  font-weight: 600;
  text-align: center;
}

.schedule-table td {
  padding: 15px;
  text-align: center;
  border-bottom: 1px solid #ecf0f1;
  background: rgba(255, 255, 255, 0.8);
}

.schedule-table tr:hover td {
  background: rgba(102, 126, 234, 0.1);
}

.announcement-card {
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 20px;
  border-left: 5px solid #f39c12;
  box-shadow: 0 10px 25px rgba(252, 182, 159, 0.3);
  transition: all 0.3s ease;
}

.announcement-card:hover {
  transform: translateX(5px);
  box-shadow: 0 15px 35px rgba(252, 182, 159, 0.4);
}

.announcement-date {
  color: #d35400;
  font-size: 0.9em;
  font-weight: 600;
  margin-bottom: 10px;
}

.announcement-title {
  color: #2c3e50;
  font-size: 1.2em;
  font-weight: 700;
  margin-bottom: 10px;
}

.search-box {
  width: 100%;
  padding: 15px;
  border: 2px solid #ecf0f1;
  border-radius: 10px;
  font-size: 1em;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.search-box:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 15px rgba(102, 126, 234, 0.2);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(168, 237, 234, 0.3);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(168, 237, 234, 0.4);
}

.stat-number {
  font-size: 2.5em;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 10px;
}

.stat-label {
  color: #7f8c8d;
  font-weight: 600;
}

@media (max-width: 768px) {
  .container {
    padding: 10px;
  }

  .header h1 {
    font-size: 2em;
  }

  .nav-tabs {
    flex-direction: column;
  }

  .nav-tab {
    min-width: auto;
  }

  .class-structure,
  .students-grid {
    grid-template-columns: 1fr;
  }

  .schedule-table {
    font-size: 0.9em;
  }

  .schedule-table th,
  .schedule-table td {
    padding: 10px 5px;
  }
}
