/* Preview tooltip styles */

#imagePreviewTooltip {
    pointer-events: none;
    z-index: 50;
    transition: opacity 0.2s;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Tooltip content */
#tooltipContent img {
    max-width: 280px;
    max-height: 200px;
    border-radius: 4px;
}

#tooltipContent .tooltip-header {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 4px;
}

#tooltipContent .tooltip-body {
    font-size: 12px;
    color: #334155;
}

.dark #tooltipContent .tooltip-header {
    color: #94a3b8;
}

.dark #tooltipContent .tooltip-body {
    color: #e2e8f0;
}

/* Date tooltip */
#tooltipContent .tooltip-date-relative {
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
}

.dark #tooltipContent .tooltip-date-relative {
    color: #f8fafc;
}

/* Link in tooltip */
#tooltipContent .tooltip-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ea580c;
    font-size: 12px;
}

.dark #tooltipContent .tooltip-link {
    color: #fb923c;
}

/* YouTube thumbnail */
#tooltipContent .youtube-thumb {
    position: relative;
}

#tooltipContent .youtube-thumb::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.7);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    padding-left: 3px;
}

/* Color preview */
.color-preview-large {
    width: 100%;
    height: 60px;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.1);
}

.dark .color-preview-large {
    border-color: rgba(255,255,255,0.1);
}

/* Locale/Country preview */
.locale-preview,
.country-preview {
    text-align: center;
    padding: 8px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 8px;
}

.dark .locale-preview,
.dark .country-preview {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
}

.locale-flag,
.country-flag-large {
    font-size: 48px;
    line-height: 1;
}

/* Country flag inline (hidden, using tooltips now) */
.country-flag {
    display: none;
}

/* Map in tooltip */
#tooltipMap {
    border: 1px solid rgba(0,0,0,0.1);
    margin-bottom: 8px;
}

.dark #tooltipMap {
    border-color: rgba(255,255,255,0.1);
}

#tooltipMap .maplibregl-canvas {
    border-radius: 4px;
}