/* =========================================================
   Global Dashboard  —  design pass
   (styling only; no chart/data behaviour is affected)
   ========================================================= */

/* ---- Page header ---- */
.glidego-global-dashboard-page-header {
    margin-bottom: 26px;
}

.glidego-global-dashboard-page-title {
    color: #B0312A;
    font-size: 28px;
    font-weight: 700;
    line-height: 34px;
    margin: 0;
}

.glidego-global-dashboard-page-subtitle {
    color: #8a8a8a;
    font-size: 13px;
    margin-top: 2px;
}

/* ---- Layout ---- */
.glidego-global-dashboard-wrapper {
    display: flex;
    flex-direction: column;
    gap: 34px;
}

    .glidego-global-dashboard-wrapper > div {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

.glidego-global-dashboard-inner-title {
    color: #9A3324;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 26px;
}

/* ---- Section container box (the bordered group) ---- */
.glidego-global-dashboard-inner-row {
    border-radius: 16px;
    border: 1px solid #ECC9CD;
    background: #FFF;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.06), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
    padding: 26px;
}

/* ---- Card ---- */
.glidego-global-dashboard-inner-row .individual-col {
    border-radius: 14px;
    border: 1px solid #EFE8E8;
    background: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    margin-top: 0;
}

/* ---- Card header (clean white, title + calendar) ---- */
.glidego-global-dashboard-inner-row .individual-col .individual-col-header {
    border-radius: 14px 14px 0 0;
    border: none;
    border-bottom: 1px solid #F2ECEC;
    background: #fff;
    display: flex;
    padding: 16px 20px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.individual-col-header > span:first-child {
    color: #2E2E2E;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: 22px;
}

.individual-col-header > span:last-child i {
    color: #9b9292;
    font-size: 15px;
}

/* ---- Top 10 / All Countries chips ---- */
.gg-gd-chips {
    display: flex;
    gap: 10px;
    padding: 16px 20px 4px;
}

.gg-gd-chip {
    font-size: 12px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid #E7DEDE;
    background: #fff;
    color: #6a6262;
}

    .gg-gd-chip.active {
        background: #A4112A;
        border-color: #A4112A;
        color: #fff;
    }

/* ---- Inline legend (colored dots) ---- */
.gg-gd-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    padding: 10px 20px 0;
}

.gg-gd-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #555;
}

.gg-gd-legend-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ---- Chart area + expand affordance ---- */
.gg-gd-chart {
    position: relative;
    padding: 10px 20px 4px;
    flex: 1;
}

.gg-gd-expand {
    position: absolute;
    top: 6px;
    right: 22px;
    color: #b9b1b1;
    font-size: 13px;
}

/* ---- Bottom slider / scroll indicator ---- */
.gg-gd-slider {
    padding: 12px 20px 18px;
}

.gg-gd-slider-track {
    position: relative;
    height: 6px;
    border-radius: 6px;
    background: #ececec;
}

.gg-gd-slider-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 6px;
    width: 16%;
    border-radius: 6px;
    background: #A4112A;
}

/* =================  Graph table  ================= */
.glidego-graph-table {
    border-collapse: collapse;
    width: 100%;
}

    .glidego-graph-table thead th {
        background: #faf7f7;
        color: #6a6262;
        font-weight: 600;
        font-size: 13px;
        text-align: left;
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .glidego-graph-table th,
    .glidego-graph-table td {
        border: none;
        border-bottom: 1px solid #F0EAEA;
        padding: 12px 16px;
        font-size: 13px;
        color: #444;
    }

    .glidego-graph-table tbody td:not(:first-child) {
        text-align: left;
    }

    .glidego-graph-table tbody tr:hover {
        background: #faf7f7;
    }
