/* <a/> 태그의 기본 스타일 제거 */
.main-gnb_container a,
.main-gnb_container a:link,
.main-gnb_container a:visited {
  text-decoration: none;
  color: inherit;
}

header#header:has(.main-gnb_container) {
  background-color: #1d1d1f;
}

.main-gnb_container {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  height: 60px;
  background-color: #1d1d1f;
  color: black;
}

.main-gnb_wrapper {
  position: relative;
  padding: 0 20px;
  width: auto;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 15px;
}

.main-gnb_menu-btn {
  position: absolute;
  right: 23px;
  display: flex;
  align-items: center;
  cursor: pointer;
  width: 24px;
  height: 24px;
  padding: 6px 3px;
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-fadeInDown {
  animation: fadeInDown 0.3s ease-out forwards;
}

.main-gnb_side-bar_layer {
  display: none;
  position: relative;
  z-index: 200;
}

.main-gnb_side-bar_layer.main-gnb_active {
  display: flex;
  flex-direction: row;
  justify-content: center;
  top: 0;
  animation: fadeInDown 0.3s ease-out forwards;
}

.main-gnb_side-bar_wrapper {
  position: absolute;
  top: 0;
  right: 0;
  height: 100vh;
  box-sizing: border-box;
  width: 100%;
  height: 100vh;
  background-color: #1d1d1f;
  z-index: 200;
}

.main-gnb_side-bar_public {
  display: flex;
  flex-direction: column;
  z-index: 10000;
}

.main-gnb_side-bar_private {
  z-index: 10000;
}

.main-gnb_side-bar_private_prev {
  display: flex;
  flex-direction: column;
}

.main-gnb_side-bar_private_next {
  display: none;
  flex-direction: column;
}

.main-gnb_side-bar_nickname_line {
  width: 100%;
  display: flex;
  padding: 18px 20px;
}
.main-gnb_side-bar_nickname {
  font-size: 19px;
  font-weight: 700;
  color: #0a84ff;
}

.main-gnb_side-bar_email {
  font-size: 15px;
  line-height: 18px;
  margin-top: 12px;
  font-weight: 400;
  color: #86868b;
  margin-left: 6px;
}

.main-gnb_side-bar_line {
  height: 56px;
  width: 100%;
  display: flex;
  padding: 0px 20px;
  align-items: center;
}

.main-gnb_side-bar_line > span {
  color: #f5f5f7;
  font-weight: 500;
  font-size: 16px;
}

.main-gnb_side-bar_login_btn {
  height: 56px;
  display: flex;
  padding: 0px 20px;
  align-items: center;
  background-color: #f5f5f71a;
  margin: 18px 20px;
  border-radius: 8px;
  justify-content: center;
}

.main-gnb_side-bar_login_btn > span {
  color: #0a84ff;
  font-weight: 500;
  font-size: 17px;
}

.main-gnb_side-bar_logout_btn {
  height: 56px;
  display: flex;
  padding: 0px 20px;
  align-items: center;
  background-color: #f5f5f71a;
  margin: 18px 20px;
  border-radius: 8px;
  justify-content: center;
}

.main-gnb_side-bar_logout_btn > span {
  color: #d2d2d7;
  font-weight: 500;
  font-size: 17px;
}

.main-gnb_active {
  display: flex;
}

.main-gnb_inactive {
  display: none;
}

.main-gnb_bell {
  position: absolute;
  left: 20px;
  top: 20px;
}

.main-gnb_bell_badge {
  position: absolute;
  top: -5px;
  right: -5px;
}

/* <a/> 태그의 기본 스타일 제거 */
.sub-gnb_container a,
.sub-gnb_container a:link,
.sub-gnb_container a:visited {
  text-decoration: none;
  color: inherit;
}
.sub-gnb_container {
  position: sticky;
  margin: 0 auto;
  max-width: 1400px;
  background: #1d1d1f;
  color: #f5f5f7;
  z-index: 100;
}

.theme-light.sub-gnb_container {
  background-color: rgb(245, 245, 247);
  color: rgb(29, 29, 31);
}

.sub-gnb_container::before {
  position: absolute;
  inset: 0;
  /* NEWPORTAL-93 이슈가 발생하여 제거
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px); */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  content: "";
  z-index: -1;
}

#sub-gnb_content {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
}

/* 아코디언 디자인 코드 START*/
.sub-gnb_sub-items,
.sub-gnb_sub-sub-items {
  display: none;
  background: #1d1d1f;
}

.theme-light .sub-gnb_sub-items,
.theme-light .sub-gnb_sub-sub-items {
  display: none;
  background-color: rgb(245, 245, 247);
}

.sub-gnb_item.sub-gnb_active + .sub-gnb_sub-items,
.sub-gnb_sub-item.sub-gnb_active + .sub-gnb_sub-items {
  display: flex;
  flex-direction: column;
}

.sub-gnb_active > .sub-gnb_arrow_btn {
  transform: rotate(180deg);
}
/* 아코디언 디자인 코드 END*/

.sub-gnb_item,
.sub-gnb_sub-item,
.sub-gnb_sub-sub-item {
  box-sizing: border-box;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.sub-gnb_item {
  width: 100%;
  display: flex;
  height: 60px;
}

.sub-gnb_item a {
  font-size: 19px;
  font-weight: 700;
}

.sub-gnb_sub-item a,
.sub-gnb_sub-sub-item a {
  font-size: 16px;
}

.sub-gnb_item,
.sub-gnb_sub-item {
  padding: 0 20px;
}

.sub-gnb_sub-item {
  height: 56px;
}

.sub-gnb_sub-sub-item {
  padding: 0 40px;
  height: 56px;
}

.sub-gnb_arrow_btn {
  height: 24px;
  width: 24px;
  cursor: pointer;
}

.sub-gnb_header-sticky {
  position: fixed;
  top: 0;
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
}

.gnb-hidden {
  display: none;
}

.gnb-none_sticky {
  position: static;
}

.gnb-alarm-wrap {
  padding: 24px 20px;
}

.gnb-alarm-head {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  color: #f5f5f7;
  font-size: 15px;
}

.gnb-alarm-newtext {
  margin-right: 4px;
}

.gnb-alarm-new_count {
  font-weight: 600;
}

.gnb-alarm-delete_all {
  display: flex;
  justify-content: end;
  margin-top: 28px;
}

.gnb-alarm-delete_all > button {
  color: #d2d2d7;
  font-size: 15px;
  line-height: 18px;
}
.gnb-alarm-list {
  overflow-y: scroll;
  height: calc(100vh - 178px);
  -ms-overflow-style: none;
}
::-webkit-scrollbar {
  display: none;
}

.gnb-alarm-line {
  margin-top: 24px;
  display: flex;
  flex-direction: row;
  align-items: start;
}
.gnb-alarm-line-img {
  margin-right: 16px;
}

.gnb-alarm-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  overflow: hidden;
}

.gnb-alarm-content-link {
  display: flex;
  flex-direction: column;
  text-overflow: ellipsis;
}

.gnb-alarm-content-link p {
  display: flex;
  flex-direction: column;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  color: #e8e8ed;
  font-size: 15px;
  line-height: 19.5px;
}

.gnb-alarm-time {
  color: #86868b;
  font-size: 12px;
  line-height: 14px;
  margin-top: 8px;
}

.gnb-alarm-empty {
  position: absolute;
  top: 72px;
  padding-bottom: 132px;
  left: 0;
  width: 100%;
  height: calc(100% - 132px);
  display: flex;
  align-items: center;
  justify-items: center;
}

.gnb-alarm-empty > span {
  width: 100%;
  color: #86868b;
  font-size: 15px;
  text-align: center;
}

.gnb-none-scroll {
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.gnb-alarm-content-link.gnb-alarm-read p {
  color: #86868b;
}
