@charset "utf-8";
/* =============================================================================
   관리자 테마 (카페24 스타일 색감/폰트)
   -----------------------------------------------------------------------------
   common.css / button.css 뒤에 불러와 덮어쓴다. 메뉴 위치/구조(HTML)는 그대로다.
   되돌리려면 include/header.jsp 의 theme_cafe24.css 한 줄만 빼면 된다.

   색
     네이비(상단)  #1b2540 / #141c31
     포인트 블루   #2f6df6
     배경          #f2f4f8
     선            #e3e7ee / #eef0f4
     글자          #333 / #5b6475 / #8a93a6
   ============================================================================= */

@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");

/* ---------- 기본 ---------- */
body{font-family:'Pretendard Variable',Pretendard,-apple-system,'Malgun Gothic','맑은 고딕',sans-serif;font-size:13px;color:#333;background:#f2f4f8;-webkit-font-smoothing:antialiased}
input, select, textarea, button{font-family:'Pretendard Variable',Pretendard,-apple-system,'Malgun Gothic','맑은 고딕',sans-serif;font-size:13px;color:#333}
a{color:#333}
a:hover{color:#2f6df6}

/* 입력 */
input[type=text], input[type=password], input[type=number], input[type=email], input[type=tel], input[type=search],
.text_input, .text_type{border:1px solid #d5dae3;border-radius:4px;background:#fff;padding:4px 6px;font-size:13px;color:#333}
select{border:1px solid #d5dae3;border-radius:4px;background-color:#fff;padding:3px 4px;font-size:13px;color:#333}
textarea{border:1px solid #d5dae3;border-radius:4px;background:#fff;padding:6px 8px;font-size:13px;color:#333}
input[type=text]:focus, input[type=password]:focus, input[type=number]:focus, input[type=email]:focus, input[type=tel]:focus,
select:focus, textarea:focus, .text_input:focus, .text_type:focus{outline:none;border-color:#2f6df6;box-shadow:0 0 0 2px rgba(47,109,246,.15)}
input[readonly], .text_input_none{background:#f7f8fa}

/* ---------- 상단 (메뉴 위치 그대로, 색만) ---------- */
#header{height:96px;background:#1b2540 none;box-shadow:0 2px 6px rgba(20,28,49,.12)}
#header #admininfo{height:40px;background:#141c31;padding:0 24px}
#header #admininfo ul{padding-top:0;height:40px;display:flex;align-items:center;justify-content:space-between}
#header #admininfo ul li.admin{float:none;background:none;padding-left:0;font-size:12px;color:#aeb7cc}
#header #admininfo ul li.admin .yellow{color:#fff !important;font-weight:600}
#header #admininfo .button.black.small a{background:transparent !important;border:1px solid rgba(255,255,255,.22);color:#d6dcea;border-radius:4px;height:24px;line-height:22px;padding:0 10px;font-size:12px}
#header #admininfo .button.black.small a:hover{background:rgba(255,255,255,.08) !important;color:#fff}

#header #menu{height:56px;background:#1b2540}
#header #menu ul{margin-left:12px;display:flex;height:56px}
#header #menu ul li{float:none}
#header #menu ul li a,
#header #menu ul li a:hover,
#header #menu ul li a.over{float:none;display:block;height:56px;line-height:56px;padding:0 18px;font-size:14px;font-weight:600;letter-spacing:-0.2px;color:#b8c1d6;background:none;border-bottom:3px solid transparent;box-sizing:border-box;transition:color .15s, background-color .15s}
#header #menu ul li a:hover{color:#fff;background:rgba(255,255,255,.06)}
#header #menu ul li a.over{color:#fff;background:rgba(255,255,255,.08);border-bottom-color:#4c7dff}

/* ---------- 레이아웃 : 왼쪽 메뉴 / 본문을 흰 카드로 ---------- */
#aside{width:190px;margin:116px 16px 30px 20px;padding:0 0 10px;background:#fff;border:1px solid #e3e7ee;border-radius:10px}
#aside .tc{padding:14px 14px 0}
#aside .button.aside{display:block;width:100%}
#aside .button.aside a{display:block;width:100%;box-sizing:border-box;text-align:center;background:#2f6df6 !important;border:1px solid #2f6df6;color:#fff;border-radius:6px;height:36px;line-height:34px;padding:0;font-size:13px;font-weight:600}
#aside .button.aside a:hover{background:#255de0 !important;color:#fff}
#aside h2{font-size:16px;font-weight:700;color:#1b2540;padding:18px 16px 12px;border-bottom:1px solid #eef0f4}
#aside dl{border:0;padding:4px 0 6px;font-size:13px}
#aside dl dt{background:none;padding:14px 16px 6px;font-weight:700;color:#1b2540;letter-spacing:-0.2px}
#aside dl dd{background:none;padding:0 16px 4px 18px;line-height:27px;letter-spacing:-0.2px;color:#8a93a6}
#aside dl dd a{color:#4a5568}
#aside dl dd a:hover{color:#2f6df6}

#contents,
#contents_100{margin:116px 20px 30px 0;padding:24px 28px 30px;background:#fff;border:1px solid #e3e7ee;border-radius:10px}
#contents_main{margin:116px 20px 30px 0;padding:24px 28px 30px;background:#fff;border:1px solid #e3e7ee;border-radius:10px}
#footer{border-top:1px solid #eef0f4;margin-top:40px}
#footer p{font-size:12px;color:#8a93a6}

/* 제목 / 경로 / 도움말 */
h3{background:none;padding:0 0 0 12px;height:auto;line-height:24px;border-left:4px solid #2f6df6;font-size:20px;font-weight:700;color:#1b2540;letter-spacing:-0.4px;margin-bottom:16px}
ul.navi{padding-top:6px}
ul.navi li, ul.navi li.home, ul.navi li.home a{font-size:12px;color:#8a93a6}
ul.navi li.on{font-size:12px;color:#333;font-weight:600}
ul.helpbox{border:1px solid #e3e7ee;background:#f7f9fc;border-radius:8px;padding:14px 18px 12px}
ul.helpbox li{font-size:12.5px;line-height:20px;color:#5b6475}
.headsubtext{border-color:#e3e7ee;border-radius:8px;background:#f7f9fc}

.section_head{font-size:13px;color:#333;margin-bottom:8px}
.section_head h4{background:none;padding-left:10px;border-left:3px solid #2f6df6;height:18px;line-height:18px;margin-top:4px;font-size:14px;font-weight:700;color:#1b2540}
.section_head span strong{color:#2f6df6}
h5.subtit{font-size:13px;font-weight:700;color:#1b2540;border-bottom-color:#e3e7ee}
.sortable_title h4, .order_list_btn li.title, .order_list_btn2 dl dt, .member_list_btn dl dt{background:none;padding-left:0}

/* ---------- 표 ---------- */
.t_form{border-top:1px solid #c9d0db;border-left:1px solid #e5e8ee}
.t_form th{background-color:#f7f8fa;color:#333;font-weight:600;font-size:13px;padding:10px 16px;border-bottom-color:#e5e8ee;border-right-color:#e5e8ee}
.t_form td{font-size:13px;padding:9px 12px;border-bottom-color:#e5e8ee;border-right-color:#e5e8ee}
.t_form td.gray_bg{background-color:#f7f8fa}

.t_list{border-top:1px solid #c9d0db}
.t_list thead{background-color:#f7f8fa}
.t_list thead th{padding:10px 0;font-size:13px;color:#333;font-weight:600;border-bottom-color:#e5e8ee}
.t_list tbody td{padding:10px 0;font-size:13px;color:#444;border-bottom-color:#eef0f4}
.t_list tbody tr:hover td{background-color:#f8faff}
.t_list tfoot, .t_list tbody.total{background-color:#f7f8fa}
.t_list tfoot th, .t_list tfoot td{font-size:13px;color:#333;border-bottom-color:#e5e8ee}
.t_list_detail thead th, .t_list_detail tbody td{border-color:#e5e8ee;font-size:13px}
.t_list_detail thead{background-color:#f7f8fa}

.table_rowsD{border-top-color:#c9d0db}
.table_rowsD th, .table_rows th{background:#f7f8fa;font-size:13px;color:#333;border-color:#e5e8ee}
.table_rowsD td, .table_rows td{border-color:#e5e8ee}
.table_rows{border-top-color:#c9d0db}
.table_cols{border-top-color:#c9d0db}
.table_cols thead th{background:#f7f8fa;font-size:12px;color:#555;border-bottom-color:#e5e8ee}
.table_cols tbody td{border-bottom-color:#eef0f4}
.table_cols tbody th{background:#f7f8fa}

.box_scroll_orderList thead th{background:#f7f8fa;color:#555;font-size:12px;border-top-color:#c9d0db;border-bottom-color:#e5e8ee}
.box_scroll_orderList > table > tbody > tr:hover{background-color:#f3f7ff}
.box_scroll_orderList .odd_color{background:#fafbfd}
.layer_pro_list{border:1px solid #d5dae3;border-radius:8px;box-shadow:0 8px 24px rgba(20,28,49,.12)}
.layer_pro_list thead th{background:#f7f8fa;color:#555}

/* 검색영역/버튼영역 박스 */
.search_form_box .table_box{border-top:2px solid #1b2540}
.order_list_btn2, .member_list_btn{border-color:#e3e7ee;background:#f7f9fc;border-radius:8px}
.analysis_area{border:1px solid #e3e7ee;border-radius:8px;background:#f7f9fc}
.analysis_area p strong{color:#2f6df6}
.code_info, .tip_box2, .defaultFunc{border-color:#e3e7ee;background:#f7f9fc;border-radius:8px}

/* ---------- 탭 ---------- */
.select_tab ul li, .order_tab li, .order_list_tab .tab_box a{background:#f2f4f8;border-color:#dfe3ea;color:#5b6475;border-radius:6px 6px 0 0}
.select_tab ul li a{color:#5b6475}
.select_tab ul li.on, .order_tab li.on, .order_list_tab .tab_box a.active{background:#fff;color:#2f6df6;border-color:#c9d0db;border-top:2px solid #2f6df6}
.select_tab ul li.on a{color:#2f6df6}
.order_tab_box, .order_list_tab{border-bottom-color:#c9d0db}

/* ---------- 페이징 ---------- */
.paging span a, .paging span span{font-family:inherit;font-size:13px;min-width:16px;height:28px;line-height:28px;margin:0 2px;padding:0 6px;border:1px solid #e3e7ee;border-radius:4px;background:#fff;color:#5b6475;text-align:center}
.paging span a:hover{border-color:#2f6df6;color:#2f6df6}
.paging span strong{color:#2f6df6;font-weight:700}
.paging span .prev, .paging span .first, .paging span .last, .paging span .next{border:0;background:none}

/* ---------- 버튼 (이미지 버튼 -> 색 버튼) ---------- */
/* button.css 가 .button 자체에 돋움을 걸어 두어, 아래 inherit 가 돋움을 물려받지 않게 여기서 지정한다 */
.button, .buttonOrder{font-family:'Pretendard Variable',Pretendard,-apple-system,'Malgun Gothic','맑은 고딕',sans-serif;letter-spacing:-0.2px}
.button, .button.large, .button.xLarge, .button.small, .button.aside{background:none !important;height:auto;margin-right:4px}
.button a, .button button, .button input{left:0;background:#fff !important;border:1px solid #cfd5df;border-radius:4px;color:#333;height:30px;line-height:28px;padding:0 12px;font-size:13px;font-family:inherit;box-sizing:border-box;transition:background-color .15s, border-color .15s}
.button.small a, .button.small button, .button.small input{height:24px;line-height:22px;padding:0 8px;font-size:12px}
.button.large a, .button.large button, .button.large input{height:36px;line-height:34px;padding:0 18px;font-size:14px;font-weight:600}
.button.xLarge a, .button.xLarge button, .button.xLarge input{height:44px;line-height:42px;padding:0 24px;font-size:15px;font-weight:600}
.button *:hover, .button *:active, .button *:focus{color:#2f6df6;border-color:#2f6df6}

.button.black a, .button.black button, .button.black input{background:#2b3a5c !important;border-color:#2b3a5c;color:#fff}
.button.black *:hover, .button.black *:active, .button.black *:focus{background:#1f2b45 !important;border-color:#1f2b45;color:#fff}
.button.blue a, .button.blue button, .button.blue input{background:#2f6df6 !important;border-color:#2f6df6;color:#fff}
.button.blue *:hover, .button.blue *:active, .button.blue *:focus{background:#255de0 !important;border-color:#255de0;color:#fff}
.button.red a, .button.red button, .button.red input{background:#f04452 !important;border-color:#f04452;color:#fff}
.button.red *:hover, .button.red *:active, .button.red *:focus{background:#d93342 !important;border-color:#d93342;color:#fff}
.button.green a, .button.green button, .button.green input{background:#12b886 !important;border-color:#12b886;color:#fff}
.button.green *:hover, .button.green *:active, .button.green *:focus{background:#0ca678 !important;border-color:#0ca678;color:#fff}

/* 주문 처리 버튼 */
.buttonOrder{background:none !important;height:auto}
.buttonOrder a, .buttonOrder button, .buttonOrder input{left:0;background:#fff !important;border:1px solid #cfd5df;border-radius:4px;color:#333;height:26px;line-height:24px;font-size:12px;letter-spacing:-0.3px;font-family:inherit;box-sizing:border-box}
.buttonOrder a:hover, .buttonOrder button:hover{border-color:#2f6df6;color:#2f6df6}
.buttonOrder.red a, .buttonOrder.red button, .buttonOrder.red input{border-color:#f5a3aa;color:#d93342;background:#fff5f6 !important}
.buttonOrder.blue a, .buttonOrder.blue button, .buttonOrder.blue input{border-color:#a9c2fb;color:#2f6df6;background:#f3f7ff !important}
.btn_admin{background:#2b3a5c;border-radius:6px}

/* ---------- 주문상세 팝업 ---------- */
.order_title{background:#1b2540 none}
#popularSearch table tr th{background:#2f6df6}

/* ---------- 로그인 화면 (같은 header.jsp 를 쓴다) ---------- */
.adm_login_card .adm_login_btn{background:#2f6df6}
.adm_login_card .adm_login_btn:hover{background:#255de0}
.adm_login_card .adm_field input:focus{border-color:#2f6df6}

/* ---- 주문 목록 그리드 (주문별보기 inc_order_list / 상품별보기 inc_ordergoods_list) ----
   칸 밖으로 넘치는 값(네이버페이 아이디처럼 긴 문자열)이 옆 칸에 겹쳐 그려지지 않게 모든 칸을 자기 폭 안에서 자르고,
   잘린 값은 title 로 전체를 보여준다. 좁은 화면에서는 표 전체를 가로 스크롤한다. */
.order_grid_wrap { width:100%; overflow-x:auto; border:1px solid #e3e7ee; border-radius:8px; }
table.order_grid { table-layout:fixed; border-collapse:collapse; min-width:1560px; border-top:0; }
table.order_grid thead th,
table.order_grid tbody td { border:1px solid #e3e7ee; padding:7px 6px; overflow:hidden; text-overflow:ellipsis; word-break:break-all; vertical-align:middle; }
table.order_grid tr > *:first-child { border-left:0; }
table.order_grid tr > *:last-child { border-right:0; }
table.order_grid thead tr:first-child th { border-top:0; }
table.order_grid thead th { background:#f3f5f9; color:#3a4458; font-weight:600; line-height:1.35; }
table.order_grid tbody td { color:#333; line-height:1.4; }
table.order_grid tbody tr:nth-child(even) td { background:#fafbfd; }
table.order_grid tbody tr:hover td { background:#eef4ff; }
table.order_grid td.num { text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap; }
table.order_grid td.cnt { font-variant-numeric:tabular-nums; }
table.order_grid td.cut { white-space:nowrap; }
table.order_grid td.cut > div { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
table.order_grid td.goods { text-align:left; }
table.order_grid td.goods a { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
table.order_grid td.paid { color:#e03131; font-weight:600; }
