/* === BACKGROUND GRID AND GRADIENT === */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  min-height: 100vh;
  position: relative;
   background: linear-gradient(
    135deg,
    #23103d 0%,
    #3c3496 50%,
    #23103d 100%
  );
  overflow-x: hidden;
}

/* Grid Pattern Overlay */
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
}

.grid-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: moveGrid 5s linear infinite;
}

@keyframes moveGrid {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 200px 200px;
  }
}


/* === MAIN DASHBOARD BOX === */
.dashboard-container {
  max-width: 1400px;
  margin: 60px auto;
  padding: 40px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 25px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  color: #000000;
}

header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.profile-pic {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: white;
  border: 2px solid #000;
}

.dashboard-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.lesson-progression {
  flex: 1;
  min-width: 300px;
}

.lesson-track {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lesson-node {
  display: flex;
  align-items: center;
  gap: 15px;
}

.circle {
  width: 40px;
  height: 40px;
  background: cyan;
  border: 3px solid #000;
  border-radius: 50%;
}

.line {
  width: 4px;
  height: 30px;
  background-color: cyan;
  margin: 10px 0;
}

.project-section {
  flex: 1;
  min-width: 300px;
}

.project-card {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  padding: 20px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.project-name {
  font-size: 1.2em;
  font-weight: 600;
}

.project-buttons {
  display: flex;
  gap: 10px;
}

.go-btn {
  background-color: limegreen;
  color: rgb(7, 0, 66);
  padding: 10px 20px;
  border: none;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.delete-btn {
  background-color: rgb(153, 0, 255);
  color: white;
  padding: 10px 20px;
  border: none;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.go-btn:hover,
.delete-btn:hover {
  transform: scale(1.05);
}


.logout-btn {
  margin-left: 20px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #41acdd, #270070);
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.logout-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  background: linear-gradient(135deg, #1b1db6, #00ffff);
}
