/* ==================== Company Dashboard ==================== */

/* Layout */
.dashboard-row-eq {
    display: flex;
    flex-wrap: wrap;
}

.dashboard-row-eq > [class*="col-"] {
    display: flex;
}

.dashboard-row-eq > [class*="col-"] > .panel {
    flex: 1;
}

.dashboard-placeholder {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.dashboard-placeholder .fa {
    margin-bottom: 10px;
}

/* Headings */
.dashboard-heading {
    font-size: 22px;
    font-weight: 600;
}

.dashboard-heading small {
    font-size: 14px;
    color: #8a8a8a;
}

.dashboard-panel-title {
    font-size: 15px;
    font-weight: 600;
    color: #3a3f51;
    letter-spacing: 0.3px;
}

.dashboard-panel-title small {
    font-weight: 400;
}

.dashboard-beta-badge {
    font-size: 11px;
    font-weight: 700;
    color: #e67e22;
    background-color: #fef5e7;
    padding: 2px 8px;
    border-radius: 3px;
    vertical-align: middle;
    margin-left: 4px;
}

/* Chart heights */
.dashboard-chart-tall {
    height: 320px;
}

.dashboard-chart-md {
    height: 260px;
}

.dashboard-chart-sm {
    height: 230px;
}

.dashboard-chart-lg {
    height: 350px;
}

.dashboard-empty-state {
    text-align: center;
    color: #aaa;
    padding-top: 90px;
}

/* Overview table */
.dashboard-table tr.clickable {
    cursor: pointer;
}

.dashboard-table tr.clickable:hover {
    background-color: #f0f4f8 !important;
}

.dashboard-table th.sortable {
    cursor: pointer;
    user-select: none;
}

.dashboard-table th.sortable:hover {
    background-color: #f0f4f8;
}

.dashboard-table th .fa-sort,
.dashboard-table th .fa-sort-asc,
.dashboard-table th .fa-sort-desc {
    margin-left: 4px;
    opacity: 0.5;
}

.dashboard-table th .fa-sort-asc,
.dashboard-table th .fa-sort-desc {
    opacity: 1;
}

/* Top Endpoints table */
.ep-panel-title {
    line-height: 30px;
}

.ep-search-input {
    max-width: 300px;
}

.ep-bar-cell {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.ep-bar-label {
    white-space: nowrap;
    min-width: 70px;
    text-align: right;
}

.ep-bar-track {
    flex: 1;
    min-width: 120px;
    height: 12px;
    background: #eee;
    border-radius: 3px;
    overflow: hidden;
}

.ep-bar-fill {
    height: 100%;
    border-radius: 3px;
}

.ep-pagination {
    margin: 5px 0;
}

.ep-col-method { width: 80px; }
.ep-col-source { width: 80px; }
.ep-col-requests { width: 100px; }
.ep-col-duration { width: 120px; }
.ep-col-traffic { width: 35%; }
