.modalBackground {
    background-color: rgba(50, 50, 50, 0.7);
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    opacity: 0;
    /* 초기 상태는 투명 */
    visibility: hidden;
    /* 초기 상태는 숨김 */
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modalBackground.modal-visible {
    opacity: 1;
    visibility: visible;
}

.modalBase {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0px;
    background-color: white;
    width: 750px;
    min-width: 750px;
    height: 530px;
    z-index: 999;
    border-radius: var(--borderRadiusMedium);
    padding: 14px;
    transform: scale(0.95);
    /* 초기 상태는 약간 축소 */
    transition: transform 0.3s ease;
}

.modalBackground.modal-visible .modalBase {
    transform: scale(1);
}


.buttonArea {
    width: 100%;
    height: 36px;
    display: flex;
    flex-direction: row;
    /* align-items: flex-end; */
    justify-content: flex-end;
    padding-right: 14px;
    margin-top: 2px;
}

.modalButtonClose {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: white;
    width: 30px;
    height: 30px;
    /* margin-left: 100px; */
    border-radius: var(--borderRadiusBtnSmall);
    border-color: var(--grey2);
    border-style: solid;
    border-width: 1px;
}

.modalButtonClose svg {
    width: 10px;
    height: auto;
    color: var(--black);
}

.modalButtonClose:hover {
    background-color: var(--btnHover);
    width: 30px;
    height: 30px;
}

.modalArea {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    /* 부모 .modalBase의 너비와 높이를 모두 차지 */
}

.modalList {
    width: 200px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    border-right: 1px solid var(--grey2);
}

.modalListContent {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
    width: 190px;
    height: 100%;
    margin: 10px 10px;
    padding-top: 40px;
    gap: 2px;
}

.modalListTitle {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 300;
    color: var(--grey4);
    padding: 4px 10px;
}

.modalListTitle svg {
    color: var(--grey4);
    /* SVG에 직접 색상 지정 */
}

.modalListTitle-3 {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 300;
    color: var(--grey4);
    padding: 4px 10px;
}

.modalListTitle-3 img {
    width: 20px;
    height: auto;
    color: var(--grey4);
    /* padding-left: 2px; */
    /* SVG 이미지 스타일 지정 - width만 조정하면 비율 유지 */
}

.modalListTitle-3 p {
    font-size: 16px;
    font-weight: 300;
    color: var(--grey4);
    padding-left: 4px;
}

.modalListTitle p {
    font-size: 16px;
    font-weight: 300;
    color: var(--grey4);
}

.icon-stroke {
    stroke: currentColor;
}

#modalAccountButton:hover,
#modalPlanButton:hover,
#modalChangpleButton:hover,
#modalCompanyInfoButton:hover,
#modalPolicyButton:hover {
    background-color: var(--btnHover);
    border-radius: 10px;

}

.active-menu-item {
    background-color: var(--btnHover);
    border-radius: 10px;
}

.active-menu-item p {
    color: var(--black);
    font-weight: 400;
}

.active-menu-item .icon-stroke {
    stroke: var(--black);
}

#modalAccountButton.active-menu-item svg,
#modalPlanButton.active-menu-item svg,
#modalChangpleButton.active-menu-item svg,
#modalCompanyInfoButton.active-menu-item svg,
#modalPolicyButton.active-menu-item svg {
    color: var(--black);
}

#modalChangpleButton.active-menu-item img {
    filter: brightness(0);
    /* SVG 이미지 색상을 검정으로 변경 */
}

.modalRight {
    flex-grow: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.modalRightContent {
    background-color: white;
    width: 520px;
    flex-grow: 1;
    margin: 10px 10px;
    overflow: hidden;
}