.profile-photo-container {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
}

.profile-photo-container:hover .edit-icon {
  opacity: 1;
}

.edit-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.edit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  color: white;
  transition: background-color 0.3s ease;
}

.edit-button:hover {
  background-color: rgba(0, 0, 0, 0.9);
}

.cover-photo-container {
  position: relative;
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  overflow: hidden;
}

.change-cover-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease, opacity 0.3s ease;
  opacity: 1;
  color: white;
  font-size: 14px;
  opacity: 0;
}

.cover-photo-container:hover .change-cover-icon {
  opacity: 1;
}

.change-cover-icon:hover {
  width: auto;
  padding: 10px 15px;
  border-radius: 20px;
}

.change-cover-icon:hover::after {
  content: " Change Cover";
  font-size: 14px;
  margin-left: 5px;
}
.dashboard-sidebar {
  background-color: #ffffff;
  padding: 1rem;
  min-height: 100vh;
}

.sidebar-user-section {
  background-color: #f9fafb;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
  text-align: center;
}

.greeting-text {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.user-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #111827;
}

.section-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #374151;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.nav-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  color: #374151;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
  background-color: #f3f4f6;
  color: #1d4ed8;
}

.nav-link.active {
  background-color: #e0e7ff;
  color: #1e3a8a;
  font-weight: 600;
}

.nav-label {
  margin-left: 10px;
}

.text-danger {
  color: #dc3545 !important;
}
