﻿.main-header {
    border-bottom: 1px solid var(--color-grayscale-grey-030);
    overflow: visible;
    min-width: 1200px;
}

.header-wrapper {
    padding: 8px 120px;
    display: flex;
    box-sizing: border-box;
    justify-content: space-between;
    align-items: center;
    overflow: visible;
    width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

.logo-search-wrapper {
    flex-grow: 1;
    overflow: visible;
    position: relative;
    display: flex;
    align-items: center;
}

.logo {
    height: 24px;
    margin-right: 37px;
    display: flex;
    align-items: center;
}

.hiring-link {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

/* 검색 */
.header-wrapper > .logo-search-wrapper > .search-bar {
    margin-right: 20px;
    padding-left: 40px;
    padding-right: 12px;
    max-width: 328px;
    height: 40px;
    flex-grow: 1;
    box-sizing: border-box;
    border: none;
    background-color: var(--color-grayscale-grey-020);
    border-radius: 8px;
    background-image: url("../../../images/ic_home_search.svg");
    background-repeat: no-repeat;
    background-size: 20px 20px;
    background-position: 12px 10px;
    font-size: 14px;
}

.search-bar::placeholder {
    font-size: 14px;
    color: var(--color-grayscale-grey-090);
}

.header-wrapper > .logo-search-wrapper > .search-bar:hover {
    border: none;
}

.header-wrapper > .logo-search-wrapper > .search-bar:focus {
    border-color: var(--color-grayscale-grey100);
    box-shadow: 0 0 0 1px var(--color-grayscale-grey100);
}

/* GNB */

.gnb-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.balance,
.transaction,
.user-login,
.total-stocks,
.ipo-schedule-list,
.my-info-button,
.company-intro {
    font-size: 14px;
    text-align: center;
    font-weight: 500;
    border-radius: 8px;
}

.download-button {
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    border-radius: 8px;
}

.balance:hover,
.transaction:hover,
.total-stocks:hover,
.ipo-schedule-list:hover,
.my-info-button:hover,
.alarm-open-button:hover,
.company-intro:hover,
.hamburger-menu:hover,
.hamburger-menu:hover > .menu-button {
    background-color: var(--color-grayscale-grey-030);
}

.balance:active,
.transaction:active,
.total-stocks:active,
.ipo-schedule-list:active,
.company-intro:active,
.my-info-button > div.open,
.alarm-open-button.alarm,
.hamburger-menu > .menu-button.open {
    background-color: var(--color-grayscale-grey-020);
}

.balance > a,
.transaction > a,
.total-stocks > a,
.ipo-schedule-list > a,
.company-intro > a,
.my-info-button > div,
.user-login > a {
    display: block;
    padding: 15px 16px 12px;
    border-radius: 8px;
}

.download-button {
    border: none;
    display: block;
    border-radius: 8px;
    padding: 15px 19px 14px 19px;
}

.balance {
    min-width: 26px;
}

.transaction {
    min-width: 41px;
}

.total-stocks {
    min-width: 51px;
}

.ipo-schedule-list {
    min-width: 55px;
}

.user-login {
    background-color: #E02B35;
    border-radius: 8px;
    color: var(--color-pure-wht);
    margin: 0 20px;
}

.user-login:hover,
.download-button:hover {
    background-color: #E02B35;
}

.user-login:active,
.download-button:active {
    background-color: #E02B35;
}

.my-info-button {
    min-width: 41px;
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.my-info-button > span {
    margin-right: 10px;
}

.my-info-button > img {
    position: relative;
    bottom: 2px;
}

.my-info-button > .open > img {
    position: relative;
    top: 1px;
    transform: rotate(180deg);
}

.my-user-profile {
    padding: 4px 0;
    margin-right: 16px;
}

.my-user-profile a {
    display: flex;
}

.my-user-profile img {
    padding-right: 8px;
}

.user-nickname {
    font-size: 16px;
    height: 16px;
    padding-top: 8px;
}

.hamburger-menu {
    position: relative;
    border-radius: 8px;
}

.menu-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-pure-wht);
    border: 0;
    border-radius: 8px;
}

.menu-button:focus {
    outline: 0;
}

.dropdown-menu {
    border: 1px solid var(--color-grayscale-grey-030);
    width: fit-content;
    position: absolute;
    background: var(--color-pure-wht);
    transition: max-height 0.2s ease-out;
    z-index: 500;
    display: none;
    border-radius: 8px;
    padding: 8px;
}

.my-info__dropdown {
    top: 56px;
    right: 0;
    width: 164px;
}

.menu__dropdown {
    width: 145px;
    top: 54px;
    right: 0;
}

.dropdown-menu.open {
    display: block;
}

.snb-list-item {
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    padding-left: 8px;
    font-size: 14px;
    box-sizing: border-box;
    border-radius: 8px;
    position: relative;
}

.snb-list-item > a > .corporate-beta__img {
    position: relative;
    top: -4px;
    right: -2px;
}

.snb-list-item:hover {
    background-color: var(--color-grayscale-grey-030);
}

.snb-list-item:active {
    background-color: var(--color-grayscale-grey-030);
}

.snb-list-item > a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
}

.logout-btn {
    border: none;
    background-color: transparent;
    width: 100%;
    height: 100%;
    text-align: left;
}

.snb-logout > form {
    width: 100%;
    height: 100%;
}

.search-iframe {
    z-index: 500;
    position: absolute;
    top: 53px;
    left: 297px;
    width: 328px;
    max-height: 455px;
    overflow: auto;
    border: 1px solid var(--color-grayscale-grey-030);
    background-color: var(--color-pure-wht);
    box-sizing: border-box;
    overflow-x: hidden;
    border-radius: 2px;
}

.stock-list {
    padding-left: 0;
    list-style-type: none;
}

.stock-list .stock-loading-bar {
    height: 80px;
}

.stock-list li {
    padding: 0 20px;
    position: relative;
}

.stock-list li.active {
    background-color: #f4f4f4;
}

.stock-list li a {
    display: flex;
    align-items: center;
    height: 73px;
    border-bottom: 1px solid var(--color-grayscale-grey-030);
}

.stock-list:last-child li:last-child a {
    border-bottom: none;
}

.company-wrapper {
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.stock-list li a span:first-child {
    font-size: 16px;
    color: var(--color-grayscale-grey100);
}

.stock-list li a span:nth-child(2) {
    margin-top: 5px;
    font-size: 12px;
    color: var(--color-grayscale-grey-070);
}

.company-search::placeholoder {
    color: var(--color-grayscale-grey-060);
}

.company-icon {
    width: 40px;
    height: 40px;
}

.company-wrapper span {
    display: block;
}

.star-icon {
    width: 24px;
    height: 24px;
    position: absolute;
    right: 0;
    top: 24px;
    border: none;
    background-image: url("../../../mobile/images/ic-star.svg");
    background-color: transparent;
}

.star-icon.active {
    background-image: url("../../../mobile/images/ic-star-activated.svg");
}

.remove-btn {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 8px;
    right: 4px;
    background-color: transparent;
    background-image: url("../../../mobile/images/ic-remove.svg");
    background-size: contain;
    border: none;
    cursor: pointer;
    z-index: 100;
}

.none {
    display: none;
}

.alarm-card-wrapper a {
    display: block;
}

.alarm-button {
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
}

.alarm-open-button {
    padding: 12px;
    border-radius: 8px;
}

.chat-count-dot {
    top: 6px;
    left: 21px;
    position: absolute;
    font-size: 10px;
    text-align: center;
    color: var(--color-pure-wht);
    padding: 1px 4px;
    border-radius: 9px;
    background-color: var(--color-system-error);
}

.chat-count-dot > span {
    font-size: 10px;
    position: relative;
    top: 1px;
}

.alarm-list-section {
    padding: 20px 0 0;
    position: absolute;
    top: 56px;
    right: 0px;
    width: 320px;
    max-height: 360px;
    border: solid 1px var(--color-grayscale-grey-030);
    background-color: var(--color-pure-wht);
    z-index: 2000;
    border-radius: 10px;
}

.close-button {
    height: 10px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    cursor: pointer;
}

.alarm-card-wrapper {
    overflow: auto;
    max-height: 340px;
}

.alarm-card {
    padding: 12px 20px;
}

.alarm-card:hover {
    background-color: var(--color-grayscale-grey-020);
}

.alarm-card-wrapper > a:last-child > .alarm-card {
    border-bottom: 0px;
}

.alarm-card h2 {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-grayscale-grey100);
    margin-bottom: 6px;
    max-width: 254px;
}

.alarm-card p {
    font-size: 12px;
    line-height: 1.5;
    color: var(--color-grayscale-grey100);
}

.alarm-card span {
    margin-top: 12px;
    font-size: 12px;
    color: var(--color-grayscale-grey-050);
}

.alarm-menu {
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 20px;
    margin-bottom: 12px;
}

.alarm-menu span {
    font-size: 14px;
    color: var(--color-grayscale-grey-060);
}

.alarm-menu span:hover {
    text-decoration: underline;
    color: var(--color-grayscale-grey-070);
}

.no-alarm {
    height: 77px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--color-grayscale-grey-070);
}

.view-all,
.read-all {
    cursor: pointer;
}

.unread-dot-wrapper {
    display: flex;
    justify-content: space-between;
}

.unread-dot {
    display: none;
    position: relative;
    top: 4px;
    width: 6px;
    height: 6px;
    background-color: var(--color-system-info);
    border-radius: 6px;
}

.unread-message .unread-dot {
    display: block;
}

.desktop-app-download-dim {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(27, 27, 27, 0.8);
    z-index: 100000;
}

.desktop-app-download-modal {
    opacity: 1;
    width: 570px;
    height: 390px;
    background-color: white;
}

.desktop-app-download-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    color: #ffffff;
    background-color: #eb3640;
}

.desktop-app-download-title > img {
    width: 20px;
    height: 20px;
    fill: white;
    cursor: pointer;
}

.desktop-app-download-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 40px 30px;
    box-sizing: border-box;
}

.qr {
    width: 243px;
    height: 243px;
    box-sizing: border-box;
}

.qr > img {
    width: 100%;
    height: 100%;
    padding: 20px;
    border: 1px solid #e3e3e3;
    box-sizing: border-box;
}

.modal-title {
    font-family: "Spoqa Han Sans Neo";
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 30px;
    color: #272727;
}

.modal-title > .red {
    font-size: 24px;
    line-height: 30px;
    color: #e02b35;
}

.modal-description {
    margin-top: 12px;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #272727;
}

.qr-description {
    font-size: 13px;
    line-height: 17px;
    text-align: left;
    color: #1f2e45;
}

.qr-description > .bold {
    font-weight: bold;
}

.store-image-wrapper {
    margin: 40px 0 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.none {
    display: none;
}
