/* theme/basic/skin/sub 참고: #0072bc, #252525, #707070, #c2c2c2 */

#stats.stats-page {
    padding: 40px 0px !important;
}

.stats-tabs-bar {
    margin-bottom: 30px;
}

.stats-tabs-bar__actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.stats-tabs {
    margin-bottom: 0;
}

.stats-tabs__source {
    padding: 10px 18px;
    font-size: 14px;
    font-weight: bold;
    color: #0072bc;
    text-decoration: none;
    border: 1px solid #0072bc;
    background-color: #fff;
    white-space: nowrap;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.stats-tabs__source:hover {
    color: #fff;
    background-color: #0072bc;
    border-color: #0072bc;
}

.stats-tabs__list {
    display: table;
    width: 100%;
    table-layout: fixed;
    margin: 0;
    padding: 0;
    list-style: none;
    border-collapse: collapse;
}

.stats-tabs__item {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.stats-tabs__link {
    display: block;
    padding: 14px 8px;
    font-size: 16px;
    color: #252525;
    font-weight: bold;
    text-decoration: none;
    border: 1px solid #c2c2c2;
    border-right-width: 0;
    background-color: #fff;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.stats-tabs__item:last-child .stats-tabs__link {
    border-right-width: 1px;
}

.stats-tabs__link:hover {
    color: #0072bc;
    background-color: #f7f7f7;
}

.stats-tabs__link.is-active {
    color: #0072bc;
    background-color: #f4f4f4;
    border-color: #252525;
    border-right-width: 1px;
    position: relative;
    z-index: 1;
}

.stats-tabs__item + .stats-tabs__item .stats-tabs__link.is-active {
    margin-left: -1px;
}

.stats-panels {
    border-top: 2px solid #252525;
}

.stats-panel {
    border: 1px solid #c2c2c2;
    border-top: none;
    background-color: #fff;
}

.stats-panel + .stats-panel {
    border-top: 1px solid #c2c2c2;
}

.stats-panel__heading {
    margin: 0;
    padding: 22px 20px;
    font-size: 18px;
    color: #252525;
    font-weight: bold;
    text-align: center;
    border-bottom: 1px solid #c2c2c2;
    background-color: #f7f7f7;
}

.stats-panel__embed {
    min-height: 120px;
    padding: 24px 20px;
    font-size: 16px;
    color: #707070;
}

@media (max-width: 768px) {
    #stats.stats-page {
        padding: 24px 12px !important;
    }

    .stats-tabs-bar__actions {
        margin-bottom: 10px;
    }

    .stats-tabs__source {
        padding: 8px 14px;
        font-size: 13px;
    }

    .stats-tabs__list {
        display: block;
    }

    .stats-tabs__item {
        display: block;
        width: 100%;
    }

    .stats-tabs__link {
        border-right-width: 1px;
        border-bottom-width: 0;
    }

    .stats-tabs__item:last-child .stats-tabs__link {
        border-bottom-width: 1px;
    }

    .stats-tabs__link.is-active {
        margin-left: 0;
    }

    .stats-panel__heading {
        font-size: 15px;
        padding: 16px 12px;
    }

    .stats-panel__embed {
        padding: 16px 12px;
        font-size: 14px;
    }
}
