@import url('https://fonts.googleapis.com/css?family=Oxygen');

@import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css);
    * {
      font-family: 'Noto Sans TC';
    }

    body {
      /* background-color: gold; */
      background-color: whitesmoke;
      padding: 1rem;
      font-family: 'Noto Sans TC';
    }

    p {
      white-space: pre-wrap;
    }

    .container{
      padding-left: 5px;
      padding-right: 5px;
    }

    .font-small{
      font-size: small;
    }

    .mw-90px{
      max-width: 90px;
    }

    .mw-85px{
      max-width: 85px;
    }

    .mw-80px{
      max-width: 80px;
    }

    .mw-70px{
      max-width: 70px;
    }

    .minw-45px{
      min-width: 45px;
    }
    .minw-60px{
      min-width: 60px;
    }
    .minw-150px{
      min-width: 150px;
    }

    .navbar {
      -webkit-border-radius: 5px;
      -moz-border-radius: 5px;
      border-radius: 5px;
    }

    .navbar-toggler {
      border: 0rem;
    }


    .border-radius {
      -webkit-border-radius: 5px;
      -moz-border-radius: 5px;
      border-radius: 5px;
  }


  .tr-last {
    border-bottom-style: hidden;
}
  .pointer {
      cursor: pointer;
  }
  .sort {
      cursor: pointer;
      width: 0%;
  }

  .action-box {
      -webkit-border-radius: 5px;
      -moz-border-radius: 5px;
      border-radius: 5px;
      background-color: floralwhite;
      width: 5rem;
      height: 5rem;
      margin: 0.2rem;
      padding: 1rem 0.7rem 1rem 0.7rem;
  }

  .action-box-title {
      word-break: break-all;
      width: 85px;
  }


  .facebook {
    background-color:#3b5998;
  }

  .line{
    background-color: #00c300;
  }

  .white{
    color: #ffffff;
  }

  .oil{
    color:#ffc800 ;
  }
  
  .diary-title{
    color:#AF601A ;
  }

  .st0{fill:#988575;}
  .st1{fill:#040000;}
  .st2{font-family:'Oxygen'/*'LiGothicMed'*/; font-weight: 700;}
  .st3{font-size:1.5em;}
  .st4{fill:url(#SVGID_1_);}
  .st5{fill:#FFFFFF;}
  .st6{font-size:6em;}
  .st7{font-size:1.7em;}
  .st8{fill:#E7211A;}
  .st9{fill:#736357;}
  .st10{fill:#18499E;}
  .st11{fill:#951C5B;}



  .video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    border: 0;
    }

    .video-container iframe {
      border: 0;
    }
    
    .video-container iframe, .video-container object, .video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

 
  /* .modal-dialog {
    max-width: 80%;
  } */

  @media screen and (max-width: 768px){
    .modal-dialog {
      max-width: 100%;
    }
}
@media screen and (min-width: 769px) {
  .modal-dialog {
    max-width: 80%;
  }
}


  .btn-plus:active{
    color:green;
  }
  /* .btn-plus:active:focus{
    color:green;
  } */


  .required .control-label:after {
    content:"*";
    color:red;
  }


  .msg{
    color:red;
  }

  .plus{
    color:red;
  }
  .minus{
    color:green;
  }

  .white{
    color: white;
  }

  .font-weight-bold{
    font-weight:bold;
  }
  .font-weight-normal{
    font-weight:normal;
  }
  .font-size-xsmall{
    font-size:x-small;
  }


  .signatureCanvas{
    border: 1px solid black;
    width:100%;
    min-height: 200px;
  }

  .chat-item{
    /* white-space: pre-wrap; */
    text-align:left;
    max-width: 75%;
    display:inline-block;
    border-radius:1rem;
    margin-bottom:0%;
    padding: 0.5rem 1rem 0.5rem 1rem;
  }

  .chat-time{
font-size: 5pt;
  }

  .glow-button-me  {
    box-shadow: 0px 0px 8px 5px rgba(92, 182, 99, 0.4);
  }
  .glow-button-he {
    box-shadow: 0px 0px 8px 5px rgba(83, 83, 83, 0.4);
  }
  .glow-button  {
    box-shadow: 0px 0px 8px 5px rgba(13, 110, 253, 0.4);
  }
  .btn-transparent {
    background-color: Transparent;
  }

  .dim-button {
    opacity: 0.4;
  }

.week-calendar-bg{
  background-color: white;
  margin: 0rem -1rem 0rem -1rem;
}

  .week-calendar-dayitem{
    border-radius: 50%;
    width: 35px;
    height: 35px;
    text-align: center;
    border: 1px solid;
    font-size: 10pt;
  }

  .week-calendar-selecteddayitem{
  box-shadow: 0 0 0 5px #afafaf;
  }

  .list-icon-btn{
    border: 0px;
    background-color: #ffffff;
    color:#6c757d;
  }

  .list-icon-btn:disabled{
    color:#eeeeee;
  }



  .thick-underline {
    border-bottom-width: thick;
    border-bottom-style: solid;
  }


  table.table-border-black{
    /* border:1px solid black; */
  }
table.table-bordered-black > thead > tr > th{
    /* border:1px solid black; */
    padding: 10px;
    vertical-align: middle;
}
table.table-bordered-black > tbody > tr > td{
    /* border:1px solid black; */
    padding: 10px;
    vertical-align: middle;
}


.circular-image {
  object-fit: cover;
      object-position: center;
       /*width: 100%; 统一宽度 */
      height: auto; /* 调整图片高度 */
      border-radius: 50%; /* 裁剪为圆形 */
      overflow: hidden; /* 裁剪溢出的部分*/
}




/*作業完成度月曆*/
.calendar-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-family: sans-serif;
}

.day-cell {
  /*height: 80px;*/
  text-align: center;
  vertical-align: top;
  padding: 5px;
  border: 1px solid #ddd;
  position: relative;
}

.dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  margin: 5px auto 0;
}

.text-delirium {
  color: #F44336;
}
.delirium {
  background-color: #F44336;
}
.text-completed {
  color: #4CAF50;
}
.completed {
  background-color: #4CAF50;
}
.text-partial {
  color: #FFC107;
}
.partial {
  background-color: #FFC107;
}
.text-none {
  color: #BDBDBD;
}
.none {
  background-color: #BDBDBD;
}


/*RPE*/
/* .rpe-easy{
  background-color: rgb(20 184 166);
  border-color: rgb(20 184 166);
  font-weight: 600;
}
.rpe-easy-selected{
  box-shadow: 0 0 0 3px #10B981;
  filter: brightness(0.9);
}
.rpe-middle{
  background-color: rgb(101 163 13 );
  border-color: rgb(101 163 13 );
  font-weight: 600;
}
.rpe-middle-selected{
  box-shadow: 0 0 0 3px rgb(120, 191, 21);
  filter: brightness(0.9);
}
.rpe-hard{
  background-color: rgb(239 68 68 );
  border-color: rgb(239 68 68 );
  font-weight: 600;
}
.rpe-hard-selected{
  box-shadow: 0 0 0 3px rgb(210, 55, 55);
  filter: brightness(0.9);
} */

/* ---- 基礎樣式 ---- */
.rpe-easy{
  background-color: rgb(20 184 166);
  border-color: rgb(20 184 166);
  font-weight: 600;
}
.rpe-middle{
  background-color: rgb(101 163 13);
  border-color: rgb(101 163 13);
  font-weight: 600;
}
.rpe-hard{
  background-color: rgb(239 68 68);
  border-color: rgb(239 68 68);
  font-weight: 600;
}

/* ---- selected 共通效果 (直接複製到每個 selected) ---- */
.rpe-easy-selected,
.rpe-middle-selected,
.rpe-hard-selected {
  position: relative;
  overflow: hidden;

  /* 粗外框 + 微放大 + 動畫 */
  transform: scale(1.05);
  transition: all 0.18s ease;
}

/* 柔光 overlay */
.rpe-easy-selected::after,
.rpe-middle-selected::after,
.rpe-hard-selected::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.18);
  pointer-events: none;
}

/* ---- 各強度的外框顏色 ---- */
.rpe-easy-selected{
  box-shadow: 0 0 0 5px #10B981;
}
.rpe-middle-selected{
  box-shadow: 0 0 0 5px rgb(120, 191, 21);
}
.rpe-hard-selected{
  box-shadow: 0 0 0 5px rgb(210, 55, 55);
}


/* ===== feedback-btn加強選到的按鈕 ===== */
.feedback-btn.active {
  position: relative;
  overflow: hidden;

  /* 微放大 + 動畫 */
  transform: scale(1.08);
  transition: all 0.2s ease;

  /* 粗外框（主色亮一階） */
  box-shadow: 0 0 0 5px rgba(13,110,253,0.4); /* bootstrap primary 藍色 */
}

/* 柔光效果 */
.feedback-btn.active::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.18); 
  pointer-events: none;
}