/*文字顏色*/
.f-greenlake {
  color: var(--ubot-greenlake);
}

.f-end {
  color: var(--ubot-darkgray);
}

.modal-header .close {
  margin-top: 0px !important;
}

.close {
  opacity: .7 !important;
}

.close :hover {
  opacity: 1 !important;
}

.modal-content {
  border-radius: 5px !important;
}

/*轉帳類modal使用*/
.modal-t30 {
  padding-top: 20px;/*撐高度用*/
  margin-top: 30px;
}

.modal-b30 {
  padding-top: 20px;/*撐高度用*/
  margin-bottom: 30px;
}



.panelStyle_White {
  background-color: rgb(255, 255, 255);
  box-shadow: 0 3px 1px -2px rgba(84, 114, 180, 0.14), 0 2px 2px 0 rgba(0, 0, 0, .098), 0 1px 5px 0 rgba(0, 0, 0, .084);
  margin-bottom: 2%;
  border-radius: 5px;
}
/*明細時不用shadow*/
#SC0101_printScreenModal_div .panelStyle_White {
  box-shadow: none !important;
}
#SC0102_printScreenModal_div .panelStyle_White {
  box-shadow: none !important;
}

.padding50px0px {
  padding: 0px 50px;
}

/*收付款*/
.questionTitle {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}
@media only screen and (max-width: 767px) {
  .questionTitle {
    padding: 0px !important;
  }
}

.dotted_line {
  background-image: linear-gradient(to right, var(--ubot-greenlake) 33%, rgb(255 255 255 / 0%) 0%);
  background-size: 8px 1px;
  background-repeat: repeat-x;
}

/*多選按鈕*/
.radio-group {
  display: flex;
  /* justify-content: center; */
  align-items: center;
  gap: 3%;
  flex-wrap: wrap;
}

.radio-group-height {
  height: 0px;
}

.custom-radio label {
  display: flex;
  cursor: pointer;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  background-color: #fff;
  border-radius: 10px;
}

.search-radio label {
  background-color: transparent!important;
}

.custom-radio label input {
  position: absolute;
  left: -9999px;
}

.custom-radio label input:checked+span {
  background-color: #dffaff;
  color: var(--ubot-darkblue);
  font-weight: 800;
  border: 2px solid var(--ubot-info);
}

.search-radio label input:checked+span {
  border: none!important;
}

.custom-radio label input:checked+span:before {
  box-shadow: inset 0 0 0 0.4375em var(--ubot-info);
}

.custom-radio label span {
  display: flex;
  align-items: center;
  padding: 10px;
  border-radius: 10px;
  transition: 0.25s ease;
  border: 2px solid #c5c5c5;
}

.custom-radio label span {
  border: none;
}

.custom-radio label span:hover {
  background-color: #dffaff;
}

.custom-radio label span:before {
  display: flex;
  flex-shrink: 0;
  content: "";
  background-color: #fff;
  width: 1.5em;
  height: 1.5em;
  border-radius: 50%;
  margin-right: 0.375em;
  transition: 0.25s ease;
  box-shadow: inset 0 0 0 0.125em var(--ubot-info);
}

.custom-radio input[type="radio"]:disabled + span {
  background-color: #e0e0e0; /* 灰色背景 */
  cursor: not-allowed; /* 禁用光標 */
  color: #a0a0a0; /* 灰色文字 */
  opacity: 0.6; /* 半透明 */
  border: 2px solid #c5c5c5; /* 灰色邊框 */
}

.search-radio input[type="radio"]:disabled + span {
  border: none!important;
}

.custom-radio input[type="radio"]:disabled + span:before {
  background-color: #e0e0e0; /* 灰色背景 */
  box-shadow: inset 0 0 0 0.125em #c5c5c5; /* 灰色陰影 */
}

/* 可選：針對被禁用的父元素 */
input[type="radio"]:disabled + label {
  color: #a0a0a0; /* 灰色文字 */
}

.custom-radio label input:checked:disabled + span {
  background-color: #dffaff; /* 灰色背景 */
  color: #a0a0a0; /* 灰色文字 */
  cursor: not-allowed; /* 禁用光標 */
  opacity: 0.6; /* 半透明 */
  border: 2px solid #c5c5c5; /* 灰色邊框 */
  position: relative;
}

.custom-radio label input:checked:disabled + span:before {
  background-color: var(--ubot-darkblue); /* 灰色背景 */
  box-shadow: inset 0 0 0 0.4375em #a0a0a0; /* 灰色的打勾圖示陰影 */
}

/* 可以額外添加一層灰色透明遮罩 */
.custom-radio label input:checked:disabled + span:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.182); /* 半透明白色遮罩 */
  border-radius: 10px;
}

@media only screen and (max-width: 767px) {
  .custom-radio {
    padding-top: 5px;
  }
}

/*上傳檔案*/
input[type="file"] {
  width: 100%;
  position: relative;
  font-weight: 500;
}

input[type="file"]::file-selector-button {
  width: 136px;
  color: transparent;
}

/* Faked label styles and icon */
input[type="file"]::before {
  position: absolute;
  pointer-events: none;
  top: 10px;
  left: 16px;
  height: 20px;
  width: 20px;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230964B0'%3E%3Cpath d='M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3h-2zM7 9l1.41 1.41L11 7.83V16h2V7.83l2.59 2.58L17 9l-5-5-5 5z'/%3E%3C/svg%3E");
}

input[type="file"]::after {
  position: absolute;
  pointer-events: none;
  top: 11px;
  left: 40px;
  color: #0964b0;
  content: "選擇檔案";
}

/* ------- From Step 1 ------- */

/* file upload button */
input[type="file"]::file-selector-button {
  border-radius: 4px;
  padding: 0 16px;
  height: 40px;
  cursor: pointer;
  background-color: white;
  border: 1px solid rgba(0, 0, 0, 0.16);
  box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.05);
  margin-right: 16px;
  transition: background-color 200ms;
}

/* file upload button hover state */
input[type="file"]::file-selector-button:hover {
  background-color: #f3f4f6;
}

/* file upload button active state */
input[type="file"]::file-selector-button:active {
  background-color: #e5e7eb;
}

/* ------------------------ */


/*引入Bootstrap 4 的flex*/

.d-flex {
  display: flex;
}
.flex-column {
  flex-direction: column;
}
.flex-row {
  flex-direction: row;
}

.justify-content-start {
  justify-content: start;
}

.justify-content-end {
  justify-content: end;
}

.justify-content-center {
  justify-content: center;
}

.justify-content-between {
  justify-content: space-between;
}

.align-items-start {
  align-items: start;
}

.align-items-end {
  align-items: end;
}

.align-items-center{
  align-items: center;
}
.wrap {
  flex-wrap: wrap;
}

.nowrap {
  flex-wrap: nowrap;
}

/*垂至置中表單*/

.align-middle{
  vertical-align: middle;
}

/*SC05-02-010*/

.SC050201Td {
  text-align: center;
  vertical-align: middle; 
  font-size:medium;
  background-color: #ffffff;
  height: 5rem;
}

/*台幣單筆*/
.SC0301010_DateDiv {
  width: 100%; 
  /* display: flex;
  justify-content: end; */
  /* padding-right: 190px; */
  margin-bottom: 10px;
}
.padding0px15px {
  padding-left: 0px;
  padding-right: 0px;
}
@media only screen and (max-width: 765px) {
  .padding0px15px {
    padding-left: 15px;
    padding-right: 15px;
  }
}
/*週期預約*/
.btn-group-CycleReserve {
  margin-top:20px; 
  display: flex; 
  flex-direction: column; 
  justify-content: end; 
  gap: 10px;  
}

@media only screen and (max-width: 890px) {
  .btn-group-CycleReserve {
    flex-direction: row !important; 
  }
}

.inlineflex {
  display: inline-flex;
}


/*授權中心*/
.bk-warmblue {
  background-color: var(--ubot-warmblue) !important;
}

.bk-darkblue {
  background-color: var(--ubot-darkblue) !important;
}

.bk-grayblue {
  background-color: var(--ubot-grayblue) !important;
}

.bk-tableblue {
  background-color: var(--ubot-tableblue) !important
}

.bk-paleblue {
  background-color: var(--ubot-paleblue) !important
}

.disabled-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  background-color: var(--ubot-bluegray) !important;
  cursor: not-allowed;
}
.iconCircle{
  padding: 8px;
  border-radius: 50%;
  border: 1px solid var(--ubot-info);
}

/* 待辦清單 */
/* 以下用於覆蓋待審核btn樣式 */
.nav-pills>li.active>a {
  color: #fff;
  background-image: var(--ubot-gradient-blue);
}
/* 以下用於覆蓋整批審核背景色 */

@media only screen and (max-width: 600px) {
  .padding50px0px {
    padding: 0px 0px;
  }
}

@media only screen and (max-width: 991px) {
  .padding50px0px {
    padding: 0px 0px;
  }

  .radio-group-height {
    height: 40px;
  }
}

/* 用於SC01-02 進度追蹤樣式 */
/* 以下用於刷新按鈕樣式 */
.inputSelectorStyle{
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
}
#SC01-02 .bootstrap-select>.dropdown-toggle{
  border-top-right-radius: 0; border-bottom-right-radius: 0;
}

#SC01-02 .progress-bar-success{
  background: var(--ubot-modalHeader-lake);
  /* box-shadow: 0 3px 1px -2px rgba(0, 0, 0, .14), 0 2px 2px 0 rgba(0, 0, 0, .098), 0 1px 5px 0 rgba(0, 0, 0, .084);; */
}

#SC01-02 .progress-bar-success {
  background: var(--ubot-modalHeader-lake);
  /* box-shadow: 0 3px 1px -2px rgba(0, 0, 0, .14), 0 2px 2px 0 rgba(0, 0, 0, .098), 0 1px 5px 0 rgba(0, 0, 0, .084);; */
}

#SC01-02 .progress-bar-success{
  color: var(--ubot-fontgray) !important;
}

/* 用於全局 */
.h3HrStyle{
  border-bottom: 3px solid var(--ubot-info); 
  margin-top: 10px;
}

.modal-dialog-scroll,
.modal-dialog-noWith {
  max-height:90%;
  overflow-wrap: normal;
  overflow-y: auto;
  overflow-x: hidden;
}

.modal-dialog-scroll {
  width: 90%;;
}

/* SC05系列用
detailSpanStyle{
  background: var(--ubot-bluegray);
} */

#SC04-02-050 .labelBlue {
  color: var(--ubot-darkblue);
}

#SC04-02-050 .mappingTitle {
  width: 100%;
  font-size: 1.4rem;
  padding-bottom: 5px;
  position: relative;
}

#SC04-02-050 .mappingDiv {
  width: 100%;
  padding-left: 0px;
  padding-right: 0px;
  font-size: 1.1rem;
  padding-bottom: 10px;
  margin-bottom: 10px;
  position: relative;
} 

/* #SC04-02-050 .mappingDiv::after {
  content: "";
  display: block;
  width: 100%;
  padding-left: 10px;
  padding-right: 10px;
  height: 1px;
  border-bottom: 1px dashed var(--ubot-greenlake); 
  position: absolute;
  bottom: 0;
  left: 0;
} 
*/

#SC04-02-050 .noMarginLR {
  margin-left: 0px;
  margin-right: 0px;
}

#SC04-02-050 .control-label {
  text-align: left;
}

/*SC04-03用*/
.manageTitle{
  color:  var(--ubot-darkblue); 
  padding-left: 40px;
}


@media only screen and (max-width: 991px) {
  #SC04-02-050 .mobileGap {
    text-align: center;
    margin-top: 10px;
  }
}

/* SC02-11 使用 */
.subtotal {
  text-align: end;
}

#IndexFooter {
  position: fixed;
  font-size: 12px;
  bottom: 0px;
  z-index: 1049;
  text-align: center;
  background: var(--ubot-darkblue);
  color:white;
  padding: 4px 0px;
}


.btn.disabled, .btn[disabled], fieldset[disabled] .btn {
  cursor: not-allowed;
  filter: grayscale(80%);
  opacity: .65;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.agreeLable {
  padding-left: 1rem;
  font-size: 18px;
  color: var(--ubot-red)
}

.agreeLable input {
  margin-right: 4px;
}

/* SC04-03 人員管理 / 角色管理 列表群組 */
.list-group-addremove {
  display: flex;
}

.list-group-add,
.list-group-remove {
  margin-top: auto;
  transform: rotate(90deg);
}

@media only screen and (min-width: 768px) {
  .list-group-addremove {
    display: block;
  }

  .list-group-add {
    transform: none;
  }

  .list-group-remove {
    margin-top: 5px;
    transform: none;
  }
}