
input {
    outline: none; /* 外框效果 */
}
textarea{
    outline:none;
}
.LanguageLoseCounter
{
	font-family: OpenSans;
	font-size: 10px;
	font-weight: normal;
	font-style: italic;
	font-stretch: normal;
	text-align: center;
	color: #6d9ee1;
	
}
#block {
    /*position: fixed;
    width: 100%;
    height: 100%;
    opacity: 0.6;
    background: #555;
    Z-INDEX: 101;
    display: none;
    left: 0px;
    top: 0px;*/
    display: none;
    width: 100%;
    height: 100%;
    text-align: center;
    top: 0%;
    opacity: 0.8;
    z-index: 1000;
    position: fixed;
    background-color: #FFFFFF;
}
.PopupBG {
    width: 100%;
    height: 100%;
    text-align: center;
    top: 0%;
    /* [2026-03-25] 目的：彈窗遮罩美化（不再用全白大面積，改為半透明暗色更好看） */
    opacity: 1;
    z-index: 1000;
    display: block;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.25);
}
#AlertPopup .PopupContent {
    min-width: 300px;
}

/* [2026-08-07] 目的：讓共用 Popup("Alert") 接近 AI 提示詞範本的遮罩與卡片視覺，並以專屬 class 避免影響其他舊 Popup。 */
#block.PopupAlertBackdrop {
    inset: 0;
    width: auto;
    height: auto;
    opacity: 1;
    background: rgba(20, 29, 43, .52);
}
#AlertPopup.PopupWindow--alert {
    padding: 24px;
    box-sizing: border-box;
}
#AlertPopup .PopupContent--alert {
    /* [2026-08-07] 目的：Alert 預設採短提示窄版，避免「存檔成功」因狀態樣式未覆蓋而落回長訊息寬版。 */
    width: min(440px, 100%);
    min-width: 0;
    max-height: calc(100vh - 48px);
    overflow: auto;
    border: 0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(15, 23, 42, .24);
}
/* [2026-08-07] 目的：2 秒自動關閉的短提示改為窄版置中，避免「存檔成功」套用長訊息寬版後顯得偏斜空曠。 */
#AlertPopup .PopupContent--alertManual {
    width: min(680px, 100%);
}
#AlertPopup .PopupContent--alertAuto .PopupSubContent {
    padding: 22px 28px 26px;
}
#AlertPopup .PopupContent--alertAuto .PopupMessage {
    text-align: center;
}
#AlertPopup .PopupContent--alert .PopupTitleTr--alertOnly {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    height: auto;
    margin: 0;
    padding: 0 64px;
    border-bottom: 1px solid #e5e9ef;
    box-sizing: border-box;
    color: #1f2937;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0;
}
#AlertPopup .PopupContent--alert .PopupSubContent {
    margin: 0;
    padding: 22px 28px 24px;
}
#AlertPopup .PopupContent--alert .PopupMessage {
    min-height: 0;
    margin: 0;
    color: #374151;
    font-size: 14px;
    line-height: 1.75;
    text-align: center;
}
#AlertPopup .PopupContent--alertManual .PopupMessage {
    text-align: left;
}
#AlertPopup .PopupAlertClose {
    position: absolute;
    top: 13px;
    right: 16px;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f2f5f8;
    color: #687386;
    cursor: pointer;
}
#AlertPopup .PopupAlertClose::before {
    content: "\00d7";
    display: block;
    font-size: 21px;
    font-weight: 400;
    line-height: 30px;
    transform: none;
}
#AlertPopup .PopupAlertClose:hover {
    background: #e7ebf0;
    color: #374151;
}
#AlertPopup .PopupAlertClose:focus-visible {
    outline: 2px solid #6d9ee1;
    outline-offset: 2px;
}

/* [2026-08-07] 目的：將共用 Popup("Confirm") 統一為接近 AI 提示詞範本的確認視窗，並以專屬選擇器避免影響其他 Popup。 */
#block.PopupConfirmBackdrop {
    inset: 0;
    width: auto;
    height: auto;
    opacity: 1;
    background: rgba(20, 29, 43, .52);
}
#AlertPopup.PopupWindow--confirm {
    padding: 24px;
    box-sizing: border-box;
}
#AlertPopup .PopupContent--confirm {
    width: min(440px, 100%);
    min-width: 0;
    max-height: calc(100vh - 48px);
    overflow: auto;
    border: 0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(15, 23, 42, .24);
}
#AlertPopup .PopupContent--confirm > .PopupTitleTr {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    height: auto;
    margin: 0;
    padding: 0 64px;
    border-bottom: 1px solid #e5e9ef;
    box-sizing: border-box;
    color: #1f2937;
    line-height: 1.5;
    letter-spacing: 0;
}
#AlertPopup .PopupContent--confirm .PopupTitle {
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}
#AlertPopup .PopupContent--confirm > .PopupSubContent {
    margin: 0;
    padding: 12px 28px 24px;
    color: #374151;
    font-size: 14px;
    line-height: 1.75;
}
#AlertPopup .PopupConfirmClose {
    position: absolute;
    top: 13px;
    right: 16px;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f2f5f8;
    color: #687386;
    cursor: pointer;
}
#AlertPopup .PopupConfirmClose::before {
    content: "\00d7";
    display: block;
    font-size: 21px;
    font-weight: 400;
    line-height: 30px;
    transform: none;
}
#AlertPopup .PopupConfirmClose:hover {
    background: #e7ebf0;
    color: #374151;
}
#AlertPopup .PopupConfirmClose:focus-visible {
    outline: 2px solid #6d9ee1;
    outline-offset: 2px;
}

/* [2026-03-25] 目的：確保 AlertPopup（例如「更新成功」）顯示在 #block 遮罩之上 */
#AlertPopup {
    z-index: 1200 !important;
}
.PopupWindow {
    width: 100%;
    height: 100%;
    text-align: center;
    top: 0%;
    visibility: hidden;
    opacity: 0;
    z-index: 1000;
    display: flex;
    position: fixed;
    align-items: center;
    justify-content: center;

}

/* [2026-03-31] 目的：商品頁分類選擇視窗改用 PopupWindow 顯示，並壓掉 Search.css 的 display:none */
#Classification.PopupWindow {
    display: flex !important;   /* 強制顯示，避免被 Search.css 的 display:none 蓋掉 */
    z-index: 1150;
}
.PopupMessage {
    min-height:30px;
    margin:10px 0;
    text-align:center;
}
.PopupCancel {
    position: absolute;
    left: 0px;
    height: 27px;
}


.PopupContent {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    /*background-color: #ffffff; 20200609 fixed*/
    border-color: #d0d1d1;
    border-image: none;
    border-style: solid;
    border-width: 1px 3px 3px 1px;
    box-sizing: border-box;
    /*padding: 0 7px; 2020/6/9 fixed*/
    position: relative;
    width: auto;
    z-index: 2000;
    display: inline-block;
    /*background-color: #f8f9f9;20200904 fixed*/
    background-color:#fff;
    /* [2026-03-25] 目的：彈出視窗視覺美化（圓角＋陰影），降低過舊的硬邊感 */
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
} 
.PopupContentBig{ 
	-moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background-color: #ffffff;
    border-color: #d0d1d1;
    border-image: none;
    border-style: solid;
    border-width: 1px 3px 3px 1px;
    box-sizing: border-box;
    /* [2026-03-25] 目的：配合 PopupWindow flex 居中，避免 margin 造成偏下 */
    margin: 0;
   
    
    width: 596px;
    z-index: 2000;
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
}

/* [2026-03-31] 目的：商品頁刪除確認視窗（#DeletePopup）專屬樣式，讓版面更集中、按鈕更好看 */
#DeletePopup .PopupContent {
    min-width: 280px;
    max-width: 360px;
}
#DeletePopup .PopupTitleTr {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    position: relative;
}
#DeletePopup .PopupTitleTr span {
    display: block;
    text-align: center;
    margin: 0;
}
#DeletePopup .PopupSubContent {
    padding: 18px 24px 20px;
}
#DeletePopup .Height52p {
    height: auto;
    line-height: 1.7;
    margin: 0;
}
#DeletePopup .Height52p:nth-child(3) {
    margin-bottom: 8px;
}
#DeletePopup .Height52p:last-child {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}
#DeletePopup .PopupBtn {
    min-width: 88px;
    height: 32px;
    line-height: 32px;
    border-radius: 999px;
    font-size: 13px;
    padding: 0 14px;
}
#DeletePopup .BtnPositionLeft {
    margin-left: 0 !important;
    margin-right: 0 !important;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    color: #374151;
}
#DeletePopup .BtnPositionRight {
    margin-right: 0 !important;
}

#DeletePopup .PopupTitleTr .xICon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    margin: 0;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background-color: #f9fafb;
    background-position: center;
}

/* [2026-03-31] 目的：商品規格刪除確認視窗（#DeleteSpecPopup）改成與 #DeletePopup 一致的新樣式 */
#DeleteSpecPopup .PopupContent {
    min-width: 280px;
    max-width: 360px;
}
#DeleteSpecPopup .PopupTitleTr {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    position: relative;
}
#DeleteSpecPopup .PopupTitleTr span {
    display: block;
    text-align: center;
    margin: 0;
}
#DeleteSpecPopup .PopupTitleTr .xICon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    margin: 0;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background-color: #f9fafb;
    background-position: center;
}
#DeleteSpecPopup .PopupSubContent {
    padding: 18px 24px 20px;
}
#DeleteSpecPopup .Height52p {
    height: auto;
    line-height: 1.7;
    margin: 0;
}
#DeleteSpecPopup .Height52p:nth-child(3) {
    margin-bottom: 8px;
}
#DeleteSpecPopup .Height52p:last-child {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}
#DeleteSpecPopup .PopupBtn {
    min-width: 88px;
    height: 32px;
    line-height: 32px;
    border-radius: 999px;
    font-size: 13px;
    padding: 0 14px;
}
#DeleteSpecPopup .BtnPositionLeft {
    margin-left: 0 !important;
    margin-right: 0 !important;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    color: #374151;
}
#DeleteSpecPopup .BtnPositionRight {
    margin-right: 0 !important;
}
#ShowContent {
    /*max-width:1024px;*/ /*mark for彈出視窗$("body").Popup("Popup", alert);會歪掉的問題*/
    max-height: 600px;
}
    #ShowContent a {
        text-decoration: underline;
        color: black;
    }
    #ShowContent img {
        width: 100%;
    }
.DivTable {
    display: table;
    width:100%;
}
.DivTr{
	display:table-row;
}
.DivTrH36{
display:table-row;
height:36px;
}
.DIVNoTable
{
	height:52px;
}
.DivTrH35
{
	display:table-row;
	height:35px;
}
.FloatLeft
{
	float:left;
}
.FloatRight
{
	float:right;
}
.DivTd{
display:table-cell;
vertical-align: middle;
   
    box-sizing: border-box;
    text-align:left;
}
.Note
{
	font-family: NotoSansCJKtc;
  font-size: 10px;
  /*font-weight: 300;*/
  font-style: normal;
  font-stretch: normal;
  color: #9b9b9b;
	line-height: 11px;
}
.PopupTitleTr {
    margin: 10px;
    /*font-weight: 300;*/
    font-style: normal;
    font-stretch: normal;
    line-height: 2.5;
    text-align: center;
    color: #000000;
    height: 27px;
    letter-spacing: 1px;
    position: relative;
}
#PopupClose {
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 100%;
    background-color: #aaa;
    cursor: pointer;
    color: #FFF;
    text-align: center;
}
    #PopupClose:before {
        content: '+';
        font-size: 23px;
        display: block;
        transform: rotate( 45deg );
        margin: 0 auto;
        line-height: 18px;
    }
.Vertical {
    vertical-align: middle;
    height: 100%;
    line-height: 35px;
}
    .Vertical div {
        display: inline-block;
        line-height: 20px;
        vertical-align: middle;
    }
.xICon {
    float: left;
    height: 100%;
    background-repeat: no-repeat;
    width: 10px;
    cursor: pointer;
    background-image: url('/images/manage/x.svg');
    background-position: center;
    margin-left: 7px;
    /*background-size: cover;*/
}
.Button {
    border-radius: 4px;
    border: 1px solid #555;
    background-color: #555;
    cursor: pointer;
    font-weight: bold;
    padding: 2px 5px;
    color: #fff;
    margin-left: 10px;
    text-align: center; /*不加這行，ProductSpec的按鈕的名字不會致中，會往左邊*/
    display: inline-block; /*不加這行會變得超長*/
    padding: 4px 10px;
    /*background: #6d9ee1 none repeat scroll 0 0;
    border-radius: 2px;
    box-shadow: 2px 2px 2px rgba(90, 116, 165, 1);
    color: #fff;
    cursor: pointer;
    text-align: center;
    min-width: 68px;
    line-height: 22px;
    vertical-align: middle;
    height: 22px;
    padding: 0 5px;*/
}
/* [2026-04-01] 商品資訊屬性「上傳檔案」按鈕美化：淡藍系、比灰色更顯眼但不搶戲 */
.upload_btn_bg_bo {
    width: auto;
    height: 28px;
    border-radius: 6px;
    background-color: transparent;
    display: inline-flex;
    align-items: center;
    gap: 8px;              /* [2026-04-01] 與左側「尺寸表」標題拉出一點間距 */
}
.upload_btn_bg {
    min-width: 96px;
    height: 28px;
    border-radius: 6px;
    background: linear-gradient(to bottom, #f9fafb, #eef2ff);
    position: relative;
    overflow: hidden;
    float: left;
    webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
    line-height: 28px;
    text-align: center;
    font-family: NotoSansCJKtc;
    font-size: 12px;
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
}
.upload_btn_bg:hover {
    background: #dbeafe;
    border-color: #2563eb;
}
.op_photo_btn {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    background-color: transparent;
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    opacity: 0;
    filter: alpha(opacity=0);
    cursor: pointer;
}

.ContentItemName {
    text-align: left;
    font-size: 14px;
    font-style: normal;
    font-stretch: normal;
    line-height: 2;
    color: #000000;
    /*for ClientNew Customer Source Popup */
    height: 35px;
}
.epn {
    border: solid 1px #d0d1d1;
    height:52px;
    box-sizing: border-box;
    /*background-color: #f8f9f9;*/
    font-family: NotoSansCJKtc;
    font-size: 12px;
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
    line-height: 2;
    color: #000000;
    float: left;
    text-align: center;
    margin-right: 5px;
    width: 150px;
}
.epn_w356 {

    width: 356px;
}
.epn2 {
    /*height:52px;*/
    box-sizing: border-box;
    border: 0;
    background-color: #ddd;
    /*background-color: #f8f9f9;*/
    font-family: NotoSansCJKtc;
    font-size: 14px;
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
    line-height: 26px;
    color: #000000;
    float: left;
    text-align: center;
    margin-right: 5px;
    width: 100%;
    height:26px;
}
.epn3 {
    box-sizing: border-box;
    border: 1px solid #000;

    font-family: NotoSansCJKtc;
    font-size: 14px;
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
    line-height: 26px;
    color: #000000;
    float: left;
    text-align: center;
    margin-right: 5px;
    width: 100%;
    height: 26px;
}  
.TxtInputBig
{
    width:398px;
    height:52px;
    text-align:center;
    border: solid 1px #d0d1d1;
    font-size: 10px;
    color: #000000;
    margin-top:-1px;
}

.TxtInputW398H18 {
    width: 398px;
    height: 18px;
    text-align: center;
    border: solid 1px #d0d1d1;
    font-size: 10px;
    color: #000000;
    margin-top: -1px;
    float: right;
}
.TxtInputW336H18
{
	width:336px;
    height:18px;
    text-align:center;
    border: solid 1px #d0d1d1;
    font-size: 10px;
    color: #000000;
    margin-top:-1px;
    float:right;
}
.TxtInputW170H24 {
    width: 170px;
    height: 24px;
    text-align: center;
    border: solid 1px #d0d1d1;
    /*font-size: 10px;*/
    font-size: 12px;/*字太小了，放大一點*/
    color: #000000;
    margin-top: -1px;
    float: right;
}
.TxtInputW350H60 {
    width: 350px;
    height: 60px;
    text-align: center;
    border: solid 1px #d0d1d1;
    font-size: 14px;
    color: #000000;
    float: right;
    line-height: 20px;
}
.TxtInputW350H20 {
    width: 350px;
    height: 20px;
    text-align: center;
    border: solid 1px #d0d1d1;
    font-size: 14px;
    color: #000000;
    float: right;
    line-height: 20px;
}
.TxtInputW144H20 {
    width: 144px;
    height: 20px;
    text-align: center;
    border: solid 1px #d0d1d1;
    font-size: 14px;
    color: #000000;
    float: right;
    line-height: 20px;
}
.TxtInputW150H32
{
	width:150px;
    height:32px;
    text-align:center;
    border: solid 1px #d0d1d1;
    font-size: 10px;
    color: #000000;
    margin-top: -2px;
    float:right;
    line-height:32px;
}
.ClickInputW131H32 {
    width: 131px;
    height: 32px;
    text-align: center;
    border: solid 1px #d0d1d1;
    font-size: 10px;
    margin-top: -3px;
    line-height: 32px;
    cursor: pointer;
}
.ClickInputW265H32
{
	width:265px;
    height:32px;
    text-align:center;
    border: solid 1px #d0d1d1;
    font-size: 12px;

    margin-top: -3px;
    padding-left: 2px;
    float:right;
    line-height:32px;
   
    cursor:pointer;
}
.BlueColor
{
	color: #6d9ee1;
}
.ClickInputW150H32
{
	width:150px;
    height:32px;
    text-align:center;
    border: solid 1px #d0d1d1;
    font-size: 10px;

    margin-top: -3px;
    padding-left: 2px;
    float:right;
    line-height:32px;
    color: #6d9ee1;
    cursor:pointer;
}
.TextInputGray
{
	margin-top:5px;
	width:113px;
    height:29px;
    text-align:center;
    border: solid 1px #d0d1d1;
    background-color: #d0d1d1;
    font-size: 10px;
    color: #000000;
    margin-top:5px;
}

#editPropertyname
{
    width:100%;
    height:90%;
    
    }
.Warning
{

  font-family: NotoSansCJKtc;
  font-size: 10px;
  font-weight: 300;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.4;
  color: #d0021b;
  margin-top:78.5px;
}
.PopupBtn {
    background-color: #6d9ee1;
    /* padding: 2px 0; */
    border-radius: 2px;
    box-shadow: 2px 2px 2px rgba(90, 116, 165, 1);
    color: #fff;
    font-size: 15px;
    height: 22px;
    width: 68px;
    text-align: center;
    line-height: 23px;
    cursor: pointer;
}
.SubTitle {
    padding: 15px 0px 5px 0px;
}
.BtnPositionRight {
    float: right;
}
.BtnPositionLeft
{
	float: left;

}
.btn_epn_save
{

    
    font-size: 11px;
    height: 18px;
    position:relative;
    width:68px;
    color:#fff;
    background:#6d9ee1;
    float:right;
    text-align:center;
    padding:2px 0;  
    border-radius:2px;
    cursor:pointer; 
    box-shadow:2px 2px 2px rgba(90,116,165,1);
    right:10px;
 
}
.nipLine
{ 
	background-color: #d0d1d1;
    height: 1px;
    margin: 0 auto;
    /*width: 270px;*/
}
.nipLineBig
{ 
	background-color: #d0d1d1;
    height: 1px;
    margin: 0 auto;
    width: 528px;
}
.nipLine100P {
    background-color: #d0d1d1;
    height: 1px;
    margin: 0 auto;
    width: 100%;
}
.PopupSubContent
{
	margin:0 12px;
	text-align:left;
    margin-bottom:10px;
}
.PopupSubContentBig {
    margin: 0 34px;
    text-align: left;
    margin-bottom: 10px;
}
.MarginLeft50px
{
	margin-left:50px;
}
.TDW92
{
	width:92px;
}
.TDW129
{
	width:129px;
}
.TDW398
{
	width:398px;
}
.TDHM12 {
    margin-top: 12px;
}
.TDHM35
{
	margin-top:35px;
}
.UploadPhoto
{
	width:400px;
}
.SequenceControl
{
	width: 150px;
	height: 18px;
	border-radius: 39px;
	background-color: #d0d1d1;
	margin: 22px auto 0;
	
}
/* [2026-04-01] 目的：後台新增／刪除圓形按鈕（addBttuonCss／DeleteButtonCss）改成較現代、細線風格，避免厚重藍底與字元 + 旋轉的做法 */
.addBttuonCss {
    display: block;
    /*float: left;*/ /*在做 printmodel 的時候必須拿掉這個，須測試是否有改到 20201028*/
    width: 18px;
    height: 18px;
    border-radius: 999px;
    cursor: pointer;
    box-sizing: border-box;
    position: relative;
    border: 1px solid #cbd5e1;
    background-color: #f9fafb;
}
.addBttuonCss::before,
.addBttuonCss::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 1.6px;
    margin-left: -5px;
    margin-top: -0.8px;
    background-color: #2563eb;
    border-radius: 999px;
}
.addBttuonCss::before {
    transform: rotate(0deg);
}
.addBttuonCss::after {
    transform: rotate(90deg);
}
.DeleteButtonCss {
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    cursor: pointer;
    box-sizing: border-box;
    position: relative;
    /* [2026-04-01] 目的：刪除按鈕改為醒目的紅色 X；具體位置交給各頁面自行控制 */
    border: 1px solid #f87171;
    background-color: #f97373;
}
.DeleteButtonCss::before,
.DeleteButtonCss::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 1.6px;
    margin-left: -5px;
    margin-top: -0.8px;
    background-color: #ffffff;
    border-radius: 999px;
}
.DeleteButtonCss::before {
    transform: rotate(45deg);
}
.DeleteButtonCss::after {
    transform: rotate(-45deg);
}
.addBttuonCss:hover {
    background-color: #e0ecff;
    border-color: #2563eb;
}
.DeleteButtonCss:hover {
    background-color: #b91c1c;
    border-color: #b91c1c;
}
.SequenceCircle
{
	background-color: #6d9ee1;
    border-radius: 14px;
    float: left;
    height: 14px;
    margin-top: 2px;
    overflow: hidden;
    text-align: center;
    width: 14px;
    cursor:pointer;
}
.SequenceCireleNoShow
{
	height: 14px;
    width: 14px;
    float:left;
}
.SequenceUp {
    border-bottom: 6px solid #ffffff;
    border-left: 4.5px solid #6d9ee1;
    border-right: 4.5px solid #6d9ee1;
    /* display: inline-block; */
    /* margin-top: 3px; */
    /* text-align: center; */
    width: 0px;
    margin: 2.5px auto;
}
.SequenceDown {
    border-top: 7px solid #ffffff;
    border-left: 4.5px solid #6d9ee1;
    border-right: 4.5px solid #6d9ee1;
    /* display: inline-block; */
    /* margin-top: 3px; */
    /* text-align: center; */
    width: 0px;
    margin: 4px auto;
}
.SequenceItem
{
	float: left;
    text-align: center;
    width: 122px;
}
.PopupBottomExplen
{
	color: #000000;
    font-family: NotoSansCJKtc;
    font-size: 12px;
    font-stretch: normal;
    font-style: normal;
    font-weight: 300;
    height: 27px;
    letter-spacing: 1px;
    line-height: 2.5;
    margin-bottom: 5px;
    margin-top: 65px;
    text-align: center;
}
.InlineBlock {
    display: inline-block;
}
.Height52p {
    height: 52px;
    width: 270px;
    text-align: center;
    margin: 0 auto;
    
}
.dialog50Td{
	width:264px;
	display:table-cell;
	vertical-align: middle;
	float:left;
	box-sizing: border-box;
	/*padding-left: 10px;
	padding-right: 10px;
	margin-top:10px; 2020/6/9 fixed */
    text-align:left; /*2020/6/9 fixed*/
}
.alignleft{
    text-align:left;
}
.clearBoth{
	clear:both;
}
.floatClass {
    float: left;
}
#ContentDIV {
    margin: 0 auto;
    margin-top: 43px;
    text-align: center;
    width: 90%;
    /*
    border-bottom: #000000 1px solid;
        */
}
.ContentDIVLine {
    width: 100%;
    min-height: 30px;
    display: inline-block;
    margin-bottom: 5px;/*為了客戶基本資料出貨地址同聯絡地址的排版改的*/
}
.ContentTitle {
    float: left;
    font-size: 16px;
    min-width: 100px;
    text-align: left;
    /*color: #555;*/
}

.ContentName {
    width: 30%;
    float: left;
    /* mark 2020/5/28 for 量價表
    font-size: 12px;
        */
    line-height: 16px; /*為了客戶基本資料出貨地址同聯絡地址的排版改的*/
    height: 24px;
    text-align: left;
    max-width: 120px;
}
.ItemBlock, .ItemBlock2, .ItemBlock3, .ItemBlock4 {
    float: left;
    width: 20%;
    margin-top: 5px;
    margin-bottom: 5px;
}
.ItemBlock33 {
    float: left;
    width: 33.33%;
    margin-top: 5px;
    margin-bottom: 5px;
}
.ItemBlockLong {
    float: left;
    width: 60%;
    margin-bottom: 10px;
}
.InsideInput {
    box-sizing: border-box;
    border: 0;
    background-color: #f8f9f9;
    /*font-family: NotoSansCJKtc;*/
    /*font-size: 13px;*/
    /*font-weight: 300;*/
    font-style: normal;
    font-stretch: normal;
    line-height: 2;
    color: #000000;
    float: left;
    text-align: center;
    margin-right: 5px;
    width: calc( 70% - 5px);
    border: solid 1px #ddd;
}
.InsideInputShort {
    box-sizing: border-box;
    border: 0;
    background-color: #f8f9f9;
    font-family: NotoSansCJKtc;
    font-size: 12px;
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
    line-height: 2;
    color: #000000;
    float: left;
    text-align: center;
    margin-right: 5px;
    width: 30%;
}
.InsideInput85 {
    box-sizing: border-box;
    border: 0;
    background-color: #f8f9f9;
    font-family: NotoSansCJKtc;
    font-size: 12px;
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
    line-height: 2;
    color: #000000;
    float: left;
    text-align: center;
    margin-right: 5px;
    width: 85%;
}
.MarginBottom10 {
    margin-bottom: 10px;
}
.Middle {
    margin: 15px auto;
}

/* ===== Detail 編輯頁四格縮圖（更改/刪除按鈕與版面） ===== */
.thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    padding: 4px;
    -webkit-overflow-scrolling: touch;
}
.thumb {
    flex: 0 0 calc((100% - 30px) / 4);
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.12);
    background: rgba(255,255,255,.35);
    cursor: pointer;
    position: relative;
    box-sizing: border-box;
}
.thumb.is-active {
    outline: 2px solid rgba(31,111,235,.45);
    outline-offset: 2px;
}
.thumb .media.media--1x1,
.thumb .media--1x1 {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}
.thumb .media.media--1x1 img,
.thumb .media--1x1 img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.thumb-change,
.thumb-delete {
    position: absolute;
    top: 6px;
    border-radius: 6px;
    border: none;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 3;
    transition: background 0.15s ease, transform 0.1s ease;
}
.thumb-change {
    left: 6px;
    height: 26px;
    padding: 0 8px;
    min-width: 0;
}
.thumb-delete {
    right: 6px;
    width: 26px;
    height: 26px;
    font-size: 16px;
}
.thumb-change:hover,
.thumb-delete:hover {
    background: rgba(0,0,0,0.75);
}
.thumb-change:active,
.thumb-delete:active {
    transform: scale(0.92);
}
.thumb-delete:active {
    background: rgba(180,0,0,0.9);
}
.thumb-add {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #d0d0d0;
    border-radius: 8px;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.15s ease;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}
.thumb-add:hover {
    border-color: #999;
    background: #f0f0f0;
}
.thumb-add-icon {
    font-size: 45px;
    color: #999;
    line-height: 1;
}

/* 編輯頁 InfoList 文字區（與後台一致） */
.InfoListTextAreaDIV {
    border: 1px solid #d0d1d1;
    box-shadow: 2px 2px 0 #d0d1d1;
    width: 100%;
}
.InfoListTextArea {
    width: 96%;
    height: 296px;
    background: #fff;
    border: 0;
    box-shadow: 11px 0 0 #fbfcfc;
    resize: none;
    font-family: inherit;
    font-size: 12px;
    padding: 8px;
    box-sizing: border-box;
}

/* 編輯頁 IntroTabContenter：TabInner 與文字區佔滿寬度，版面不跑版 */
#IntroTabContenter .TabInner {
    width: 100%;
    min-width: 100%;
    box-sizing: border-box;
}
#IntroTabContenter .InfoListTextAreaDIV {
    max-width: 100%;
}
#IntroTabContenter .InfoListTextArea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* [2026-03-31] 目的：後台共用讀取中遮罩（ManageLoadingOverlay），搭配 js/base.js 的 AZManageLoading.show/hide 使用 */
#ManageLoadingOverlay,
.manage-loading {
    position: fixed;
    inset: 0;
    z-index: 200000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(17, 17, 17, 0.35);
    backdrop-filter: blur(1.5px);
}

#ManageLoadingOverlay.is-hidden,
.manage-loading.is-hidden {
    display: none;
}

.manage-loading__card {
    min-width: 260px;
    max-width: 90vw;
    padding: 18px 22px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    border: 1px solid #e1ded5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.manage-loading__spinner {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 3px solid #e5e7eb;
    border-top-color: #2563eb;
    animation: manage-loading-spin 0.75s linear infinite;
}

.manage-loading__text {
    font-size: 14px;
    color: #111;
    text-align: center;
    line-height: 1.6;
    word-break: break-word;
}

@keyframes manage-loading-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
