/* ProfilePress course reports */
.ppress-lms-reports {
    --plr-accent: #2563eb;
    --plr-track: #e2e8f0;
    --plr-text: #0f172a;
    --plr-muted: #64748b;
    --plr-border: #e2e8f0;
    margin-top: 10px;
    color: var(--plr-text);
}

.ppress-lms-reports .plr-title {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 16px;
    padding: 0;
}

.plr-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.plr-heading .plr-title,
.plr-heading h2 {
    margin-bottom: 12px;
}

.plr-heading-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.plr-breadcrumb {
    margin: 0 0 8px;
}

.plr-breadcrumb a {
    text-decoration: none;
}

.plr-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.plr-tile,
.plr-card {
    background: #fff;
    border: 1px solid var(--plr-border);
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
}

.plr-tile {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.plr-tile-label {
    color: var(--plr-muted);
    font-size: 13px;
    font-weight: 500;
}

.plr-tile-value {
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.plr-tile-note {
    color: var(--plr-muted);
    font-size: 12px;
}

.plr-card {
    padding: 20px;
    margin-bottom: 20px;
}

.plr-card h2 {
    font-size: 16px;
    margin: 0 0 12px;
}

.plr-card > .description {
    margin: -6px 0 12px;
}

.plr-table {
    border-color: var(--plr-border);
    border-radius: 8px;
    box-shadow: none;
}

.plr-table th {
    font-weight: 600;
    color: var(--plr-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.plr-table td,
.plr-table th {
    vertical-align: middle;
    padding: 10px 12px;
}

.plr-table .num {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.plr-table tbody tr:hover {
    background: #f8fafc;
}

.plr-empty {
    text-align: center;
    color: var(--plr-muted);
    padding: 28px !important;
}

.plr-strong {
    font-weight: 600;
    text-decoration: none;
}

.plr-actions {
    text-align: right;
    white-space: nowrap;
}

.plr-actions a {
    text-decoration: none;
}

.plr-bar-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 160px;
}

.plr-bar-cell > span:last-child {
    min-width: 72px;
    font-variant-numeric: tabular-nums;
}

.plr-bar-cell small {
    color: var(--plr-muted);
}

.plr-bar {
    position: relative;
    display: block;
    flex: 1;
    height: 8px;
    border-radius: 4px;
    background: var(--plr-track);
    overflow: hidden;
    cursor: default;
}

.plr-bar > span {
    display: block;
    height: 100%;
    border-radius: 4px;
    background: var(--plr-accent);
}

.plr-bar:hover > span {
    background: #1d4ed8;
}

.plr-funnel-bar-col {
    width: 55%;
}

.plr-pill {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f1f5f9;
    color: var(--plr-muted);
    vertical-align: middle;
}

.plr-pill-success {
    background: #dcfce7;
    color: #166534;
}

.plr-pill-info {
    background: #dbeafe;
    color: #1e40af;
}

.plr-pill-danger {
    background: #fee2e2;
    color: #991b1b;
}

.plr-student {
    display: flex;
    align-items: center;
    gap: 10px;
}

.plr-student img {
    border-radius: 50%;
}

.plr-student span {
    display: block;
    color: var(--plr-muted);
    font-size: 12px;
}

.plr-search input {
    min-width: 240px;
}

.plr-student-header {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.plr-student-header img {
    border-radius: 50%;
}

.plr-student-info {
    flex: 1;
    min-width: 220px;
}

.plr-student-info .plr-title {
    margin-bottom: 4px;
}

.plr-student-info p {
    margin: 2px 0;
}

.plr-student-progress {
    min-width: 240px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.plr-student-progress strong {
    font-size: 26px;
}

.plr-section-row td {
    background: #f8fafc;
    font-weight: 600;
}
