﻿



/* #region *************************************（ 月曆 ）**************************************/

/* =========================
   前一個月 按鈕
========================= */
.button-ChangeMonth {
    width: 35px !important;
    height: 30px !important;
    font-size: 10pt !important;
    color: #8f8f8f !important;
    background-color: #f5f7fa !important;
    border: 1px solid #ebeef5 !important;
    cursor: pointer !important;
}

.button-ChangeMonth:hover {
    background-color: #f0f1f4 !important;
}

/* =========================
   從星期幾開始 (未選)
========================= */
.button-ChangeStart {
    width: 40px !important;
    height: 35px !important;
    font-size: 10pt !important;
    color: #8f8f8f !important;
    background-color: #f5f7fa !important;
    border: 1px solid #ebeef5 !important;
    border-radius: 5px !important;
    cursor: pointer !important;
}

.button-ChangeStart:hover {
    background-color: #f0f1f4 !important;
}

/* =========================
   從星期幾開始 (已選)
========================= */
.button-ChangeStart_Check {
    width: 40px !important;
    height: 35px !important;
    font-size: 10pt !important;
    color: #8f8f8f !important;
    background-color: #e5e6e7 !important;
    border: 1px solid #8f8f8f !important;
    border-radius: 5px !important;
    cursor: pointer !important;
}

/* =========================
   出勤點
========================= */
.dot-green {
    width: 8px !important;
    height: 10px !important;
    border-style: none !important;
    background-color: cadetblue !important;
    border-radius: 3px !important;
    margin-right: 3px !important;
}

/* =========================
   請假點
========================= */
.dot-pink {
    width: 8px !important;
    height: 10px !important;
    border-style: none !important;
    background-color: #c99dc3 !important;
    border-radius: 3px !important;
    margin-right: 3px !important;
}

/* =========================
   加班點
========================= */
.dot-yellow {
    width: 8px !important;
    height: 10px !important;
    border-style: none !important;
    background-color: gold !important;
    border-radius: 3px !important;
    margin-right: 3px !important;
}

/* =========================
   缺勤點
========================= */
.dot-blue {
    width: 8px !important;
    height: 10px !important;
    border-style: none !important;
    background-color: skyblue !important;
    border-radius: 3px !important;
    margin-right: 3px !important;
}

/* =========================
   長條內容浮起來設定
========================= */
.floatBar {
    width: 100% !important;
    height: 30px !important;
    font-size: 10pt !important;
    vertical-align: top !important;
    border-radius: 8px !important;
    display: flex !important;
    padding-left:15px !important;
    align-items: center !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.floatBar:hover {
    cursor: pointer !important;
    border-radius: 8px !important;
    transform: scale(1.01) translateY(-2px) !important; 
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.3) !important; 
}

/* =========================
   滑過效果
========================= */
.popup {
    position: absolute !important;
    background-color: #f0f0f0 !important;
    border: 1px solid #ccc !important;
    padding: 8px 12px !important;
    border-radius: 5px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2) !important;
    z-index: 9999 !important;
}

.date-circle-yellow {
    color: #febc05 !important;
    background-color:#fffae6 !important;
    padding:5px 7px 5px 7px !important;
    border-radius: 50% !important;
    font-weight: 500 !important;
}

.date-circle-pink {
    color: #e83e8c !important;
    background-color:#ffe6f0 !important;
    padding:5px 7px 5px 7px !important;
    border-radius: 50% !important;
    font-weight: 500 !important;
}
/* #endregion */


/* #region *************************************（ 年度日曆 ）**************************************/

/* =========================
   框架設定
========================= */
.calendar-cell {
    height: 10px !important;
    width: 18px !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
}

.calendar-date {
    width: 20px !important;
    height: 20px !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* =========================
   頁籤設定
========================= */
.calendar-tab-title {
    color: #384f7f !important;
    background-color: #e2e6ef !important;
    border: 1px solid #ced4da !important;
    border-radius: 10px 10px 0 0 !important;
    padding: 6px 30px !important;
    font-weight: bold !important;
    font-size: 0.85rem !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
}

/* =========================
   假別標籤
========================= */
/*.date-square-purple {
    display: inline-block !important;
    background-color: #e2e6ef !important;
    width: 24px !important;
    height: 20px !important;
    border-radius: 15% !important;
}

.date-square-green {
    display: inline-block !important;
    background-color: DarkSeaGreen !important;
    width: 24px !important;
    height: 20px !important;
    border-radius: 15% !important;
}

.date-square-pink {
    display: inline-block !important;
    background-color: #eeb8c6 !important;
    width: 24px !important;
    height: 20px !important;
    border-radius: 15% !important;
}

.date-square-blue {
    display: inline-block !important;
    background-color: #abcfdf !important;
    width: 24px !important;
    height: 20px !important;
    border-radius: 15% !important;
}*/
/* #endregion */


/* #region *************************************（ 出勤統計 ）**************************************/

/* =========================
   左側指示條列樣式 (粉) 
========================= */
.row-indicator-pink {
    position: relative;
    transition: background-color 0.3s ease;
    background-color: rgba(255, 215, 214, 0.25) !important;
}

.row-indicator-pink:hover {
    color:#dd3457 !important;
}

.row-indicator-pink:hover::after {
    opacity: 1 !important;
}

/*左側邊*/
/*.row-indicator-pink::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: #f5a3a2;
    transition: opacity 0.3s ease;
}*/



/* =========================
   左側指示條列樣式 (藍) 
========================= */
.row-indicator-blue {
    position: relative;
    transition: background-color 0.3s ease;
    background-color: rgba(173, 213, 232, 0.18) !important;
}

.row-indicator-blue:hover {
    color:black !important;
}

.row-indicator-blue:hover::after {
    opacity: 1 !important;
}

/*左側邊*/
/*.row-indicator-blue::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: #add5e8;
    transition: opacity 0.3s ease;
}*/

/* =========================
   左側指示條列樣式 (綠) 
========================= */
.row-indicator-green {
    position: relative;
    transition: background-color 0.3s ease;
    background-color: #f1f6f0 !important;
}

.row-indicator-green:hover {
    color:#92a586 !important;
}

.row-indicator-green:hover::after {
    opacity: 1 !important;
}

/*左側邊*/
/*.row-indicator-green::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: #93a688;
    transition: opacity 0.3s ease;
}*/

/* =========================
   左側指示條列樣式 (黃) 
========================= */
.row-indicator-yellow {
    position: relative;
    transition: background-color 0.3s ease;
    background-color: #fdf8f2 !important;
}

.row-indicator-yellow:hover {
    color: #df8a58 !important;
}

.row-indicator-yellow:hover::after {
    opacity: 1 !important;
}

/*左側邊*/
/*.row-indicator-yellow::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: #add5e8;
    transition: opacity 0.3s ease;
}*/

/* =========================
   左側指示條列樣式 (咖) 
========================= */
.row-indicator-brown {
    position: relative;
    transition: background-color 0.3s ease;
    background-color: rgba(150, 128, 109, 0.17) !important;
}

.row-indicator-brown:hover {
    color: #9c816b !important;
}

.row-indicator-brown:hover::after {
    opacity: 1 !important;
}

/*左側邊*/
/*.row-indicator-brown::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: #add5e8;
    transition: opacity 0.3s ease;
}*/
/* #endregion */
