/* Global Styling */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f7f9fc;
  display: flex;
}

.container {
  display: flex;
  height: 100vh;
  width: 100%;
}

/* Navigation Bar */
.navbar {
  background-color: #2c3e50;
  color: #ecf0f1;
  width: 250px; /* Fixed width for expanded state */
  transition: width 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: fixed; /* Fix the navbar's position to prevent resizing issues */
  height: 100%; /* Ensure it covers the full height */
}

.navbar.collapsed {
  width: 50px; /* Fixed width for collapsed state */
}

/* Menu Items */
.menu {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

.menu li {
  margin: 10px 0;
}

.menu li a {
  text-decoration: none;
  color: #ecf0f1;
  display: block;
  padding: 10px 20px;
  white-space: nowrap;
}

.menu li a:hover {
  background-color: #34495e;
}


.navbar.collapsed .menu {
  display: none; /* Hide menu when collapsed */
}

/* Content Alignment */
.main-content {
  margin-left: 250px; /* Match the width of the expanded navbar */
  transition: margin-left 0.3s ease;
}


.navbar.collapsed + .main-content {
  margin-left: 50px; /* Match the width of the collapsed navbar */
} 


/* Toggle Button Styling */
.toggle-btn {
background-color: #34495e; /* Dark grey background for the button */
color: #ecf0f1; /* Light text color */
font-size: 24px; /* Increase size for better visibility */
border: none;
border-radius: 4px; /* Rounded corners for aesthetics */
cursor: pointer;
margin: 10px auto; /* Center the button */
width: 40px; /* Larger width */
height: 40px; /* Larger height */
display: flex;
justify-content: center;
align-items: center;
transition: transform 0.3s ease, background-color 0.3s ease; /* Smooth animations */
}

.toggle-btn:hover {
background-color: #2ecc71; /* Green highlight on hover */
}

.navbar.collapsed .toggle-btn {
transform: rotate(180deg); /* Rotate animation when navbar is collapsed */
}

/* Main Content */
.main-content {
  flex-grow: 1;
  padding: 20px;
  overflow-y: auto;
}

/* Profile Page Content */
.profile-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Profile Header */
.profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.profile-picture {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: #ccc;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
  color: #666;
}

.profile-info {
  flex-grow: 1;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Activity Section */
.activity-section {
  margin-top: 20px;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
/*
#heatmap {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-gap: 5px;
  margin-top: 10px;
}

.heatmap-cell {
  width: 100%;
  aspect-ratio: 1;
  background-color: #ccc;
  border-radius: 4px;
  cursor: pointer;
}

.heatmap-cell.active {
  background-color: #2ecc71;
}
*/
/* Certifications Section */
.certifications-section {
  margin-top: 20px;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.certifications {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.certifications img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.certifications img:hover {
  transform: scale(1.05);
  transition: 0.3s ease;
}

.heatmap-container {
  margin-top: 20px;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stats {
  margin-bottom: 20px;
  text-align: center;
}

.stats .total-submissions {
  font-size: 18px;
  margin-bottom: 10px;
}

.stats .details span {
  margin-right: 20px;
  font-size: 14px;
}

.heatmap {
  display: grid;
  grid-template-columns: repeat(12, 1fr); /* One column per month */
  gap: 10px;
}

.month {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.month-title {
  width: 100%;
  text-align: center;
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: bold;
}

.day-box {
  width: 10px;
  height: 10px;
  margin: 2px;
  border-radius: 2px;
  background-color: #bdc3c7; /* Default: no activity */
  cursor: pointer;
}

.day-box.active-low {
  background-color: #76c7c0;
}

.day-box.active-medium {
  background-color: #34a69a;
}

.day-box.active-high {
  background-color: #1d7069;
}

.day-box.active-max {
  background-color: #0d473f;
}

.day-box:hover {
  border: 1px solid #fff;
  transform: scale(1.2);
  transition: transform 0.2s;
}
/* Adjustments for Course Layout */
.courses-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
}

.course {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 50px;
}

/* Aesthetic Course Titles */
.course-title {
  font-size: 20px;
  font-weight: bold;
  color: #34495e; /* A darker, professional-looking color */
  text-transform: uppercase; /* Make the titles stand out */
  margin: 0 0 10px 0; /* Add spacing below the title */
  padding-left: 10px; /* Slight padding to align better */
  border-left: 4px solid #2ecc71; /* Add a green vertical bar for a modern touch */
}


.course-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Adjustments for Focus Areas */
/* Focus Areas Container */
.focus-areas {
  display: flex;
  flex-wrap: wrap; /* Allow focus areas to move to the next row */
  gap: 10px; /* Space between focus areas */
  flex-grow: 1; /* Let it grow within the course content */
  align-items: center;
}

/* Focus Area Box */
.focus-area {
  padding: 10px 20px; /* Add padding for better spacing */
  border-radius: 4px;
  background-color: #bdc3c7; /* Default grey */
  color: #fff;
  font-size: 14px;
  text-align: center;
  white-space: nowrap; /* Ensure text doesn't wrap within a box */
  cursor: pointer;
  flex-shrink: 0; /* Prevent shrinking of boxes */
}

/* Dynamic Focus Area Colors */
.focus-area.green {
  background-color: #2ecc71; /* Green */
}

.focus-area.red {
  background-color: #e74c3c; /* Red */
}

.focus-area.grey {
  background-color: #bdc3c7; /* Grey */
}

/* Hover Effect */
.focus-area:hover {
  transform: scale(1.05);
  transition: transform 0.2s;
}

/* Certification Badge */
.certification-icon {
  width: 160px; /* Keep the badge size as requested */
  height: 160px;
  border-radius: 50%;
  background-color: #e74c3c; /* Default red */
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.certification-icon:hover {
  transform: scale(1.1);
  transition: transform 0.2s;
}
.profile-picture img {
  width: 100%; /* Ensure the image fills the container */
  height: 100%; /* Maintain aspect ratio */
  object-fit: cover; /* Crop image to fit the dimensions */
  border-radius: 50%; /* Makes the image circular */
}
