.admin-dashboard {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.stat-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card i {
    font-size: 2.5em;
    margin-right: 20px;
    color: #cc0000;
}

.stat-content h3 {
    margin: 0;
    color: #666;
    font-size: 1em;
}

.stat-number {
    margin: 5px 0 0;
    font-size: 1.8em;
    font-weight: bold;
    color: #333;
}

.dashboard-footer {
    text-align: right;
    color: #666;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.refresh-btn {
    background: #cc0000;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 10px;
}

.refresh-btn:hover {
    background: #aa0000;
}

.admin-dashboard h2 {
    color: #333;
    margin: 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.stat-card.active-users i {
    color: #28a745;
}

.stat-card.total-notes i {
    color: #17a2b8;
}

.stat-card.week-notes i {
    color: #ffc107;
}

.stat-card.month-notes i {
    color: #6f42c1;
}

.stat-card.avg-length i {
    color: #20c997;
}

.stat-card.today-users i {
    color: #fd7e14;
}

.stat-card.week-users i {
    color: #20c997;
}

.stat-card.month-users i {
    color: #6f42c1;
}