
.content-block {
    display: block;
    width: 100%;
    max-width: 840px;
    min-width: 360px;
    margin: 0 auto;
    border: none;
    overflow: hidden;
    padding-left: 1rem; /* ps-2 (padding-left: 1rem) */
    padding-right: 1rem; /* pe-2 (padding-right: 1rem) */
    margin-bottom: 3rem; /* mb-5 (margin-bottom: 3rem) */
}

.form-control.term_text {
    resize : none ;
    margin-bottom : 2rem;
}

main {
    flex-grow: 1; /* 또는 flex: 1; */
}
html{
    padding: 0;
}
body {
    overflow-y: auto; /* 부모 페이지에 스크롤 허용 */
    padding-left:0.1em;
    padding-right: 0.1em;
}

/* body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
} */

h1,h2,h3,h4,h5,h6,a,li,p{
    color: var(--adaptiveGrey700);
    margin: 0;
}
a{
    text-decoration: none;
    color: var(--adaptiveGrey700);
}
ul{
    margin: 0;
    padding: 0;
}
li {
    list-style: none;
}

 /* 폰트 컬러 */
.text-strong{
    color: var(--adaptiveGrey800);
}
.text-default{
    color: var(--adaptiveGrey700);
}
.text-sub{
    color: var(--adaptiveGrey600);
}
.text-info{
    color: var(--adaptiveGrey400) !important;
}
.text-reverse{
    color: var(--adaptiveGrey0);
}
.text-disabled{
    color: #B3B5B7;
}
.text-placeholder{
    color: #B3B5B7;
}


/* .system-red */
.system-red{
    color: var(--system-red);
}
.system-blue{
    color: var(--system-blue);
}
/* 버튼 */
.btn{
    border: none;
    display: flex;
    height: 48px;
    border-radius: 6px;
    padding: 0 32px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
/* 공통 버튼 css 정의 후 컬러만 따로 정리 */
.btn-prev{    
    border: 1px solid var(--border-second);
}
.btn-prev:hover{    
    border: 1px solid var(--border-focus) !important;
}
.btn-prev:focus{    
    border: 1px solid var(--border-focus);
}
.btn-enabled{
    background: var(--primary-normal);
    color: var(--adaptiveGrey0);
}
.btn-enabled:hover{
    color: var(--adaptiveGrey0);
    background: var(--primary-hover);
}
.btn-enabled:active{
    color: var(--adaptiveGrey0) !important;
    background: var(--primary-active) !important;
}
.btn-disabled{
    pointer-events: none;
    background: var(--background-disable);
    color: var(--text-disable);
}

header {
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid var(--border-second);
    background-color: var(--background-default);
}
footer {
    position: fixed; /* 또는 absolute */
    bottom: 0;
    left: 0;
    right: 0;
    height: 90px;
    background-color: #383E45;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1000; /* 다른 요소 위에 */
}
/* main {
    padding-bottom: 90px;
} */


.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: calc(var(--vh, 1vh) * 80);
}

.wrapper {
    padding: 0 16px;
    max-width: 840px;
    min-width: 360px;
    margin: 0 auto;
}

.container-title {
    padding: 100px 0 120px;
    text-align: center;
}

/* .form-wrap {
    max-width: 840px;
    margin: 0 auto;
} */

.input-field {
    border: 1px solid var(--border-second);
    width: 100%;
    display: flex;
    height: 48px !important;
    padding: 0 16px;
    border-radius: 6px;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    font-family: Pretendard;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.025em;
}
.input-field:read-only{
    background-color: #fafafa;
}
.r-only{
    pointer-events: none;
}
.input-field:focus {
    outline: none;
    box-shadow: none;
    border-color: var(--border-focus);
    /* background-color: var(--background-default); */

}

.input-field::placeholder {
    font-family: Pretendard;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.025em;
    color: var(--text-palceholder);
}

.input-search-group {
    display: flex;
    gap: 10px;
}

label {
    margin-bottom: 8px;
}

.form-select {
    height: 48px !important;
    overflow-y: auto !important;
    box-sizing: border-box; 
}

.form-select:focus{
    border-color: var(--border-focus);
    box-shadow: none !important;
}
.btn-wrap {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.btn-wrap>button {
    flex: 1;
}

.required-mark::after {
    content: " *";
    color: var(--system-red);
}

.container-title>h2 {
    font-family: Pretendard;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: 60px;
    letter-spacing: -0.025em;
    color: var(--adaptiveGrey800);
}

.container-title>p {
    font-family: Pretendard;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 48px;
    letter-spacing: -0.025em;
    color: var(--adaptiveGrey800);
}

@media (max-width: 767.98px) {
    .container-title {
        padding: 50px 0 60px;
        text-align: center;
    }

    .container-title>h2 {
        font-family: Pretendard;
        font-size: 28px;
        font-style: normal;
        font-weight: 700;
        line-height: 38px;
        letter-spacing: -0.025em;
        color: var(--adaptiveGrey800);
    }

    .container-title>p {
        font-family: Pretendard;
        font-size: 22px;
        font-style: normal;
        font-weight: 700;
        line-height: 32px;
        letter-spacing: -0.025em;
        color: var(--adaptiveGrey800);
    }
}

.text-gray-700 {
    --bs-text-opacity: 1;
    color: rgba(var(--bs-gray-700-rgb), var(--bs-text-opacity)) !important;
}

.btn-outline-gray-500 {
    --bs-btn-color: #adb5bd;
    --bs-btn-border-color: var(--border-second);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--bs-primary);
    --bs-btn-hover-bg: var(--primary-normal);
    --bs-btn-focus-shadow-rgb: 173, 181, 189;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--bs-primary);
    --bs-btn-active-border-color: var(--bs-primary);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #adb5bd;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--border-second);
    --bs-gradient: none;

    border: 1px solid var(--bs-btn-border-color);
    background-color: transparent;
}

.btn-outline-gray-500:hover,
.btn-outline-gray-500:active {
    color: #fff !important;
}


/* 아코디언 전체를 감싸는 컨테이너 스타일 */
.custom-term-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.term-header {
    display: flex;
    gap: 12px;
    align-items: center;
}

.form-check-input {
    width: 16px !important;
    height: 16px !important;
}

/* 2. 아코디언 버튼(토글) 영역 스타일 */
.term-button {
    padding: 12px 0;
    flex-grow: 1;
    font-weight: 600;
}

.term-button:focus {
    box-shadow: none;
}

/* 아코디언이 열렸을 때의 스타일 (색상 변경 없음) */
.term-button:not(.collapsed) {
    color: inherit;
    background-color: transparent;
    box-shadow: none;
}

.custom-term-container .term-item {
    /* box-sizing: border-box;
    border: 1px solid var(--border-second); */
    padding: 0 12px;
    border-radius: 6px;
}

/* .all-check {
    height: 48px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 12px;
    border-radius: 6px;
    border: 1px solid #eee;
} */

/* Bootstrap 아코디언 기본 테두리 제거 */
.term {
    --bs-term-border-width: 0;
}

.term-body {
    max-height: 200px;
    overflow-y: auto;
    padding: 12px 12px 24px;
    border-radius: 6px;
    background: #F9FAFB;
}

.info-wrap{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#content-iframe{
    padding: 0 20px;
}

#spinnerimageContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(254, 254, 254, 0.5);
    /* 필요에 따라 배경을 불투명하게 설정할 수 있음 */
    z-index: 9999;
    /* 다른 요소 위에 표시하기 위한 z-index 설정 */
}

#spinnerimageContainer img {
    max-width: 100px;
    /* 이미지의 최대 너비 설정 */
    max-height: 100px;
    /* 이미지의 최대 높이 설정 */
}