*,
input::placeholder,
textarea::placeholder,
select::placeholder,
*::placeholder {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'G-Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  -webkit-tap-highlight-color: transparent;
}



.search-box:-webkit-autofill,
.search-box:-webkit-autofill:hover,
.search-box:-webkit-autofill:focus,
.search-box:-webkit-autofill:active {
  box-shadow: inset 300px 500px 0px rgb(249, 242, 253);
  -webkit-text-fill-color: rgb(66, 66, 66);
  background-color: white !important;
  transition: 0.3s ease;
}



html {
  font-size: 14px;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
  overflow-x: hidden;
}

.content {
  flex: 1;
  max-width: 1500px;
  width: 100%;
  /* padding-top: 0px; */
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  z-index: 190;
  /* box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1); */
  border-bottom: solid rgba(0, 0, 0, 0.08) 1px;
  background-color: white;
  padding: 11px 15px 11px 250px;
  transition: all 0.3s ease, padding 0.3s ease;

  /*   position: sticky;
  top: -72px; */

  /* width: 100%;
  padding-left: 20px; */
}

@media (min-width: 768px) {

  .content.expand .header {
    padding: 11px 15px 11px 74px;
    transition: all 0.3s ease, padding 0.3s ease 0.3s;
  }

}


.header .left,
.header .right {
  display: flex;
  align-items: center;
}

.header .left {
  justify-content: left;
  gap: 20px;
}



.header-logo-container {
  width: auto;
  margin-left: -120px;
  transition: all 0.3s ease, margin-left 0.3s ease;
}

.content.expand .header-logo-container {
  margin-left: 0px;
  transition: all 0.3s ease, margin-left 0.3s ease 0.3s;
}

.search-container {
  height: 35px;
  width: 300px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 5;
}


.search-bar {
  height: 35px;
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
  transition: all 0.3s ease, margin 1s linear(0 0%, 0.22 2.1%, 0.86 6.5%, 1.11 8.6%, 1.3 10.7%, 1.35 11.8%, 1.37 12.9%, 1.37 13.7%, 1.36 14.5%, 1.32 16.2%, 1.03 21.8%, 0.94 24%, 0.89 25.9%, 0.88 26.85%, 0.87 27.8%, 0.87 29.25%, 0.88 30.7%, 0.91 32.4%, 0.98 36.4%, 1.01 38.3%, 1.04 40.5%, 1.05 42.7%, 1.05 44.1%, 1.04 45.7%, 1 53.3%, 0.99 55.4%, 0.98 57.5%, 0.99 60.7%, 1 68.1%, 1.01 72.2%, 1 86.7%, 1 100%) 0.1s;
}

.search-bar::before {
  content: '';
  position: absolute;
  inset: 12px;
  z-index: 10;
  border-radius: 50px;
  border: solid rgba(255, 255, 255, 0) 1.5px;
  pointer-events: none;
  transition: all 0.3s ease, inset 1s linear(0 0%, 0.22 2.1%, 0.86 6.5%, 1.11 8.6%, 1.3 10.7%, 1.35 11.8%, 1.37 12.9%, 1.37 13.7%, 1.36 14.5%, 1.32 16.2%, 1.03 21.8%, 0.94 24%, 0.89 25.9%, 0.88 26.85%, 0.87 27.8%, 0.87 29.25%, 0.88 30.7%, 0.91 32.4%, 0.98 36.4%, 1.01 38.3%, 1.04 40.5%, 1.05 42.7%, 1.05 44.1%, 1.04 45.7%, 1 53.3%, 0.99 55.4%, 0.98 57.5%, 0.99 60.7%, 1 68.1%, 1.01 72.2%, 1 86.7%, 1 100%);
}

.search-bar:focus-within:before {
  inset: -2px;
  border: solid rgba(144, 122, 224, 0.8) 1.5px;
  box-shadow: 0px 0px 15px rgba(182, 122, 224, 0.1);
}

.search-bar:has(.search-box:active)::before,
.search-bar:has(.search-button:active)::before {
  inset: -4px;
}


.search-box {
  display: flex;
  width: 100%;
  height: 100%;
  padding: 9px 35px 9px 0px;
  border-radius: 50px;
  border: solid rgb(235, 235, 235) 1px;
  background-color: rgb(249, 247, 251);
  color: #333;
  font-size: 12px;
  font-weight: 500;
  outline: solid rgba(255, 255, 255, 0) 1.5px;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
  text-indent: 15px;
  position: relative;
  transition: 0.3s ease;
}

.search-box:focus {
  border-color: rgb(255, 255, 255);
  background-color: rgb(254, 254, 254);
}

.search-box::placeholder {
  font-weight: 400;
}

.search-button,
.close-search-button,
.close-notification-dropdown-button {
  height: 30px;
  width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border: none;
  background-color: transparent;
  /* border: solid rgb(235, 235, 235) 1px;
  background-color: rgb(249, 249, 249); */
  cursor: pointer;
  border-radius: 50%;
  position: absolute;
  right: 3.5px;
  right: 5px;
  z-index: 1;
  box-shadow: 0px .5px 1px rgba(0, 0, 0, 0);
  transition: 0.3s ease;
}

.close-search-button,
.close-notification-dropdown-button {
  display: none;
}

.search-button:hover {
  background-color: rgb(255, 255, 255);
}

.search-button:hover img {
  transform: rotateZ(45deg);
}

.search-button:active img {
  transform: rotateZ(-25deg);
}

.search-button img,
.close-search-button img,
.close-notification-dropdown-button img {
  height: 14px;
  width: 14px;
  object-fit: contain;
  filter: grayscale(1) brightness(0);
  transition: all 0.3s ease, transform 1s linear(0 0%, 0.22 2.1%, 0.86 6.5%, 1.11 8.6%, 1.3 10.7%, 1.35 11.8%, 1.37 12.9%, 1.37 13.7%, 1.36 14.5%, 1.32 16.2%, 1.03 21.8%, 0.94 24%, 0.89 25.9%, 0.88 26.85%, 0.87 27.8%, 0.87 29.25%, 0.88 30.7%, 0.91 32.4%, 0.98 36.4%, 1.01 38.3%, 1.04 40.5%, 1.05 42.7%, 1.05 44.1%, 1.04 45.7%, 1 53.3%, 0.99 55.4%, 0.98 57.5%, 0.99 60.7%, 1 68.1%, 1.01 72.2%, 1 86.7%, 1 100%);
}

.global-search-results {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  max-height: 380px;
  overflow-y: auto;
  border-radius: 18px;
  border: solid rgba(221, 221, 221, 0.95) 1px;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 18px 38px rgba(23, 16, 38, 0.14);
  /*  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px); */
  padding: 8px;
}

.global-search-status {
  padding: 12px 14px;
  color: #666;
  font-size: 11px;
  font-weight: 500;
}

.global-search-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.global-search-result {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 11px 13px;
  border-radius: 14px;
  text-decoration: none;
  background: transparent;
  transition: 0.2s ease;
}

.global-search-result:hover,
.global-search-result.active {
  background: rgb(246, 242, 249);
}

.global-search-result-meta {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8c57b6;
}

.global-search-result-title {
  font-size: 12px;
  font-weight: 500;
  color: #181818;
}

.global-search-result-subtitle {
  font-size: 10px;
  font-weight: 500;
  color: #666;
}

.global-search-result-subtitle-secondary {
  font-size: 10px;
  font-weight: 500;
  color: #8c57b6;
}





.header .right {
  gap: 10px;
}


.notification-button,
.messages-button,
.toggle-search-button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  width: 34px;
  border-radius: 50%;
  position: relative;
  background-color: rgb(246, 242, 249);
  border: none;
  cursor: pointer;
  transition: 0.3s ease;
}

.toggle-search-button {
  display: none;
}

body.dark .notification-button,
body.dark .messages-button {
  background-color: rgba(255, 255, 255, 0);
}

.notification-button:hover,
.messages-button:hover,
.toggle-search-button:hover {
  background-color: rgb(230, 226, 235);
}


.notification-button::before,
.messages-button::before,
.toggle-search-button::before,
.close-search-button::before,
.close-notification-dropdown-button::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  pointer-events: none;
  border: solid rgb(243, 238, 247) 1px;
}

body.dark .notification-button::before,
body.dark .messages-button::before,
body.dark .toggle-search-button::before,
body.dark .close-search-button::before,
body.dark .close-notification-dropdown-button::before {
  border-color: rgb(100, 100, 100);
}

.notification-button:hover::before,
.notification-button:focus::before,
.messages-button:hover::before,
.messages-button:focus::before,
.toggle-search-button:hover::before,
.toggle-search-button:focus::before,
.close-search-button:hover::before,
.close-search-button:focus::before,
.close-notification-dropdown-button:hover::before,
.close-notification-dropdown-button:focus::before {
  border: solid rgb(230, 226, 235) 1px;
}

.notification-button img,
.messages-button img,
.toggle-search-button img {
  height: 15px;
  width: 15px;
  object-fit: contain;
  transition: all 0.3s ease, transform 0.8s linear(0 0%, 0.22 2.1%, 0.86 6.5%, 1.11 8.6%, 1.3 10.7%, 1.35 11.8%, 1.37 12.9%, 1.37 13.7%, 1.36 14.5%, 1.32 16.2%, 1.03 21.8%, 0.94 24%, 0.89 25.9%, 0.88 26.85%, 0.87 27.8%, 0.87 29.25%, 0.88 30.7%, 0.91 32.4%, 0.98 36.4%, 1.01 38.3%, 1.04 40.5%, 1.05 42.7%, 1.05 44.1%, 1.04 45.7%, 1 53.3%, 0.99 55.4%, 0.98 57.5%, 0.99 60.7%, 1 68.1%, 1.01 72.2%, 1 86.7%, 1 100%);
}

.notification-button img,
.messages-button img {
  height: 14px;
  width: 14px;
}

body.dark .notification-button img,
body.dark .messages-button img {
  filter: grayscale(0) brightness(0) invert(1);
}

.notification-button:hover img,
.messages-button:hover img,
.toggle-search-button:hover img {
  transform: scale(90%);
}

.notification-button:active img,
.messages-button:active img,
.toggle-search-button:active img {
  transform: scale(100%);
}


.notification-count,
.message-count {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 18px;
  min-width: 18px;
  position: absolute;
  top: -8px;
  right: -4px;
  border-radius: 15px;
  background-color: rgb(228, 137, 0);
  border: solid white 1px;
  color: white;
  font-size: 9px;
  font-weight: 500;
  transition: 0.3s ease;
}

body.dark .notification-count,
body.dark .message-count {
  border-color: rgb(41, 41, 41);
}


.user-info-container {
  display: flex;
  gap: 8px;
  background-color: rgb(251, 251, 251);
  padding: 2px 2px 2px 2px;
  border-radius: 50px;
  border: solid rgb(241, 241, 241) 1px;
  position: relative;
}

body.dark .user-info-container {
  border-color: rgb(100, 100, 100);
}


.profile-picture-container {
  height: 34px;
  width: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
}



.profile-picture {
  height: 100%;
  width: 100%;
  border-radius: 50%;
  background-color: rgb(246, 242, 249);
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 9px;
  font-weight: 500;
  background-color: rgb(246, 242, 249);
  color: #555;
  transition: 0.15s ease;
}

span.profile-picture {
  background-color: darkblue;
  color: rgba(255, 255, 255, 0.98);
  font-size: 12px;
}

.user-info-container:hover .profile-picture {
  transform: scale(110%);
}

body.dark .profile-picture {
  background-color: rgb(41, 41, 41);
}


.user-meta-container {
  display: flex;
  flex-direction: column;
  gap: 0px;
  align-items: flex-start;
}


.username {
  font-size: 12px;
  font-weight: 500;
  color: #111;
}


.user-role {
  width: 100%;
  font-size: 10px;
  font-weight: 500;
  text-align: justify;
  color: #777;
}

.toggle-user-popup-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  cursor: pointer;
  background-color: whitesmoke;
  padding-inline: 7px;
  border: solid rgb(239, 239, 239) .5px;
  border-radius: 0px 50px 50px 0px;
}

.toggle-user-popup-icon {
  height: 15px;
  width: 15px;
  object-fit: contain;
  transition: 0.3s ease;
}

.user-info-container.open .toggle-user-popup-icon {
  transform: rotate(180deg);
}



.logout-button-container {
  display: flex;
  align-items: center;
  padding: 0px 60px;
  position: absolute;
  left: 0px;
  right: 0px;
  top: 0px;
  z-index: -1;
  border-radius: 30px;
  /* background-color: rgb(249, 249, 249);
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0); */
  transition: 0.3s ease;
}

.user-info-container.open .logout-button-container {
  top: 65px;
  padding: 0px 4px;
  /* box-shadow: 0px 1.5px 3px rgba(0, 0, 0, 0.1); */
  transition: 1s linear(0 0%, 0.22 2.1%, 0.86 6.5%, 1.11 8.6%, 1.3 10.7%, 1.35 11.8%, 1.37 12.9%, 1.37 13.7%, 1.36 14.5%, 1.32 16.2%, 1.03 21.8%, 0.94 24%, 0.89 25.9%, 0.88 26.85%, 0.87 27.8%, 0.87 29.25%, 0.88 30.7%, 0.91 32.4%, 0.98 36.4%, 1.01 38.3%, 1.04 40.5%, 1.05 42.7%, 1.05 44.1%, 1.04 45.7%, 1 53.3%, 0.99 55.4%, 0.98 57.5%, 0.99 60.7%, 1 68.1%, 1.01 72.2%, 1 86.7%, 1 100%);
}


.logout-button,
.login-button {
  width: 100%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background-color: #111;
  color: white;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
}

.logout-button img,
.login-button img {
  height: 14px;
  width: 14px;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1);
  transition: all 0.3s ease, filter 0.3s ease, transform 1s linear(0 0%, 0.22 2.1%, 0.86 6.5%, 1.11 8.6%, 1.3 10.7%, 1.35 11.8%, 1.37 12.9%, 1.37 13.7%, 1.36 14.5%, 1.32 16.2%, 1.03 21.8%, 0.94 24%, 0.89 25.9%, 0.88 26.85%, 0.87 27.8%, 0.87 29.25%, 0.88 30.7%, 0.91 32.4%, 0.98 36.4%, 1.01 38.3%, 1.04 40.5%, 1.05 42.7%, 1.05 44.1%, 1.04 45.7%, 1 53.3%, 0.99 55.4%, 0.98 57.5%, 0.99 60.7%, 1 68.1%, 1.01 72.2%, 1 86.7%, 1 100%);
}




button,
a {
  outline: solid rgba(179, 120, 221, 0) 1.5px;
  transition: all inherit, outline 0.15s ease;
}

button:focus-visible,
a:focus-visible {
  outline: solid rgba(163, 109, 202, 0.721) 1.5px;
  border-color: white;
}



@font-face {
  font-family: 'G-Sans';
  src: url('../fonts/SUSE/static/SUSE-Medium.ttf') format('woff2'),
    url('../fonts/Figtree/Figtree-VariableFont_wght.ttf') format('woff');
}