* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    /* list-style: none; */
    font-size: 14px;
    font-family: "Pretendard";
    letter-spacing: -0.4px;
    color: #000;
}

#header {
    padding: 24px 20px;
    border-bottom: 1px solid #e0e0e0;
    background-color: white;
    height: 83px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header_logo {
    width: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.header_logo a {
    width: 100%;
    display: flex;
}

.header_logo a img {
    width: 100%;
}

.header_logo span {
    font-size: 20px;
    color: #3a7137;
    font-weight: 800;
    width: 100%;
}

.logout_btn {
    border-radius: 8px;
    display: flex;
    padding: 8px 12px;
    align-items: center;
    gap: 11px;
    flex: 1 0 0;
    align-self: stretch;
    border: 1px solid var(--G-300, #D9D9D9);
    background: var(--G-0, #FFF);
}

.contents {
    display: flex;
    background-color: #f9f9f9;
    height: calc(100vh - 83px);
}

.login_wrap {
    margin: -100px auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.login_form {
    width: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.form_group {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
}

.form_group label {
    color: #393939;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 18px;
    letter-spacing: -0.24px;
}

.form_group input {
    display: flex;
    padding: 12px;
    align-items: center;
    gap: 11px;
    flex: 1 0 0;
    align-self: stretch;
    border-radius: 8px;
    border: 1px solid var(--G-300, #D9D9D9);
    background: var(--G-0, #FFF);
    color: var(--G-800, var(--Gray-800, #393939));
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.28px;
}

.login_btn {
    display: flex;
    height: 48px;
    padding: 12px 16px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex: 1 0 0;
    width: 100%;
    border-radius: 8px;
    background: var(--Olive-Green, #1B8862);
    color: var(--G-0, #FFF);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: -0.32px;
    border: none;
    margin-top: 12px;
}

.lnb {
    width: 200px;
    border-right: 1px solid #e0e0e0;
    flex: 0;
    padding: 20px;
    position: fixed;
    height: 100%;
    background-color: white;
    display: flex;
    flex-direction: column;
    gap: 40px;
    list-style: none;
}

.lnb_box h2 {
    font-size: 16px;
}

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

.lnb_item a {
    font-size: 15px;
}

.lnb_item:first-child a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lnb_item:first-child a img {
    width: 18px;
}

.lnb_item.active  a {
    font-weight: 600;
    color: #3a7137;
}

.contents_wrap {
    margin-left: 200px;
    width: 100%;
    padding: 20px;
}

.contents_top_wrap {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.order_button_wrap {
    display: flex;
    gap: 8px;
    width: 100%;
}

.button_wrap {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    width: 100%;
}

.order_change_btn_able {
    display: flex;
    gap: 8px;
    display: none;
}

.add_btn,
.edit_btn,
.delete_btn,
.submit_btn,
.cancle_btn,
.order_change_btn,
.feature_btn,
#filter {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #e0e0e0;
    padding: 8px 12px;
    border-radius: 4px;
    gap: 4px;
    justify-content: center;
    height: 35px;
}

.add_btn {
    width: auto;
}

.magazine_add_btn {
    width: 110px;
}

.add_btn img,
.edit_btn img,
.delete_btn img,
.cancle_btn img,
.submit_btn img {
    width: 16px;
}

.drag_handle {
    width: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 12px;
    cursor: pointer;
}

.hamburger_icon {
    font-size: 20px;
    color: #333;
    margin-top: -3px;
}

.submit_btn {
    background: #3a7137;
    color: white;
    border: 1px solid #3a7137;
}

.contents_box {
    padding: 24px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    height: calc(100% - 56px);
    overflow: hidden;
    overflow-y: auto;
}

.contents_box::-webkit-scrollbar {
    display: none;
}

.table_caption_wrap {
    display: flex;
    width: 100%;
    background: #f9f9f9;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    list-style: none;
}

.table_caption_item {
    border-right: 1px solid #e0e0e0;
    width: 25%;
    text-align: center;
    font-weight: 700;
    padding: 12px;
}

.table_caption_item:last-child {
    border-right: none;
}

.table_list_item {
    display: flex;
    width: 100%;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
}

.table_list_item p {
    text-align: center;
    width: 25%;
    border-right: 1px solid #e0e0e0;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.table_list_item p:last-child {
    border-right: none;
}

#magazine_form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form_item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form_input_label {
    font-weight: 700;
}

.form_input_field {
    padding: 8px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    height: 40px;
    display: flex;
    align-items: center;
}

.magazine_list_all_checkbox,
.magazine_list_checkbox,
.main_list_all_checkbox,
.main_list_checkbox,
.kind_list_all_checkbox,
.kind_list_checkbox,
.brand_list_all_checkbox,
.brand_list_checkbox,
.place_list_all_checkbox,
.place_list_checkbox,
.category_list_all_checkbox,
.category_list_checkbox,
.section_list_all_checkbox,
.section_list_checkbox,
.review_list_all_checkbox,
.review_list_checkbox,
.expert_list_all_checkbox,
.expert_list_checkbox,
.banner_list_all_checkbox,
.banner_list_checkbox {
    margin: 0 12px;
}

input[type="checkbox"] {
    accent-color: #3a7137;
}

.banner_img_thumbnail,
.expert_img_thumbnail {
    width: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 0;
    border-right: 1px solid #e0e0e0;
}

.form_item_wrap {
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.form_item_wrap .form_item {
    width: 100%;
}

.image_upload_btn,
.logo_upload_btn {
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.form_image_upload_box,
.form_logo_upload_box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form_image_left,
.form_logo_left {
    display: flex;
    gap: 12px;
    align-items: center;
}

.form_image_upload_box img,
.form_logo_upload_box img {
    max-width: 120px;
    border: 1px solid rgb(204, 204, 204);
    border-radius: 6px;
}

.detail_img_preview {
    width: 120px;
}

.toggle_visibility_btn {
    width: 40px;
    border: 1px solid #d0d0d0;
    background: white;
    height: 28px;
    border-radius: 4px;
    cursor: pointer;
}

.toggle_visibility_btn[data-visible="0"] {
    background-color: #f2f2f2;
    color: #999;
}

.toggle_approved_btn {
    width: 56px;
    border: 1px solid #d0d0d0;
    background: white;
    height: 28px;
    border-radius: 4px;
    cursor: pointer;
}

.toggle_approved_btn[data-approved="0"] {
    background-color: #f2f2f2;
    color: #999;
}

.product_link {
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0.6;
}

.product_link img {
    width: 14px;
}

.bn-block-content[data-content-type="codeBlock"] > pre {
    color: white;
}

.badge-featured {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 8px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: #def4ec;
    color: #1B8862;
    border: 1px solid #1B8862;
    vertical-align: middle;
}

.badge-featured::before {
    content: "★";
    line-height: 1;
    font-size: 12px;
}

.bn-container,
.bn-editor {
  background: #fff !important;
  color: #000 !important;
}