﻿body {
    background: #f5f6f8;
    font-family: 'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
    color: #333
}

/* 🔔 Banner */
.blinking-box {
    background: #f7c32e;
    padding: 14px;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    animation: blink 1.5s step-start infinite;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 3px 10px rgba(0,0,0,.06)
}

@keyframes blink {
    50% {
        opacity: .82
    }
}

.blinking-box a {
    background: #2F80ED;
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    margin-left: 12px;
    text-decoration: none
}

/* Counters */
.card-counter {
    border-radius: 15px;
    padding: 20px;
    color: #fff;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,.15)
}

.yellow {
    background: #f7c32e
}

.blue {
    background: #3a7bd5
}

.green {
    background: #4bc0c0
}

.red {
    background: #e74c3c
}

/* Chart cards */
.chart-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    padding: 16px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 270px
}

.chart-header {
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    padding-bottom: 8px;
    margin-bottom: 12px;
    border-bottom: 2px solid #eee
}

.row-1-equal .chart-card {
    min-height: 300px
}

/* Progress chart */
.progress-group {
    margin-bottom: 18px
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px
}

.progress.skill-bar {
    height: 12px;
    background: #e9ecef;
    border-radius: 6px;
    overflow: hidden
}

    .progress.skill-bar .progress-bar {
        height: 12px;
        border-radius: 6px
    }

/* Canvas sizing */
#chart2, #chart3, #chart4, #chart5, #chart6, #chart7 {
    width: 100% !important;
    height: 170px !important;
    display: block;
    margin: 0 auto
}

@media(max-width:768px) {
    .row-1-equal .chart-card {
        min-height: 280px
    }

    #chart2, #chart3, #chart4, #chart5, #chart6, #chart7 {
        height: 160px !important
    }
}
