/* Activity Log Pro Dashboard Widget Styles */

.alp-dashboard-widget {
    padding: 0;
}

.alp-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 0 12px;
}

.alp-widget-header label {
    font-weight: 600;
    margin-right: 10px;
}

.alp-chart-selector {
    min-width: 200px;
}

.alp-widget-content {
    position: relative;
    min-height: 300px;
}

.alp-widget-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}

.alp-widget-chart-container {
    padding: 0 12px;
    min-height: 250px;
}

.alp-widget-chart-container canvas {
    max-height: 250px !important;
}

.alp-widget-insights {
    padding: 10px 12px;
    background: #f8f9fa;
    border-top: 1px solid #e1e5e9;
    margin-top: 15px;
    font-size: 13px;
    line-height: 1.4;
}

.alp-widget-insights p {
    margin: 5px 0;
}

.alp-widget-insights strong {
    color: #1d2327;
}

/* Peak times heatmap styles */
.alp-peak-heatmap {
    display: grid;
    grid-template-columns: 60px repeat(24, 1fr);
    gap: 1px;
    font-size: 10px;
    margin: 10px 0;
}

.alp-peak-hour-label,
.alp-peak-day-label {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 500;
    color: #666;
}

.alp-peak-hour-label {
    height: 20px;
}

.alp-peak-day-label {
    height: 15px;
    text-align: right;
    padding-right: 5px;
}

.alp-peak-cell {
    height: 15px;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.alp-peak-cell:hover {
    transform: scale(1.1);
    z-index: 5;
    position: relative;
}

.alp-peak-tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 11px;
    pointer-events: none;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.2s ease;
}