/* --------------------------------------------------------------------------------------------- */
/* ########################################## HEADER ########################################### */
/* --------------------------------------------------------------------------------------------- */
#content, #content_profile { 
  display: flex;
  flex-flow: column;
  flex: 1;
  min-width: 0;
  position: relative;
  width: 100%; 
  min-height: 100vh;
  background: var(--background); 
  border-top-left-radius: 30px; 
  border-bottom-left-radius: 30px; }
#content > header, #content_profile > header { display: flex; justify-content: space-between; flex-wrap: wrap; padding: 20px; }
#content > header i.fa-bars, #content_profile > header i.fa-bars { font-size: 22px; color: #bbb; cursor: pointer; }
#content > header > div, #content_profile > header > div { display: flex; align-items: center; }
#content > header > div:first-child, #content_profile > header > div:first-child { max-width: 60%; }
#content > header .title_section, #content_profile > header .title_section { 
  display: none; 
  align-items: center; 
  margin-bottom: 0; 
  margin-left: 30px;
  color: #999;
  font-weight: 700;
  animation-duration: var(--animate-duration); 
  animation-fill-mode: both;
  animation-name: jackInTheBox; }
#content > header .title_section > i, #content_profile > header .title_section > i { font-size: 34px; margin-right: 8px; color: #f1592a; }
#content > header .title_section > span, #content_profile > header .title_section > span { font-size: 16px; }
#content > header .title_section.help_analysis:hover, #content_profile > header .title_section.help_analysis:hover { cursor: default; color: var(--theme); }
#content > header .title_section.help_analysis:hover > i, #content_profile > header .title_section.help_analysis:hover > i { font-weight: 600; }

#bell { cursor: pointer; position: relative; margin: 0 15px; }
#bell:hover .bell_cont {
  transform-origin: top center;
  animation-duration: var(--animate-duration); 
  animation-fill-mode: both; 
  animation-name: swing; }
#bell .bell_cont > .badge {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: 20px;
  height: 20px;
  top: 0;
  right: -5px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 400;
  color: #fff;
  background: var(--bs-red); }
#notifications {
  z-index: 10;
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 350px;
  border-radius: 8px;
  box-shadow: 0 2px 8px 0px rgb(0 0 0 / 35%); }
#notifications .head, #notifications .foot { display: flex; justify-content: center; align-items: center; }
#notifications .head { 
  background: var(--theme); 
  border-bottom: 1px solid #fff;
  color: #fff;
  padding: 10px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px; }
#notifications .head > i { font-size: 22px; margin-right: 7px; }
#notifications .content { background: #fff; max-height: 40vh; overflow: overlay; }
#notifications .content > li { display: flex; padding: 10px; line-height: 1.2; font-size: 14px; }
#notifications .content > li:not(:last-child) { border-bottom: 1px solid #ddd; }
#notifications .content > li > i { font-size: 24px; margin-right: 10px; color: var(--theme); }
#notifications .content > li > .information > .header { display: flex; justify-content: space-between; margin-bottom: 10px; }
#notifications .content > li > .information > .header > .type { color: var(--theme); line-height: 1.1; }
#notifications .content > li > .information > .header > .date { white-space: nowrap; }
#notifications .content > li > .information > .message > span { font-weight: 700; }
#notifications .content > li:hover { background: var(--theme); }
#notifications .content > li:hover * { color: #fff; }
#notifications .content > li:hover > i,
#notifications .content > li:hover > .information > .header > .type { color: rgba(0,0,0,.5); }
#notifications .foot { 
  cursor: pointer;
  background: #eee; 
  border-top: 1px solid #fff;
  padding: 5px 10px;
  border-bottom-left-radius: 8px; 
  border-bottom-right-radius: 8px; }
#notifications .foot > i { margin-left: 5px; }
#notifications .foot:hover { background: #55616c; color: #fff; }

#content > header .user, #content_profile > header .user { position: relative; }
#content > header .icon, #content_profile > header .icon { 
  cursor: pointer; 
  display: flex; 
  align-items: center; 
  font-weight: 600;
  text-transform: capitalize; }
#content > header .icon > img, #content_profile > header .icon > img { 
  flex: none;
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 50%;
  margin-right: 5px;
  background-color: #2a2f32; }
#content > header .icon > span, #content_profile > header .icon > span { line-height: 1.2; }
#content > header .icon:hover > img, #content_profile > header .icon:hover > img { 
  transform-origin: top center;
  animation-duration: var(--animate-duration); 
  animation-fill-mode: both;
  animation-name: jello; }

#user_details {
  z-index: 10;
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 200px;
  max-width: 300px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px 0px rgb(0 0 0 / 20%); }
#user_details > .head { 
  display: flex;
  position: relative; 
  padding: 15px;
  padding-bottom: 0;
  font-size: 16px;
  font-weight: 500; }
#user_details > .head:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  box-sizing: border-box;
  background-color: #ccc;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
  background: linear-gradient(to right, var(--gradient2), var(--gradient1));
  clip-path: ellipse(82% 100% at 74% 0%); }
#user_details > .head * { z-index: 1; position: relative; text-transform: capitalize; }
#user_details > .head > img { flex: none; width: 100px; height: 100px; object-fit: cover; border-radius: 50%; margin-right: 10px; outline: 5px solid #fff; }
#user_details > .head > span { color: #fff; line-height: 1.1; width: max-content; }
#user_details > .body { padding: 20px; text-align: right; }
#user_details ul > li { cursor: pointer; font-size: 15px; font-weight: 500; white-space: nowrap; }
#user_details ul > li:not(:last-child) { margin-bottom: 5px; }
#user_details ul > li:hover, #user_details ul > li:hover > a { color: var(--theme); }
#user_details ul > li > a { text-decoration: none; }

/* --------------------------------------------------------------------------------------------- */
/* ################################## RESPONSIVE STYLES ######################################## */
/* --------------------------------------------------------------------------------------------- */
/* Bootstrap5 grid | xs < 576px | sm ≥ 576px | md ≥ 768px | lg ≥ 992px | xl ≥ 1200px | xxl ≥ 1400px */
/* #################### xs < 576px ##################### */
@media screen and (max-width: 575px) {
  /* #content > header .icon, #content_profile > header .icon { flex-flow: column; } */
  /* #content > header .icon > span, #content_profile > header .icon > span { text-align: center; } */
  /* #content > header, #content_profile > header { height: auto; flex-flow: column; justify-content: center; } */
  /* #content > header > div, #content_profile > header > div { justify-content: center; } */
  #content > header > div:last-child, #content_profile > header > div:last-child { margin-top: 10px; }
  #user_details { position: fixed; max-width: 90%; top: 155px; right: 50%; transform: translateX(50%); }
}
/* #################### sm ≥ 576px ##################### */
@media screen and (min-width: 576px) and (max-width: 767px) {
  #content > header > div:last-child, #content_profile > header > div:last-child { margin-top: 10px; }
  #user_details { position: fixed; max-width: 90%; top: 155px; right: 50%; transform: translateX(50%); }
}
/* #################### md ≥ 768px ##################### */
@media screen and (min-width: 768px) and (max-width: 991px) { 
}
/* #################### lg ≥ 992px ##################### */
@media screen and (min-width: 992px) and (max-width: 1199px) { 
}
/* #################### xl ≥ 1200px #################### */
@media screen and (min-width: 1200px) and (max-width: 1399px) { 
}
/* #################### xxl ≥ 1400px ################### */
@media screen and (min-width: 1400px) { 
}