@charset "UTF-8";


.default {
    position: relative;
    display: flex; justify-content: center; align-items: center;
    flex-direction: column;
    row-gap: 20px;
    height: 100%;

    text-align: center;
    font-family: "Pretendard-Regular", Helvetica;
}

.default .top {
    display: flex; justify-content: center; align-items: center;
    flex-direction: column;
    gap: 14px;
    width: 200px;
    margin-top: 20px;
}

.default .bottom {
    display: flex;
    align-items: center;
    column-gap: 8px;
    position: relative;
    /*width: 216px;*/
    height: 64px;
    margin-bottom: 30px;
}


/* ======== 도넛 차트 START */
.default .chartBox {
    display: flex; justify-content: center; align-items: center;

    /* 도넛차트 */
    & .doughnut-chart{
        width: 140px;
        height: 140px;
        border-radius: 100%;
        border: 1px solid;
        border-color: #e0e2e7;

        display: flex; justify-content: center; align-items: center;

        /* 캔버스 스타일 설정 */
        & canvas#myAnnualDonutChart {
            display: block;
            max-width: 134px;
            max-height: 134px;
            z-index: 999;
        }

    }

    /* 도넛차트 가운데 사진&문구 */
    & #doughnut-chart-center,
    & #doughnut-chart-tooltip{
        display: flex; justify-content: center; align-items: center;
        flex-direction: column;
        position: absolute;
        width: fit-content;
    }

    & #doughnut-chart-tooltip{ /* 툴팁 텍스트 세팅 START */
        font-size: 16px;
        font-weight: 600;
        line-height: 40px;
        color: #5c74d8;

        & .chartTooltip {
            position: absolute;
            width: 40px;
            height: 40px;
            background-color: white;
            border-radius: 50%;
            border: 2px solid #5c74d8;
            box-shadow: #33333320 3px 3px 15px;
            color: #5c74d8;

            z-index: 9999;
            transition: opacity 0.2s ease;

            opacity: 0;

            &.useCnt{
                border-color: #5c74d8;
            }
            &.remCnt{
                border-color: #5c74d826;
            }
        }
    } /* 툴팁 텍스트 세팅 END */

    /* 도넛차트 가운데 나의 총 연차 */
    & #doughnut-chart-center{
        padding-top: 5px;

        & #chartIcon { // 아이콘 (img)
            display: block;
            width: 32px;
        }
        & #chartTextFrame { // 문구
            display: flex; justify-content: center; align-items: center;
            flex-direction: column;
            padding-top: 7px;
            font-size: 12px;

            & div { /* 나의 총 연차 */

            }
            & .myChartTotCnt{ // >> 00 << days
                font-weight: 600;
                font-size: 18px;
                color: #435ac4;
            }
            & span.days { /* days */

            }
        }

    } /* 도넛차트 가운데 나의 총 연차 END */

}
/* ======== 도넛 차트 END */


/* ======== 차트 범례 START */
.default .frame_chart_legend {
    display: flex; justify-content: center; align-items: center;
    gap: 28px;
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;

    & .legendFrame {
        display: inline-flex;
        align-items: center;
        gap: 4px;

        & .circle_icon {
            position: relative;
            width: 14px;
            height: 14px;
            border-radius: 999px;
            border: 4px solid;

            /* 윤곽선 연회색 */
            &.bordercolor_lightgrey { border-color: #5c74d826; }
            /* 윤곽선 군청색 */
            &.bordercolor_cobalt { border-color: #5c74d8; }
        }

        & .legendText {
            position: relative;
            width: fit-content;
            white-space: nowrap;
            //font-size: 12px;
            letter-spacing: 0;
        }
    }

}
/* ======== 차트 범례 END */


/* ======== 차트 하단 연차 계산 START */
.default .bottom .annualWrapper {
    display: flex; justify-content: center; align-items: center;
    flex-direction: column;
    gap: 6px;

    & .annualCircle {
        display: flex; justify-content: center; align-items: center;
        padding: 12px 6px;
        position: relative;
        border-radius: 999px;
        overflow: hidden;
        padding-top: -0.5px;

        width: 44px;
        height: 44px;

        &#attPtlMyAnnual_btnAnnaulUseHist{ /* 연차 내역 커서 변경 */
            cursor: pointer;
            text-decoration: white 2px underline;
            text-underline-position : from-font;

        }
        /* 진한 회색 백그라운드 */
        &.backgroundColor_darkgrey { background-color: #8c8d96; }
        /* 남청색 백그라운드 */
        &.backgroundColor_cobalt { background-color: #5c74d8; }
        /* 연회색 백그라운드 */
        &.backgroundColor_lightgrey { background-color: #5c74d826; }

        .countText{
            font-size: 16px;
            align-self: stretch;
            margin-top: -0.5px;
            font-weight: 600;
            padding-top: 2px;
            color: #ffffff;

            /* 남청색 텍스트 */
            &.text_cobalt{
                color: #435ac4;
            }
        }
    }

    & .annualTitle{ /*총 연차, 사용 연차, 잔여 연차 문구*/
        font-weight: 600;

        /* 남청색 텍스트 */
        &.text_cobalt{
            color: #435ac4;
        }
    }
}

/* 사칙연산 아이콘 */
.default .minus_icon
, .default .equal_icon{
    width: 24px;
    height: 24px;
    margin-bottom: 23px;
}
/* ======== 차트 하단 연차 계산 END */





