/* acc_prof.css */

/* Profile Image */
.profile-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  transition: all 0.3s ease;
  border: 2px solid var(--light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.profile-img:hover {
  border-color: var(--secondary);
  transform: scale(1.08);
}

/* Profile Initial Fallback */
.profile-initial {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.profile-initial:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Dropdown Menu */
.dropdown-menu {
  border-radius: 15px;
  border: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  padding: 10px 0;
  min-width: 220px;
  background: #fff;
  overflow: hidden;
}

.dropdown-header {
  font-weight: 600;
  font-size: 0.9rem;
  background-color: var(--light);
  padding: 10px;
  border-bottom: 1px solid #eee;
  color: var(--dark);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-weight: 500;
  color: var(--dark);
  transition: background 0.25s ease, color 0.25s ease;
  border-radius: 8px;
  margin: 3px 8px;
}

.dropdown-item:hover {
  background-color: var(--light);
  color: var(--primary);
}

.dropdown-divider {
  margin: 8px 0;
  border-color: #eee;
}

.dropdown-menu.animate__animated {
  animation-duration: 0.25s;
}

/* Navbar Adjustments */
.navbar {
  background-color: var(--primary) !important;
}

.navbar .nav-link {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9) !important;
  transition: 0.3s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--secondary) !important;
}

.navbar .profile-icon {
  padding: 4px;
  border-radius: 50%;
  transition: 0.3s ease;
}
