/* Snapshots Widget Styles */

snapshots-widget {
    display: none;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.snapshots-widget {
    background: linear-gradient(145deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.snapshots-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.snapshots-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.snapshots-title {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
}

.snapshots-subtitle {
    font-size: 0.8rem;
    opacity: 0.6;
    margin: 0;
}

.snapshots-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 400px;
    overflow-y: auto;
}

.snapshots-list::-webkit-scrollbar {
    width: 6px;
}

.snapshots-list::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}

.snapshots-list::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
}

.snapshot-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    transition: all 0.2s;
}

.snapshot-item:hover {
    background: rgba(255,255,255,0.1);
}

.snapshot-date {
    display: flex;
    flex-direction: column;
    min-width: 100px;
}

.snapshot-date-day {
    font-weight: 500;
    font-size: 0.9rem;
}

.snapshot-date-time {
    font-size: 0.75rem;
    opacity: 0.6;
}

.snapshot-metrics {
    display: flex;
    gap: 15px;
    flex: 1;
}

.snapshot-metric {
    font-size: 0.85rem;
    opacity: 0.8;
    white-space: nowrap;
}

.snapshot-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 6px;
    color: #58a6ff;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.snapshot-link:hover {
    background: rgba(88, 166, 255, 0.2);
    color: #79b8ff;
}

.snapshots-loading,
.snapshots-empty,
.snapshots-error {
    text-align: center;
    padding: 20px;
    opacity: 0.6;
}

.snapshots-error {
    color: #ff6b6b;
    opacity: 1;
}

@media (max-width: 768px) {
    .snapshot-item {
        flex-wrap: wrap;
    }

    .snapshot-metrics {
        width: 100%;
        margin-top: 8px;
    }

    .snapshot-link {
        margin-left: auto;
    }
}
