.content_modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-index-4);
}

.content_modal .overlay {
    display: flex;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    background-color: var(--color-bg-black);
    position: fixed;
    top: 0;
    left: 0;
    opacity: var(--opacity-6);
    z-index: var(--z-index-4);
}

/* 상세 모달 */
.content_modal .content_modal_wrap {
    overflow: hidden;
    width: calc(100% - 40px);
    max-width: 360px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: var(--z-index-5);
    background-color: var(--color-bg-inverse);
    border-radius: var(--border-radius-20);
}

.content_modal .content_modal_wrap.custom_width {
    width: auto;
    max-width: initial;
}

/* ///////////////////////////////모달 상단*/
.content_modal .content_modal_wrap .top {
    font-weight: var(--font-weight-m);
    padding: 16px 20px 12px;
}

/* 타이틀 왼쪽인 경우 */
.content_modal .content_modal_wrap .top .top_left_title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 타이틀 가운데인 경우 */
.content_modal .content_modal_wrap .top .top_center_title{
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: var(--font-weight-m);
}

.content_modal .content_modal_wrap .top .title {
    height: 24px;
    line-height: 24px;
    font-size: var(--font-size-18);
    font-weight: var(--font-weight-sb);
}

/* ///////////////////////////////모달 내용 영역 */
.content_modal .content_modal_wrap .contents_section {
    padding: 0 20px;
}

.content_modal .content_modal_wrap .iconbox {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.content_modal .content_modal_wrap .iconbox img {
    width: 20px;
    height: 20px;
}

.content_modal .content_modal_wrap .button_section {
    display: flex;
    gap: 8px;
    padding: 20px;
}

.content_modal .content_modal_wrap .button_section .modal_button {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--color-border-primary);
    border-radius: 12px;
    background: var(--color-bg-white, #fff);
    color: var(--color-text-primary);
    font-size: var(--font-size-16, 16px);
    font-weight: var(--font-weight-sb);
    cursor: pointer;
}

.content_modal .content_modal_wrap .button_section .modal_button.primary {
    border-color: var(--color-bg-brand, #00c5c5);
    background: var(--color-bg-brand, #00c5c5);
    color: var(--color-text-white, #fff);
}
