.errorlyze-widget {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.errorlyze-widget-empty {
    text-align: center;
    padding: 40px 20px;
}

.errorlyze-widget-empty .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
    color: #00a32a;
    margin-bottom: 12px;
}

.errorlyze-widget-empty p {
    margin: 8px 0;
    color: #1d2327;
}

.errorlyze-widget-empty .empty-desc {
    color: #646970;
    font-size: 13px;
}

.errorlyze-widget-stats {
    border-top: 1px solid #f0f0f1;
    border-bottom: 1px solid #f0f0f1;
    padding: 12px 0;
    margin: 12px 0;
}

.errorlyze-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    cursor: pointer;
    transition: background 0.2s;
    border-radius: 3px;
}

.errorlyze-stat:hover {
    background: #f9f9f9;
    padding-left: 8px;
    padding-right: 8px;
}

.errorlyze-stat-label {
    font-size: 13px;
    color: #646970;
    display: flex;
    align-items: center;
    gap: 6px;
}

.errorlyze-stat-label::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 2px;
}

.errorlyze-stat.critical .errorlyze-stat-label::before {
    background: #dc3232;
}

.errorlyze-stat.error .errorlyze-stat-label::before {
    background: #d63638;
}

.errorlyze-stat.warning .errorlyze-stat-label::before {
    background: #dba617;
}

.errorlyze-stat-value {
    font-size: 18px;
    font-weight: 500;
    color: #1d2327;
    min-width: 32px;
    text-align: right;
}

.errorlyze-trend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    background: #f9f9f9;
    border-radius: 3px;
    margin: 12px 0;
    font-size: 12px;
    color: #646970;
}

.errorlyze-trend .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.errorlyze-trend.up {
    background: #fff5f5;
    color: #d63638;
}

.errorlyze-trend.down {
    background: #f0f6f0;
    color: #00a32a;
}

.errorlyze-trend.stable {
    background: #f9f9f9;
    color: #646970;
}

.errorlyze-widget-footer {
    margin-top: 12px;
}

.errorlyze-widget-footer .button {
    width: 100%;
    text-align: center;
}

.errorlyze-widget-total {
    text-align: center;
    padding: 8px 0;
    color: #646970;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #f0f0f1;
    margin-bottom: 8px;
}

.errorlyze-widget-total strong {
    color: #1d2327;
    font-size: 14px;
}