  /* === Base Body Styling === */
  body {
    font-family: 'Urbanist', sans-serif; /* Main font for the site */
    margin: 0;
    padding: 0;
    min-height: 100vh; /* Full viewport height */
    overflow-x: hidden;
    overflow-y: auto;
    background: linear-gradient(to right, #E0ECFF, #ffffff); /* Gradient background */
    perspective: 1200px; /* For 3D effects */
  }

  /* === Logo Styling === */
  .logo { width: 60px; } /* Small logo */
  .logo2 { width: 150px; } /* Larger version */

  /* === Headings Font Override === */
  h2, h4 {
    font-family: 'Fredoka One', cursive; /* Decorative font for headings */
  }

  /* === Left Sidebar === */
  .sidebar {
    min-height: 114vh;
	height: 100%;
    background: #2C68C7; /* Blue background */
    color: #fff;
    overflow-y: auto;
    transition: transform 0.3s ease, left 0.3s ease;
    box-shadow: 10px 0px 10px rgba(0, 0, 0, 0.1);
	margin-top: -5px;
  }

  /* === Right Sidebar === */
  .rsidebar {
    color: #fff;
    overflow-y: auto;
    transition: transform 0.3s ease, left 0.3s ease;
    box-shadow: -10px 0px 10px rgba(0, 0, 0, 0.05);
    height: 100%;
    margin-top: -5px;
  }

  /* === Sidebar Navigation Links === */
  .sidebar .nav-link {
    color: #fff;
    position: relative;
    transition: background 0.3s;
    border-radius: 20px;
    margin: 5px;
  }

  /* === Active or Hovered Sidebar Link === */
  .sidebar .nav-link.active,
  .sidebar .nav-link:hover {
    background-color: #FFE730 !important; /* Yellow background */
    color: #2C68C7 !important; /* Blue text */
    font-weight: bold;
  }

  /* === Main Content Styling === */
  .content {
    padding: 0.5rem 0.8rem;
    transform: translateZ(30px); /* 3D depth effect */
  }

  /* === Top Navigation Bar === */
  .topbar {
    background-color: #2C68C7;
    margin: 0.5rem 0rem;
    padding: 0rem 1rem;
    box-shadow: 0px 10px 20px rgba(0,0,0,0.2);
    transform: translateZ(20px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
	padding: 0px 30px;
  }

  .topbar .left-logo {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  /* === Profile Picture Circle === */
  .profile-pic {
    width: 50px;
    height: 50px;
    background-color: #fff;
    color: #2C68C7;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    overflow: hidden;
    position: relative;
    transition: background-color 0.3s;
  }

  .profile-pic:hover {
    background-color: #FFE730;
    color: #2C68C7;
  }

  .profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
  }

  /* === Dashboard Cards === */
  .dashboard-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform-style: preserve-3d;
  }

  .dashboard-card:hover {
    transform: rotateY(5deg) translateY(-10px) translateZ(20px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.2);
    cursor: pointer;
  }

  /* === Primary Buttons === */
  .btn {
    color: #2C68C7;
    background-color: #FFE730;
    border: 0;
    font-weight: 600;
  }

  .btn:hover {
    color: #fff;
    background-color: #2C68C7;
    border-color: #FFE730;
  }

  /* === Logout Button === */
  .logout-btn {
    background-color: transparent;
    color: #FFE730;
    border: 2px solid #FFE730;
    font-weight: bold;
    transition: all 0.3s ease;
    border-radius: 50px;
    margin-top: auto;
    margin-bottom: 5px;
  }

  .logout-btn:hover {
    background-color: #FFE730;
    color: #2C68C7;
  }

  /* === Summary Cards Grid === */
  .summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
  }

  /* === Individual Card Block === */
  .dash-card {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 15px;
    background-color: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  }

  .dash-card i {
    font-size: 28px;
  }

  /* === Card Color Variants === */
  .dash-card.red { background-color: #ffe1e1; }
  .dash-card.purple { background-color: #e6e1ff; }
  .dash-card.yellow { background-color: #fff5cc; }
  .dash-card.green { background-color: #ddf6dd; }


	<!-- === Leaderboard and Entry Sections === -->
  .leaderboard-box {
    border-radius: 20px;
    width: auto;
  }

  .leaderboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
  }

  .leaderboard-header h6 {
    margin: 0;
    color: #000000;
    font-weight: bold;
    font-size: 0.9rem;
  }

  .leaderboard-header div {
    font-size: 0.8rem;
    color: #d8fdd4;
    text-decoration: none;
  }

  .underling-box {
    border-radius: 20px;
    width: auto;
    margin-top: 20px;
  }

  .underling-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
  }

  .underling-header h6 {
    margin: 0;
    color: #000000;
    font-weight: bold;
    font-size: 0.9rem;
  }

  .underling-header div {
    font-size: 0.8rem;
    color: #d8fdd4;
    text-decoration: none;
  }

  .entry {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 20px;
    padding: 8px 15px;
    margin-bottom: 10px;
    font-weight: bold;
    color: black;
  }

  .entry span {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .entry img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
  }

  /* Entry Row Background Colors */
  .entry.pink { background-color: #e0aebe; }
  .entry.yellow { background-color: #fdd762; }
  .entry.red { background-color: #e96155; }
  .entry.green { background-color: #60c18b; }

  .points {
    font-size: 0.9rem;
  }

  /* === Table Styling === */
  .table thead {
    background-color: #0f5132;
    color: white;
  }

  .table-striped tbody tr:nth-of-type(odd) {
    background-color: #e9f5ec;
  }

  .grade-score {
    font-weight: bold;
  }


	.quiz-box {
      background-color: white;
      border-radius: 8px;
      box-shadow: 0 0 10px rgba(0,0,0,0.05);
      padding: 30px;
      width:90%;
	  margin:auto;
    }
    .question-block {
      border-top: 1px solid #ddd;
      padding-top: 20px;
      margin-top: 20px;
    }
    .question-label {
      display: inline-block;
      background-color: #2C68C7;
      color: white;
      font-size: 14px;
      font-weight: bold;
      padding: 4px 20px;
      border-radius: 50px;
      margin-right: 10px;
	  margin-left: -50px;
    }
    .question-text {
      font-weight: 500;
    }
    .form-check {
      margin-top: 10px;
    }
	.form-check-input {
		width: 1.2em;
		height: 1.2em;
	}
	.form-check-input:checked {
		background-color: #2C68C7;
		border-color: #0d6efd;
	}
	.form-check .form-check-input {
		float: left;
		margin-left: -1.2em;
		margin-right:1em;
	}
	.form-check-input[type=checkbox] {
		border-radius: 10%;
	}
	.form-check-input[type=radio] {
		border-radius: 50%;
	}

	h1, h2{
		font-family: 'Fredoka One', sans-serif;
	}
    .left-panel {
      color: white;
    }
    .user-card img {
      width: 70px;
      height: 70px;
      border-radius: 50%;
    }
    .login-box {
      background: white;
      padding: 40px;
      border-radius: 20px;
      box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    }
	.log-logo {
      width: 80px;
	  height: 58px;
    }

    .log-logo2 {
	  margin-left: -20px;
      width: 200px;
      height: 30px;
      margin-top: 10px;
    }
	.rocket{
	  margin-left:200px;
	  margin-top:-100px;
	}
	.user-card {
	  cursor: pointer;
	  border: 2px solid transparent;
	  transition: all 0.3s ease;
	}
	.user-card.selected {
	  border-color: #2C68C7;
	  box-shadow: 0 0 15px rgba(44, 104, 199, 0.4);
	}
	.login-box.disabled {
	  opacity: 0.5;
	  pointer-events: none;
	}
	.checkmark {
	  position: absolute;
	  top: 8px;
	  right: 8px;
	  background-color: #2C68C7;
	  color: white;
	  border-radius: 50%;
	  font-size: 16px;
	  width: 22px;
	  height: 22px;
	  text-align: center;
	  line-height: 22px;
	  display: none;
	}
	.user-card.selected .checkmark {
	  display: block;
	}
	.elementor-button {
      font-weight: 700;
      background: #FFE730;
      color: #000;
      border: none;
      border-radius: 12px;
      padding: 15px;
      text-transform: uppercase;
      box-shadow: 4px 4px 0px 0px #000000;
      transition: all 0.2s ease-in-out;
    }

    .elementor-button:hover {
      background: #ffdd00;
      box-shadow: 2px 2px 0px 0px #000000;
    }
	.essay-card{
      border: 1px solid #e5e7eb;
      border-radius: 16px;
      background: var(--card);
      transition: box-shadow .2s ease, transform .2s ease;
    }
    .essay-card:hover{
      box-shadow: 0 10px 25px rgba(0,0,0,.06);
      transform: translateY(-2px);
    }
    .tag{
      background: #f1f5f9;
      color:#0f172a;
      border-radius: 10px;
      font-size: .75rem;
      padding: .25rem .5rem;
    }
    .subject-pill{
      border-radius: 999px;
      background: #ecfeff;
      color: #155e75;
      font-weight: 600;
      padding: .35rem .65rem;
      display:inline-flex; align-items:center; gap:.4rem;
    }
	.badge{
		font-weight:500;
		font-family:"Urbanist" , Sans-serif;
	}

	.loading-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.7);
        justify-content: center;
        align-items: center;
        z-index: 9999;
     }


 /* === Responsive Styles for Desktop === */
  @media (min-width: 768px) {
    .sidebar {
      display: flex !important;
      flex-direction: column;
      position: static;
      transform: none !important;
      left: 0 !important;
    }

    .main-content {
      margin-left: 16.666666%;
    }
  }
  @media screen and (max-width: 1100px) and (min-width: 768px) {

	.content {
		padding: 1.8rem;
	}
	.points {
		padding-left:3px;
	  }
	.col-md-3{
		width: 38%;
	  }
	.col-md-9{
		width: 62%;
	  }
	.mob-center{
			text-align:center;
		}

	.rocket{
		  margin-left:0px;
		  margin-top:-100px;
		  width:40%;
		}

	.col-lg-4,  .col-lg-8{
		flex: 0 0 auto;
		width: 100% !important;
    }

   }

  /* === Responsive Styles for Mobile === */
  @media (max-width: 767.98px) {
    .sidebar {
      position: fixed;
      top: 100px;
      left: -100%;
      width: 100%;
      display: block;
      z-index: 1000;
      transform: none;
      box-shadow: 10px 0 20px rgba(0, 0, 0, 0.3);
    }

    .sidebar.show {
      left: 0;
    }

    .rsidebar {
      margin: 0px;
      box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
    }
	.mobile-profile-pic {
		padding-top: 10px;
	}

	.mobile-profile-pic .profile-pic {
		width: 60px;
		height: 60px;
		background-color: #fff;
		color: #2C68C7;
		font-size: 1.2rem;
		border-radius: 50%;
		overflow: hidden;
		cursor: pointer;
	}

	.mobile-profile-pic .profile-pic:hover {
		background-color: #FFE730;
	}

	.mobile-profile-pic .profile-pic img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		border-radius: 50%;
	}
	.mob-hide{
		display:none !important;
	}
	.mob-show{
		display:block !important;
	}
	.summary-cards {
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	}
	.p-3 {
		padding: 0.5rem !important;
	}
	.rocket{
		  margin-left:-40px;
		  margin-top:0px;
		  width:100%;
		}
  }