/* ==================================================
   📋 VERSION DISPLAY STYLES - SIDEBAR INTEGRATED
   ==================================================
   
   Styles for the version number display integrated into the sidebar
   ================================================== */

/* Sidebar version display - integrated into sidebar */
.sidebar-version-display {
    position: relative;
    width: 100%;
    padding: 12px 16px;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, rgba(26, 32, 44, 0.8) 0%, rgba(45, 55, 72, 0.6) 100%);
    font-family: 'Inter', 'Monaco', 'Menlo', monospace;
    font-size: 12px;
    font-weight: 500;
    color: #A0AEC0;
    transition: all 0.3s ease;
    user-select: none;
}

.sidebar-version-display:hover {
    background: linear-gradient(135deg, rgba(26, 32, 44, 0.9) 0%, rgba(45, 55, 72, 0.8) 100%);
    color: #E2E8F0;
}

.version-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.version-label {
    color: #718096;
    font-size: 11px;
    font-weight: 400;
}

.version-number {
    color: #E2E8F0;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Light theme adjustments */
[data-theme="light"] .sidebar-version-display {
    background: linear-gradient(135deg, rgba(247, 250, 252, 0.9) 0%, rgba(226, 232, 240, 0.8) 100%);
    border-top-color: rgba(0, 0, 0, 0.1);
    color: #4A5568;
}

[data-theme="light"] .sidebar-version-display:hover {
    background: linear-gradient(135deg, rgba(247, 250, 252, 1) 0%, rgba(226, 232, 240, 0.9) 100%);
    color: #2D3748;
}

[data-theme="light"] .version-label {
    color: #718096;
}

[data-theme="light"] .version-number {
    color: #2D3748;
    font-weight: 700;
}

/* Ensure sidebar has flex layout for proper positioning */
#main-sidebar {
    display: flex;
    flex-direction: column;
}

/* Animation for version updates */
@keyframes versionPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.sidebar-version-display.updating {
    animation: versionPulse 0.6s ease-in-out;
}

/* Hide version display in print */
@media print {
    .sidebar-version-display {
        display: none;
    }
}
