/* Shared Version Box Component - MyGlobalWeb */
/* ========================================== */

/* Version Info Box - Bottom Right Corner */
.version-info {
    position: fixed;
    bottom: 10px;
    right: 10px;
    /* Use CSS variables set by config.js - fallback to black */
    background: var(--env-version-bg, rgba(0, 0, 0, 0.8)) !important;
    color: var(--env-version-text, white) !important;
    border: 1px solid var(--env-version-border, rgba(255, 255, 255, 0.1)) !important;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 500;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    z-index: 10000;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.version-info:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Alternative version for light backgrounds */
.version-info-light {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.version-info-light:hover {
    background: rgba(255, 255, 255, 0.95);
}

/* Version for top-right corner (alternative positioning) */
.version-info-top {
    position: fixed;
    top: 10px;
    right: 10px;
    bottom: auto;
}

/* Version for top-left corner */
.version-info-top-left {
    position: fixed;
    top: 10px;
    left: 10px;
    right: auto;
    bottom: auto;
}

/* Version for bottom-left corner */
.version-info-bottom-left {
    position: fixed;
    bottom: 10px;
    left: 10px;
    right: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .version-info {
        bottom: 5px;
        right: 5px;
        padding: 4px 8px;
        font-size: 10px;
        border-radius: 6px;
    }
}

/* High contrast version for accessibility */
.version-info-high-contrast {
    background: #000 !important;
    color: #fff !important;
    border: 2px solid #fff !important;
}