/* header-bar.css */
.header-bar {
    font-family: 'Pretendard', serif;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 46rem;
    background-color: #7e859d;
    display: flex;
    align-items: center;
    padding: 0 16rem;
    box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.1);
    z-index: 100;
    overflow: hidden;
}

.header-bar .content-text {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    color: white;
    font-family: 'Pretendard', serif;
    font-weight: 400;
    line-height: 46px;
    font-size: 14px;
    height: 46px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-bar .close-button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: Pretendard, serif;
    font-size: 13px;
    padding: 4px 8px;
    flex-shrink: 0;
    white-space: nowrap;
    border-radius: 4px;
    line-height: 46px;
    height: 46px;
    width: fit-content; /* 고정 너비 */
}

.header-bar .close-button span {
    display: inline-block;
    width: 75px; /* 텍스트가 bold일 때의 너비로 고정 */
    text-align: left;
}

.header-bar .close-button:hover {
    font-weight: bold;
}

.header-bar .content-text .info-icon {
    width: 18px;
    height: 18px;
    background-color: #C4C8D4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: #7E859D;
    flex-shrink: 0;
    line-height: 1;
    margin-right: 12px;
}
.header-bar .close-button svg {
    width: 12px;
    height: 12px;
    fill: none;
    stroke: currentColor;
}

.info-icon-img {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}

/* 반응형 디자인 */
@media (max-width: 767px) {
    .header-bar {
        display: none;
    }
}