.write_wiz .flex {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    column-gap: 35px;
    row-gap: 10px;
}

.input-box {
    margin-bottom: 20px;
}

.wiz_write_wrap label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 700;
    position: relative;
}
.required-label::after {
    content: ' *';
    color: #007dff;
    font-weight: bold;
    position: absolute;
    margin-top: 3px;
    margin-left: 6px;
}
.input-box input[type="text"],
.input-box input[type="password"] {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    font-size: 17px;
    box-sizing: border-box;
    height: 62px;

}
.input-box select {
    width: 100%;
    padding-left: 20px;
    padding-right: 40px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    box-sizing: border-box;
    appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg fill='gray' viewBox='0 0 24 24' width='24' height='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 16px;
    height: 62px;
    font-size: 17px;
}
/* 연락처 */
.phone-group {
    display: flex;
    gap: 10px;
}

.phone-group input[type="text"],
.frm_input,
.phone-group select {
    flex: 1;
    height: 62px;
    padding: 0 20px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    font-size: 17px;
    box-sizing: border-box;
    box-shadow: none;
}

/* 연락처 마감 */
#bo_w #wr_homepage,
#bo_w #wr_password {
    margin-left: 0;
}
.wiz_write_wrap h2 {
    font-size: 22px;
    font-weight: 800;
}
.wiz_privacy .wrap {
    background: #f4f6f9;
    padding: 32px 50px;
    margin-top: 20px;
    border-radius: 0.7em;
    position: relative;
}
.wiz_privacy .wrap dl dt {
    font-size: 16px;
    font-weight: 700;
}
.wiz_privacy .wrap dl dt span {
    color: #4078ff;
}

.wiz_privacy .wrap dl dd {
    font-size: 15px;
    color: #6a6a6a;
    padding-left: 25px;
}
.wiz_privacy .wrap p {
    position: absolute;
    right: 40px;
    top: 48px;
}
.wiz_privacy .wrap p a {
    padding: 8px 22px;
    border-radius: 0.3em;
    font-size: 14px;
    font-weight: 700;
    color: #ebf5ff;
    background: #007dff;
}
.wiz_write_wrap .title {
    margin-top: 40px;
    /* border-bottom: 1px #e5e5e5 solid; */
    padding-bottom: 16px;
    margin-bottom: 30px;
}
/* 공통: 레이블 스타일 */
label.custom-input {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 6px 10px 6px 0;
    cursor: pointer;
    user-select: none;
}

/* 공통: input 감추기 */
label.custom-input input[type="checkbox"],
label.custom-input input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid #ccc;
    border-radius: 2px;
    background: #fff;
    outline: none;
    cursor: pointer;
    position: relative;
}

/* 체크박스 체크됨 */
label.custom-input input[type="checkbox"]:checked {
    background-color: #007bff;
    border-color: #007bff;
}

label.custom-input input[type="checkbox"]:checked::after {
    content: '';
    /* 체크표시 */
    font-family: 'xeicon';
    color: #fff;
    position: absolute;
    font-size: 16px;
    top: 0;
    /* left: 3px; */
}

/* 라디오버튼: 동그랗게 */
label.custom-input input[type="radio"] {
    border-radius: 50%;
}

/* 라디오 체크됨 */
label.custom-input input[type="radio"]:checked {
    border-color: #007bff;
    background-color: #007bff;
}

label.custom-input input[type="radio"]:checked::after {
    content: '';
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 4px;
    left: 4px;
}

/* 개인정보 수집 및 이용 안내 팝업 */
#privacy.overlay-popup {
    padding: 24px;
    background: rgba(15, 23, 42, .7);
    backdrop-filter: blur(4px);
}

#privacy .privacy-popup {
    display: flex;
    flex-direction: column;
    width: min(634px, 100%);
    max-height: min(92vh, 680px);
    padding: 0;
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(15, 23, 42, .32);
    transition: none;
}

#privacy .privacy-popup-header {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    padding: 24px 34px 17px;
    border-bottom: 1px solid #e5e7eb;
}

#privacy .privacy-popup-label {
    display: block;
    margin-bottom: 8px;
    color: #4b80cd;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
}

#privacy .privacy-popup-header h2 {
    margin: 0;
    padding: 0;
    border: 0;
    color: #172033;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
}

#privacy .privacy-popup-header .close {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-left: 20px;
    border-radius: 0;
    color: #111;
    font-family: Arial, sans-serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
}

#privacy .privacy-popup-header .close:hover,
#privacy .privacy-popup-header .close:focus {
    background: transparent;
    color: #4b80cd;
}

#privacy .privacy-popup-body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 27px 23px 22px;
    overflow-y: auto;
    color: #555f70;
    font-size: 14px;
    line-height: 1.75;
    text-align: left;
    overscroll-behavior: contain;
}

#privacy .privacy-simple-section {
    padding: 30px;
    border-radius: 12px;
    background: #f4f6f8;
}

#privacy .privacy-simple-section + .privacy-simple-section {margin-top: 9px}

#privacy .privacy-simple-section h3 {
    margin: 0 0 18px;
    color: #111;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.45;
    text-align: left;
}

#privacy .privacy-simple-box {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #222;
    text-align: left;
}

#privacy .privacy-simple-box dl,
#privacy .privacy-simple-box p {margin: 0}

#privacy .privacy-simple-box dl > div {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 8px;
}

#privacy .privacy-simple-box dl > div + div {margin-top: 6px}
#privacy .privacy-simple-box dt {
    position: relative;
    padding-left: 10px;
    color: #222;
    font-weight: 400;
}
#privacy .privacy-simple-box dt::before {
    position: absolute;
    top: 0;
    left: 0;
    content: "·";
}
#privacy .privacy-simple-box dd {margin: 0}
#privacy .privacy-simple-box p,
#privacy .privacy-simple-box dt,
#privacy .privacy-simple-box dd {text-align: left}

#privacy .privacy-number-title {text-decoration: none}
#privacy .privacy-number-title span {
    margin-right: 6px;
    color: #9aa1aa;
    font-size: 12px;
    font-weight: 600;
    vertical-align: 1px;
}

#privacy .privacy-intro {
    margin: 0 0 24px;
    padding: 17px 19px;
    border-left: 3px solid #315f9e;
    background: #f5f7fa;
    color: #374151;
}

#privacy .privacy-section {margin-top: 28px}
#privacy .privacy-section:first-of-type {margin-top: 0}

#privacy .privacy-section h3 {
    margin: 0 0 11px;
    color: #1f2937;
    font-size: 16px;
    font-weight: 750;
    line-height: 1.45;
}

#privacy .privacy-section p {margin: 0}

#privacy .privacy-table-wrap {
    overflow-x: auto;
    border-top: 2px solid #334155;
}

#privacy .privacy-table-wrap table {
    width: 100%;
    min-width: 540px;
    border-collapse: collapse;
    table-layout: fixed;
}

#privacy .privacy-table-wrap caption {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

#privacy .privacy-table-wrap th,
#privacy .privacy-table-wrap td {
    padding: 13px 15px;
    border-right: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: top;
}

#privacy .privacy-table-wrap tr > *:last-child {border-right: 0}
#privacy .privacy-table-wrap thead th {
    background: #f3f5f8;
    color: #374151;
    font-size: 13px;
    font-weight: 700;
}
#privacy .privacy-table-wrap thead th:first-child,
#privacy .privacy-table-wrap tbody th {width: 135px}
#privacy .privacy-table-wrap tbody th {
    background: #fafbfc;
    color: #374151;
    font-weight: 700;
}
#privacy .privacy-table-wrap td strong {color: #315f9e}

#privacy .privacy-notice {
    margin-top: 12px !important;
    color: #6b7280;
    font-size: 13px;
}

#privacy .privacy-contact {
    margin: 0 0 12px;
    border-top: 1px solid #d9dee7;
}
#privacy .privacy-contact > div {
    display: grid;
    grid-template-columns: 130px 1fr;
    border-bottom: 1px solid #e5e7eb;
}
#privacy .privacy-contact dt,
#privacy .privacy-contact dd {
    margin: 0;
    padding: 11px 13px;
}
#privacy .privacy-contact dt {
    background: #f7f8fa;
    color: #374151;
    font-weight: 700;
}

#privacy .privacy-effective-date {
    margin: 30px 0 0;
    padding-top: 17px;
    border-top: 1px solid #e5e7eb;
    color: #7b8492;
    font-size: 13px;
}

#privacy .privacy-popup-footer {
    flex: 0 0 auto;
    padding: 0 26px 48px;
    border-top: 0;
    background: #fff;
    text-align: right;
}

#privacy .privacy-confirm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 159px;
    height: 45px;
    padding: 0 18px;
    border-radius: 4px;
    background: #232323;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}
#privacy .privacy-confirm:hover,
#privacy .privacy-confirm:focus {background: #1e3859; color: #fff}

/* 작성 폼 하단 버튼 */
#bo_w .btn_confirm.write_div .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 160px;
    height: 58px;
    padding: 0 28px;
    font-weight: 700;
    line-height: 1.2;
}

@media(max-width:991px) {
    .write_wiz .flex {
        display: block;
    }

    .input-box {
        margin-bottom: 20px;
    }

    .wiz_write_wrap label {
        display: block;
        font-weight: bold;
        margin-bottom: 6px;
        font-size: 15px;
        font-weight: 700;
        position: relative;
    }
    .required-label::after {
        content: ' *';
        color: #007dff;
        font-weight: bold;
        position: absolute;
        margin-top: 3px;
        margin-left: 6px;
    }
    .input-box input[type="text"],
    .input-box input[type="password"] {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        border: 1px solid #dcdcdc;
        border-radius: 6px;
        font-size: 15px;
        box-sizing: border-box;
        height: 55px;

    }
    .input-box select {
        width: 100%;
        padding-left: 15px;
        padding-right: 30px;
        border: 1px solid #dcdcdc;
        border-radius: 6px;
        box-sizing: border-box;
        appearance: none;
        background-color: #fff;
        background-image: url("data:image/svg+xml,%3Csvg fill='gray' viewBox='0 0 24 24' width='24' height='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
        background-size: 16px 16px;
        height: 55px;
        font-size: 15px;
    }
    /* 개인정보취급방침 */
    .wiz_write_wrap h2 {
        font-size: 19px;
        font-weight: 800;
    }
    .wiz_privacy {
         position: relative;
    }
    .wiz_privacy .wrap {
        background: #f4f6f9;
        padding: 22px 15px;
        margin-top: 20px;
        border-radius: 0.7em;
        position: relative;
      
    }
  
   
    .wiz_privacy .wrap dl dt {
        font-size: 15px;
        font-weight: 700;
    }
    .wiz_privacy .wrap dl dt span {
        color: #4078ff;
    }

    .wiz_privacy .wrap dl dd {
        font-size: 12px;
        color: #6a6a6a;
        padding-left: 25px;
    }
    .wiz_privacy .wrap p {
         position: relative;
         margin: 0;
         top: 0;
         left: 0;
         right: 0;
         margin-top: 20px;
         margin-left: 25px;
      
    }
    .wiz_privacy .wrap p a {
        padding: 6px 16px;
        border-radius: 0.3em;
        font-size: 13px;
        font-weight: 700;
        color: #ebf5ff;
        background: #007dff;
        width: 100%;
        margin: 0;
    }
    .wiz_write_wrap .title {
        margin-top: 40px;
        /* border-bottom: 1px #e5e5e5 solid; */
        padding-bottom: 16px;
        margin-bottom: 30px;
    }
    /* 연락처 */
    .phone-group {
        display: flex;
        gap: 10px;
    }

    .phone-group input[type="text"],
    .frm_input,
    .phone-group select {
        flex: 1;
        height: 55px;
        padding: 0 15px;
        border: 1px solid #dcdcdc;
        border-radius: 6px;
        font-size: 15px;
        box-sizing: border-box;
        box-shadow: none;
    }

    /* 연락처 마감 */
    #bo_w #wr_homepage,
    #bo_w #wr_password {
        margin-left: 0;
    }

    #privacy.overlay-popup {padding: 14px}
    #privacy .privacy-popup {width: 100%; max-height: 92vh; border-radius: 14px}
    #privacy .privacy-popup-header {padding: 20px 20px 16px}
    #privacy .privacy-popup-label {font-size: 10px}
    #privacy .privacy-popup-header h2 {font-size: 19px}
    #privacy .privacy-popup-header .close {
        width: 34px;
        height: 34px;
        margin-left: 10px;
        font-size: 26px;
    }
    #privacy .privacy-popup-body {padding: 18px 14px 16px; font-size: 13px}
    #privacy .privacy-simple-section {padding: 23px 20px}
    #privacy .privacy-simple-section + .privacy-simple-section {margin-top: 9px}
    #privacy .privacy-simple-section h3 {font-size: 15px}
    #privacy .privacy-simple-box {padding: 0}
    #privacy .privacy-simple-box dl > div {
        grid-template-columns: 75px 1fr;
        gap: 10px;
    }
    #privacy .privacy-intro {margin-bottom: 20px; padding: 14px 15px}
    #privacy .privacy-section {margin-top: 23px}
    #privacy .privacy-section h3 {font-size: 15px}
    #privacy .privacy-table-wrap th,
    #privacy .privacy-table-wrap td {padding: 11px 12px}
    #privacy .privacy-contact > div {grid-template-columns: 105px 1fr}
    #privacy .privacy-contact dt,
    #privacy .privacy-contact dd {padding: 10px}
    #privacy .privacy-popup-footer {padding: 0 14px 24px}
    #privacy .privacy-confirm {width: 100%}

}
