/* ---------------- NOTIFICATIONS ---------------- */
.notification_wrapper {
  position: relative;
  cursor: pointer;
  /* background-color: #1f2937; */
  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  width: 50px;
  height: 50px;
  transition: 0.5s ease-in-out;
  display: none;
}

.notification_wrapper:hover {
  background-color: var(--background_white);
}

.notifications {
  margin-top: 10px;
}

#notification_icon {
  font-size: 24px;
  color: var(--text_color);
}

/* Notification badge */
.notification_count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--text_red);
  color: var(--text_color);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 50%;
  display: none;
}

/* Dropdown list */
.notification_list {
  position: absolute;
  top: 35px;
  right: 0;
  width: 320px;
  max-height: 400px;
  background: var(--background_white);
  border-radius: 10px;
  overflow: hidden;
  display: none;
  flex-direction: column;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  z-index: 999;
}

.notification_wrapper.active .notification_list {
  display: flex;
}

/* Header */
.notification_list_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: var(--background_white);
  border-bottom: var(--border);
  color: var(--text_color);
  font-size: 14px;
}

.clear_notifications {
  cursor: pointer;
  font-size: 12px;
  color: var(--text_orange);
}

.notification_close {
  cursor: pointer;
}

/* Content */
.notification_list_content {
  overflow-y: auto;
  max-height: 300px;
  padding: 10px;
  color: var(--text_gray);
  font-size: 13px;
}

/* ---------------- PROFILE ---------------- */
.myfirstletter {
  cursor: pointer;
  padding: 10px 5px;
}

.user_circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  /* background: #2563eb; */
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text_white);
  font-weight: bold;
  position: relative;
  overflow: hidden;
}

/* Profile image */
.profile_picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  /* show only if available */
}

/* ---------------- DROPDOWN ---------------- */
.drop_down {
  position: absolute;
  top: 50px;
  right: 0;
  width: 260px;
  background: var(--background_white);
  border-radius: 12px;
  padding: 10px 0;
  box-shadow: var(--shadow);
  z-index: 999;
  border: var(--border);
}

.hidden {
  display: none;
}

/* User header */
.user_full_name {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border-bottom: var(--border);
}

.user_full_name p {
  margin: 0;
  color: var(--text_color);
  font-size: 14px;
}

.user_full_name ins {
  font-size: 12px;
  color: var(--text_color);
  text-decoration: none;
}

/* Dropdown items */
.drop_list {
  padding: 0;
  transition: background 0.2s ease;
  display: flex;
  flex-direction: column;
}

.drop_list a {
  text-decoration: none;
  color: var(--text_color);
  font-size: small;
  /* display: block; */
  padding: 5px 20px;
}

.drop_list:hover {
  background: var(--background_gray_trans);
}

/* ---------------- LOGIN STATE ---------------- */
.login a {
  color: var(--text_color);
  text-decoration: none;
  font-size: 14px;
  /* background: var(--background_sky); */
  padding: 6px 15px;
  border-radius: 6px;
}
