/********** Template CSS **********/
:root {
    --primary: #F28C28; /* 🟠 로고의 주황색으로 최종 변경 */
    --light: #FFF0E0;   /* primary 색상에 맞춰 밝은 톤으로 변경 */
    --dark: #D47B00;    /* primary 색상에 맞춰 어두운 톤으로 변경 */
}

.text-primary {
    color: var(--primary) !important;
}

/* 엄수재 로고의 악센트 색상 */
.text-logo-accent {
    color: var(--primary) !important;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary {
    background-color: var(--primary); /* 🟠 주황색으로 통일 */
    border-color: var(--primary);     /* 🟠 주황색으로 통일 */
    color: #FFFFFF;
}

.btn-primary:hover {
    /* 호버 시 색상을 #E6A26B (약간 어두운 주황색)으로 통일 */
    background-color: #E6A26B;
    border-color: #E6A26B;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 0px;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 80px;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary); /* 🟠 주황색으로 통일 */
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand {
    height: 75px;
    color: var(--dark) !important;
}

.navbar-light a.btn {
    color: #FFFFFF !important;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .dropdown-menu.fade-down {
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/* Custom handwriting font for Math Lab */
.handwriting-font {
    font-family: 'Great Vibes', cursive;
}


/*** Header carousel ***/
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary); /* 🟠 주황색으로 통일 */
    border-color: var(--primary); /* 🟠 주황색으로 통일 */
}

.page-header {
    background: linear-gradient(rgba(24, 29, 56, .7), rgba(24, 29, 56, .7)), url(../img/carousel-1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header-inner {
    background: rgba(15, 23, 43, .7);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}

.sizeup {
    color: var(--light);
    font-size: 1.3em;
}

/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--primary); /* 🟠 주황색으로 통일 */
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 5px;
    left: -60px;
    background: var(--primary); /* 🟠 주황색으로 통일 */
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}


/*** Service ***/
.service-item {
    background: var(--light);
    transition: .5s;
}

.service-item:hover {
    margin-top: -10px;
    background: var(--primary); /* 🟠 주황색으로 통일 */
}

.service-item * {
    transition: .5s;
}

.service-item:hover * {
    color: var(--light) !important;
}


/*** Categories & Courses ***/
.category img,
.course-item img {
    transition: .5s;
}

.category a:hover img,
.course-item:hover img {
    transform: scale(1.1);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-weight: normal;
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary); /* 🟠 주황색으로 통일 */
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

.bg-footer {
    background-color: #1E1E1E; /* 로고 색상 계열 */
}

.contact-info i {
    flex: 0 0 20px;   /* 아이콘 영역 고정폭 */
    text-align: center;
  }
  .contact-info span {
    flex: 1;          /* 남는 공간을 전부 차지 */
    word-break: keep-all;  /* 단어 단위 줄바꿈 */
  }
  


/* 주간 리포트 전용 스타일 */
.report-section {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}
.report-title,
.report-subtitle {
    color: var(--primary); /* 🟠 주황색으로 통일 */
}
.report-table th, .report-table td {
    vertical-align: middle;
    text-align: center;
    padding: 12px 8px;
    font-size: 0.95rem;
}
.report-table thead th {
    background-color: var(--light); /* 🟠 밝은 주황색 계열로 변경 */
    color: var(--dark); /* 🟠 어두운 색으로 글씨가 잘 보이게 */
    border-bottom: 2px solid var(--primary); /* 🟠 주황색으로 변경 */
}
.report-table tbody tr:nth-child(even) {
    background-color: #F8F9FA;
}
.report-table.border-table th, .report-table.border-table td {
    border: 1px solid #dee2e6;
}

/* 성취도 그래프 스타일 */
.achievement-graph {
display: flex;
align-items: flex-end;
height: 250px;
border-left: 1px solid #dee2e6;
border-bottom: 1px solid #dee2e6;
position: relative;
margin-top: 20px;
justify-content: space-around;
padding-bottom: 10px;
padding-left: 0;
}

.achievement-graph .y-axis {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #6c757d;
    text-align: right;
    padding-right: 5px;
    box-sizing: border-box;
}
.achievement-graph .y-axis span {
    height: calc(100% / 10);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}
.achievement-graph .y-axis span:last-child {
    align-items: flex-start;
}

.achievement-graph .bar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    height: 100%;
    justify-content: flex-end;
    width: 100px;
}

.achievement-graph .bar {
    width: 60px;
    background-color: var(--primary); /* 🟠 주황색으로 통일 */
    transition: height 0.5s ease-out;
    border-radius: 4px 4px 0 0;
    position: relative;
}

.achievement-graph .bar-value {
    position: absolute;
    bottom: calc(var(--bar-height) + 5px);
    font-size: 0.85rem;
    font-weight: 600;
    color: #343a40;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    transform: translateY(-10px);
}
.achievement-graph .bar-label {
    margin-top: 5px;
    font-size: 0.85rem;
    color: #343a40;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    position: absolute;
    bottom: -20px;
    width: 100%;
}

.graph-grid-line {
    position: absolute;
    width: calc(100% - 35px);
    left: 35px;
    border-top: 1px dashed #e9ecef;
}
/* 그리드 라인 위치 (0.0이 맨 아래, 100.0이 맨 위) */
.graph-grid-line:nth-of-type(1) { bottom: calc(250px * 0.0 / 100); }
.graph-grid-line:nth-of-type(2) { bottom: calc(250px * 10.0 / 100); }
.graph-grid-line:nth-of-type(3) { bottom: calc(250px * 20.0 / 100); }
.graph-grid-line:nth-of-type(4) { bottom: calc(250px * 30.0 / 100); }
.graph-grid-line:nth-of-type(5) { bottom: calc(250px * 40.0 / 100); }
.graph-grid-line:nth-of-type(6) { bottom: calc(250px * 50.0 / 100); }
.graph-grid-line:nth-of-type(7) { bottom: calc(250px * 60.0 / 100); }
.graph-grid-line:nth-of-type(8) { bottom: calc(250px * 70.0 / 100); }
.graph-grid-line:nth-of-type(9) { bottom: calc(250px * 80.0 / 100); }
.graph-grid-line:nth-of-type(10) { bottom: calc(250px * 90.0 / 100); }
.graph-grid-line:nth-of-type(11) { bottom: calc(250px * 100.0 / 100); }




/* 월간 리포트 전용 스타일 */
.monthly-report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.monthly-report-header .report-meta {
    font-size: 0.9rem;
    color: #6c757d;
}
.monthly-report-header .contact-info {
    font-size: 0.9rem;
    color: #6c757d;
}
.monthly-report-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary); /* 🟠 주황색으로 통일 */
    margin-bottom: 10px;
}
.monthly-report-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary); /* 🟠 주황색으로 통일 */
    margin-bottom: 20px;
}
.report-section-monthly {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}
.report-table-monthly th, .report-table-monthly td {
    vertical-align: middle;
    text-align: center;
    padding: 12px 8px;
    font-size: 0.95rem;
}
.report-table-monthly thead th {
    background-color: var(--light); /* 🟠 밝은 주황색 계열로 변경 */
    color: var(--dark); /* 🟠 어두운 색으로 글씨가 잘 보이게 */
    border-bottom: 2px solid var(--primary); /* 🟠 주황색으로 변경 */
}
.report-table-monthly.border-table th, .report-table-monthly.border-table td {
    border: 1px solid #dee2e6;
}
.comment-box {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
}
.comment-box strong {
    color: var(--primary); /* 🟠 주황색으로 통일 */
    /* color: #06BBCC; */
}


/* 그래프 스타일 (주간 성적 분포표) */
.monthly-graph-container {
    display: flex;
    align-items: flex-end;
    height: 250px;
    border-left: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    position: relative;
    margin-top: 20px;
    justify-content: space-around;
    padding-bottom: 10px;
    padding-left: 0;
    width: 100%;
    box-sizing: border-box;
}
/* ... (Y축, 막대 컨테이너, 값, 라벨, 그리드 라인 스타일은 변경 없음) ... */
.monthly-graph-container .y-axis {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 35px; /* Y축 레이블 공간 확보 */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #6c757d;
    text-align: right;
    padding-right: 5px;
    box-sizing: border-box;
}
.monthly-graph-container .y-axis span {
    height: calc(100% / 10); /* 100을 10칸으로 나눔 */
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}
.monthly-graph-container .y-axis span:last-child {
    align-items: flex-start;
}
.monthly-graph-container .bar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    height: 100%;
    justify-content: flex-end;
    width: 15%; /* 각 막대 컨테이너의 너비 (조정 가능) */
    max-width: 100px; /* 최대 너비 제한 */
}

.monthly-graph-container .bar {
    width: 60%;
    background-color: var(--primary); /* 🟠 주황색으로 통일 */
    transition: height 0.5s ease-out;
    border-radius: 4px 4px 0 0;
    position: relative;
}
/* ... (monthly-graph-container 나머지 부분은 변경 없음) ... */
.monthly-graph-container .bar-value {
    position: absolute;
    bottom: calc(var(--bar-height) + 5px);
    font-size: 0.85rem;
    font-weight: 600;
    color: #343a40;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    transform: translateY(-10px);
}
.monthly-graph-container .bar-label {
    margin-top: 5px;
    font-size: 0.85rem;
    color: #343a40;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    position: absolute;
    bottom: -20px;
    width: 100%;
}
.monthly-graph-container .graph-grid-line {
    position: absolute;
    width: calc(100% - 35px);
    left: 35px;
    border-top: 1px dashed #e9ecef;
}
.monthly-graph-container .graph-grid-line:nth-of-type(1) { bottom: calc(250px * 0.0 / 100); }
.monthly-graph-container .graph-grid-line:nth-of-type(2) { bottom: calc(250px * 10.0 / 100); }
.monthly-graph-container .graph-grid-line:nth-of-type(3) { bottom: calc(250px * 20.0 / 100); }
.monthly-graph-container .graph-grid-line:nth-of-type(4) { bottom: calc(250px * 30.0 / 100); }
.monthly-graph-container .graph-grid-line:nth-of-type(5) { bottom: calc(250px * 40.0 / 100); }
.monthly-graph-container .graph-grid-line:nth-of-type(6) { bottom: calc(250px * 50.0 / 100); }
.monthly-graph-container .graph-grid-line:nth-of-type(7) { bottom: calc(250px * 60.0 / 100); }
.monthly-graph-container .graph-grid-line:nth-of-type(8) { bottom: calc(250px * 70.0 / 100); }
.monthly-graph-container .graph-grid-line:nth-of-type(9) { bottom: calc(250px * 80.0 / 100); }
.monthly-graph-container .graph-grid-line:nth-of-type(10) { bottom: calc(250px * 90.0 / 100); }
.monthly-graph-container .graph-grid-line:nth-of-type(11) { bottom: calc(250px * 100.0 / 100); }


/* 레이더 차트 Placeholder 스타일 */
.radar-chart-placeholder {
    width: 100%;
    height: 300px;
    background-color: #f8f9fa;
    border: 1px dashed #dee2e6;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #6c757d;
    font-size: 1.1rem;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 20px;
}


/* 그래프 스타일 (월별 성적 분포표) */
/* ... (y-axis, bar-container 등은 변경 없음) ... */
.monthly-graph-container {
    display: flex;
    align-items: flex-end;
    height: 250px; /* 그래프 전체 높이 */
    border-left: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    position: relative;
    margin-top: 20px;
    justify-content: space-around; /* 막대들을 균등하게 분산 */
    padding-bottom: 10px;
    padding-left: 40px; /* Y축 레이블 공간 + 그래프 시작점 조정 */
    width: 100%; /* 부모 너비에 맞춤 */
    box-sizing: border-box;
}
.monthly-graph-container .y-axis {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 35px; /* Y축 레이블 공간 확보 */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #6c757d;
    text-align: right;
    padding-right: 5px;
    box-sizing: border-box;
}
.monthly-graph-container .y-axis span {
    height: calc(100% / 10); /* 100을 10칸으로 나눔 */
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}
.monthly-graph-container .y-axis span:last-child {
    align-items: flex-start;
}
.monthly-graph-container .bar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    height: 100%;
    justify-content: flex-end;
    flex: 1; /* 남은 공간을 균등하게 차지하도록 변경 */
    /* max-width: 100px; */ /* 제거하여 더 넓게 사용 가능 */
    margin: 0 5px; /* 막대 간 간격 유지 */
}


.monthly-graph-container .bar {
    width: 60px;
    background-color: var(--primary); /* 🟠 주황색으로 통일 */
    transition: height 0.5s ease-out;
    border-radius: 4px 4px 0 0;
    position: relative;
}
/* ... (monthly-graph-container 나머지 부분은 변경 없음) ... */

.monthly-graph-container .bar-value {
    position: absolute;
    bottom: calc(var(--bar-height) + 5px);
    font-size: 0.85rem;
    font-weight: 600;
    color: #343a40;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    transform: translateY(-10px);
}
.monthly-graph-container .bar-label {
    margin-top: 5px;
    font-size: 0.85rem;
    color: #343a40;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    position: absolute;
    bottom: -20px;
    width: 100%;
}
.monthly-graph-container .graph-grid-line {
    position: absolute;
    width: calc(100% - 40px); /* Y축 레이블 공간 제외, padding-left 값과 일치 */
    left: 40px; /* Y축 레이블 너비만큼 이동, padding-left 값과 일치 */
    border-top: 1px dashed #e9ecef;
}
.monthly-graph-container .graph-grid-line:nth-of-type(1) { bottom: calc(250px * 0.0 / 100); }
.monthly-graph-container .graph-grid-line:nth-of-type(2) { bottom: calc(250px * 10.0 / 100); }
.monthly-graph-container .graph-grid-line:nth-of-type(3) { bottom: calc(250px * 20.0 / 100); }
.monthly-graph-container .graph-grid-line:nth-of-type(4) { bottom: calc(250px * 30.0 / 100); }
.monthly-graph-container .graph-grid-line:nth-of-type(5) { bottom: calc(250px * 40.0 / 100); }
.monthly-graph-container .graph-grid-line:nth-of-type(6) { bottom: calc(250px * 50.0 / 100); }
.monthly-graph-container .graph-grid-line:nth-of-type(7) { bottom: calc(250px * 60.0 / 100); }
.monthly-graph-container .graph-grid-line:nth-of-type(8) { bottom: calc(250px * 70.0 / 100); }
.monthly-graph-container .graph-grid-line:nth-of-type(9) { bottom: calc(250px * 80.0 / 100); }
.monthly-graph-container .graph-grid-line:nth-of-type(10) { bottom: calc(250px * 90.0 / 100); }
.monthly-graph-container .graph-grid-line:nth-of-type(11) { bottom: calc(250px * 100.0 / 100); }


/* 시험 대비 분석 전용 */
document.addEventListener('DOMContentLoaded', function() {
    /* 기출문제 회차별 점수 분포표 (막대 그래프) */
    var examBarCtx = document.getElementById('examBarChart').getContext('2d');
    var examBarChart = new Chart(examBarCtx, {
        type: 'bar',
        data: {
            labels: ['미사2021', '풍산2021', '미사2022', '풍산2022', '남한2023', '미사2023', '풍산2023', '남한2024', '풍산2024'], //
            datasets: [{
                label: '점수',
                data: [80.9, 90.0, 60.5, 80.5, 66.9, 70.2, 61.0, 66.8, 75.3], //
                backgroundColor: '#FFC085',
                borderColor: '#FFC085',
                borderWidth: 1
            }]
        },
        options: {
            responsive: true,
            maintainAspectRatio: false,
            indexAxis: 'y', /* 가로 막대 그래프로 설정 */
            scales: {
                x: {
                    beginAtZero: true,
                    max: 100,
                    ticks: {
                        callback: function(value) {
                            return value + '%';
                        },
                        color: '#6c757d'
                    },
                    grid: {
                        color: 'rgba(0, 0, 0, 0.1)'
                    }
                },
                y: {
                    ticks: {
                        color: '#343a40'
                    },
                    grid: {
                        color: 'rgba(0, 0, 0, 0.05)'
                    }
                }
            },
            plugins: {
                legend: {
                    display: false
                },
                tooltip: {
                    callbacks: {
                        label: function(context) {
                            return context.dataset.label + ': ' + context.raw + '%';
                        }
                    }
                }
            }
        }
    });

    /* 단원별 누적 성취도 (레이더 차트) */
    var examRadarCtx = document.getElementById('examRadarChart').getContext('2d');
    var examRadarChart = new Chart(examRadarCtx, {
        type: 'radar',
        data: {
            labels: [
                '삼각함수 활용', //
                '등차/등비수열', //
                '수열의 합', //
                '귀납적 정의' //
            ],
            datasets: [{
                label: '정답률',
                data: [77.3, 86.0, 67.3, 61.5], //
                backgroundColor: 'rgba(255, 192, 133, 0.4)',
                borderColor: '#FFC085',
                borderWidth: 2,
                pointBackgroundColor: '#FFC085',
                pointBorderColor: '#fff',
                pointHoverBackgroundColor: '#fff',
                pointHoverBorderColor: '#FFC085'
            }]
        },
        options: {
            responsive: true,
            maintainAspectRatio: false,
            elements: {
                line: {
                    tension: 0.1,
                }
            },
            scales: {
                r: {
                    angleLines: {
                        color: 'rgba(0, 0, 0, 0.1)'
                    },
                    grid: {
                        color: 'rgba(0, 0, 0, 0.1)'
                    },
                    pointLabels: {
                        font: {
                            size: 12
                        },
                        color: '#343a40'
                    },
                    min: 0,
                    max: 100,
                    ticks: {
                        stepSize: 20,
                        beginAtZero: true,
                        color: '#6c757d',
                        backdropColor: 'rgba(255, 255, 255, 0.7)',
                        backdropPadding: 2,
                        callback: function(value) {
                            return value + '%';
                        }
                    }
                }
            },
            plugins: {
                legend: {
                    display: false
                },
                tooltip: {
                    callbacks: {
                        label: function(context) {
                            return context.dataset.label + ': ' + context.raw + '%';
                        }
                    }
                }
            }
        }
    });
});
