﻿@charset "utf-8";
html {
  transition: filter 0.8s ease;
}

._xf_tab_item {
  position: relative;
}

._xf_tab_item._xf_tab_item_focus::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(0,0,0,0.2);
}

._xf_tab_item._xf_tab_item_focus::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background: var(--tab-focus-color, #000);
}

._xf_tab_item_closeall_box {		
    right: 10px !important;		
}		

._xf_tab_item_navibtn {		
    border: none !important;		
}

._xf_tab_item_navibtn_closeall {
    background-image: url(/project/image/3Hand/ico-tab-close.svg);
    background-size: 80% 80%;
}
._xf_tab_item_navibtn_closeall:hover {
    background-image: url(/project/image/3Hand/ico-tab-close.svg);
    background-size: 85% 85%;
}

._xf_grid_item_span {
    display: flex;
}

._xf_protect_ing {
    border: none !important;
    background: url(/project/image/3Hand/icons8-dots-loading-100.gif) center center no-repeat !important;
}

:root[color-theme='light'] {
    --surface-default: #F2F0EE;
    --btn-default: #FFFFFF;
    --btn-svg-hover: #FFA500;
}

:root[color-theme='dark'] {
    --surface-default: #17171C;
    --btn-default: #23232B;
    --btn-svg-hover: gold;
}


body {
    /* display: flex; */
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: var(--surface-default);
    transition: background-color 0.5s;
}

.dark-mode {
  filter: invert(0.85) hue-rotate(180deg) saturate(0.7);
}

.dark-light-toggle {
    display: flex;
    justify-content: center;
    align-items: center;

    position: relative;
    width: 50px;
    height: 50px;
    background-color: var(--btn-default);
    border: none;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;

    transition: background-color 0.5s;
}   

.icon30 {
    display: flex;
    justify-content: center;
    align-items: center;      
    width: 30px;
    height: 30px;  
    position: absolute;
}
.icon30>svg{
    transition: fill 0.5s, transform 0.5s ease;   
}

.sun {
    animation: rise-animation 1s forwards;
    transform-origin: 50% 200%
}
.moon {
    animation: set-animation 1s forwards;
    transform-origin: 50% 200%;
}

[color-theme='dark'] .dark-light-toggle .sun {
    animation: set-animation 1s forwards;
}
[color-theme='dark'] .dark-light-toggle .moon {
    animation: rise-animation 1s forwards;
}

.dark-light-toggle:hover svg {
    fill: var(--btn-svg-hover);
    transform: scale(1.2);
}

@keyframes rise-animation {
    from {
        transform: rotate(180deg);
    }
    to {
        transform: rotate(360deg);
    }
}
@keyframes set-animation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(180deg);
    }
}

.asterisk::before {
  content: "* ";
  color: #EF4444;
  font-size: 18px;
  font-weight: bold;
  margin-left: 4px;
  text-shadow: 0 0 2px rgba(239, 68, 68, 0.4);
}

._xf_scroll_bar_image._xf_vscroll_bar_image{
	background: rgb(227, 227, 227) !important;
}

._xf_scroll_bar._xf_scroll_bar{
	background: rgb(227, 227, 227) !important;
	border: 0;
}

._xf_basic_scroll_bar{
	background: rgb(227, 227, 227) !important;
	border: 0;
}

._xf_basic_scroll_bar:active, .xf_basic_scroll_bar:hover{
	background: rgb(100, 100, 100) !important;
}

._xf_vscroll_top_button{
    display: none;
}

._xf_vscroll_bottom_button{
    display: none;
}

._xf_hscroll_left_button{
    display: none;
}

._xf_hscroll_right_button{
    display: none;
}

._xf_vscroll{
    background-color: #FBFBFB !important;
    width: 15px !important;
}

._xf_hscroll{
    background-color: #FBFBFB !important;
    height: 15px !important;
}

._xf_scroll_hole{
    background-color: #FBFBFB !important;
}

._xf_scroll_bar_image._xf_vscroll_bar_image:hover {
    background: #6e6e6e6e !important;
}

._xf_scroll_bar_image._xf_hscroll_bar_image:hover {
    background: #6e6e6e6e !important;
}

.icon-btn {
    width: 25px !important;
    height: 25px !important;
    border: 1px solid #E2E8F0;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748B;
    font-size: 15px;
    background-image: none !important;
}

.icon-btn span {
    display: none;
}

.icon-btn-edit:hover {
    background: #2C2E30 !important;
    border-color: #2C2E30 !important;
    color: #ffffff !important;
}

.icon-btn-refresh:hover {
    background: #2C2E30 !important;
    border-color: #2C2E30 !important;
    color: #ffffff !important;
}

.icon-btn-delete:hover {
    background: #d50909 !important;
    border-color: #d50909 !important;
    color: #ffffff !important;
}

.icon-btn-edit::before {
    content: "✎";
}

.icon-btn-delete::before {
    content: "🗑";
}

.icon-btn-refresh::before {
    content: "↻";
}

.icon-btn-up:hover {
    background: #2C2E30 !important;
    border-color: #2C2E30 !important;
    color: #ffffff !important;
}

.icon-btn-down:hover {
    background: #2C2E30 !important;
    border-color: #2C2E30 !important;
    color: #ffffff !important;
}

.icon-btn-up::before {
    content: "▲";
    font-size: 10px;
    font-weight: bold;
}

.icon-btn-down::before {
    content: "▼";
    font-size: 10px;
    font-weight: bold;
}

.icon-btn-defect:hover {
    background: #B45309 !important;
    border-color: #B45309 !important;
    color: #ffffff !important;
}

.icon-btn-defect::before {
    content: "⚠";
    font-size: 13px;
}

.tc-rslt-badge-success {
    cursor: pointer;
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.tc-rslt-badge-success:hover {
    background-color: #16a34a !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.35);
}

.tc-rslt-badge-fail {
    cursor: pointer;
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.tc-rslt-badge-fail:hover {
    background-color: #dc2626 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.35);
}

._xf_modalbox_titlebar {
    display: none !important;
}
 
._xf_modalbox_content {
    position: relative;
    width: 400px !important;
    height: 180px !important;
    background-color: #fff;
    border: 0 none;
}

._xf_modalbox._xf_modalbox_alertbox {
    width: 400px !important;
    height: 180px !important;
    border-radius: 15px;
    border: none;
}

._xf_popup_msgbox_icon {
    height: 50px !important;
    width: 50px !important;
    top: 15px !important;
    left: 8px !important;
}

._xf_popup_msgbox_msg_tablecell {
  font-size: 0;
}

._xf_popup_msgbox_msg_tablecell::before {
  content: "경고";
  display: block;
  margin-top: 10px;
  margin-left: 35px;
  font-family: 'Pretendard', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #2C2E30;
}

._xf_popup_msgbox_msg_tablecell::after {
  content: "필수 입력입니다!";
  display: block;
  margin-top: 20px;
  margin-left: 35px;
  font-family: 'Pretendard', sans-serif;
  font-size: 14px;
  color: #2C2E30;
}

._xf_popup_msgbox_btn {
    position: absolute;
    right: 15px;
    bottom: 15px;
    width: 50px !important;
    height: 26px !important;
    font-size: 0;
    outline: none !important;
    box-shadow: none !important;
    background-color: #fff !important;
    border: 1px solid #B4B4B4 !important;
    border-radius: 6px !important;
}

._xf_popup_msgbox_btn::after {
    content: "확인";
    font-size: 12px;
}

._xf_popup_msgbox_btnbox {
    width: 50px !important;
    height: 26px !important;
}

._xf_popup_msgbox_btn:active,
._xf_popup_msgbox_btn:focus {
    border: 1px solid #B4B4B4 !important;
}

._xf_popup_msgbox_icon_info {
    background-image: url(/project/image/3Hand/ico-mp-warning.svg) !important;
    background-size: 50px 50px !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
}

._xf_date_button {
    right: 5px !important;
}

._panel_left{
    opacity: 0;
    transform: translateX(-30px);
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.3s ease, visibility 0s linear 0.3s;
}

._panel_left.active{
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    visibility: visible;
    transition: opacity 0.2s ease, transform 0.3s ease;
}

._panel_right{
    opacity: 0;
    transform: translateX(30px);
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.3s ease, visibility 0s linear 0.3s;
}

._panel_right.active{
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    visibility: visible;
    transition: opacity 0.2s ease, transform 0.3s ease;
}

._xf_tab_item._tabitem_glow_effect {
    position: relative !important;
    overflow: hidden !important;
}

._xf_tab_item._xf_tab_item_focus._tabitem_glow_effect::after {
    content: none !important;
    display: none !important;
}

._xf_tab_item._xf_tab_item_focus._tabitem_glow_effect.left::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 3px;
    height: 100%;
    background: #0E46FF;
    transform: translateY(-50%) scaleY(0);
    transform-origin: center;
    z-index: 20;
    animation: tab-left-glow 0.35s ease-out forwards;
}

@keyframes tab-left-glow {
    to {
        transform: translateY(-50%) scaleY(1);
    }
}

._xf_tab_item._xf_tab_item_focus._tabitem_glow_effect.bottom::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 80%;
    height: 3px;
    background: #0E46FF;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    z-index: 20;
    animation: tab-bottom-glow 0.35s ease-out forwards;
}

@keyframes tab-bottom-glow {
    to {
        transform: translateX(-50%) scaleX(1);
    }
}

._xf_tab_item._tabitem_pill_effect {
    position: relative !important;
    border: 4px solid transparent !important;   /* 자리 미리 확보 (포커스 시 안 밀리게) */
    border-radius: 8px !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease;
}

/* 전역 포커스 라인(::after 검정 / ::before rgba) 무력화 — pill 탭에서만 */
._xf_tab_item._xf_tab_item_focus._tabitem_pill_effect::after,
._xf_tab_item._xf_tab_item_focus._tabitem_pill_effect::before {
    content: none !important;
    display: none !important;
}

/* 포커스된 탭 — F1F3F5 둥근 테두리 강제 */
._xf_tab_item._xf_tab_item_focus._tabitem_pill_effect {
    border: 4px solid #F1F3F5 !important;
    border-radius: 8px !important;
}

.scrollbar { 
  overflow-y: scroll;
}

.scrollbar::-webkit-scrollbar {
    width: 15px;  
}

.scrollbar::-webkit-scrollbar-thumb {
    background: #E3E3E3;
    border-radius: 7px;
    border: 3px solid transparent;
    background-clip: content-box;
}

.scrollbar::-webkit-scrollbar-track {
    background: #FBFBFB;
}

.scrollbar::-webkit-scrollbar-thumb:hover {
    background: #6e6e6e6e;
    background-clip: content-box;
}