/* 底部样式 */
.footer {
    background: #ffffff;
    border-top: 1px solid #e0e0e0;
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 4px;
}

.footer-links a:hover {
    color: #4285f4;
    background: none;
}

.footer-info {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.runtime-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.time-icon {
    width: 16px;
    height: 16px;
    color: #4285f4;
}

.runtime-info span {
    color: #4285f4;
    font-weight: 500;
}

/* 版本号 */
.footer .version {
    font-size: 0.8rem !important;
    color: #888 !important;
    margin-top: 10px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    background-color: #f5f5f5 !important;
    border: 1px solid #e0e0e0 !important;
    display: inline-block !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

.footer .version:hover {
    color: #4285f4 !important;
    background-color: #e8f0fe !important;
    border-color: #4285f4 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(66, 133, 244, 0.2) !important;
}

.footer .version span {
    font-weight: 600 !important;
}

/* 确保版本号元素可见性 */
.footer .version,
.footer .version * {
    visibility: visible !important;
    opacity: 1 !important;
    display: inline !important;
}

/* 版本号容器确保正确显示 */
.footer .version {
    position: relative !important;
    z-index: 1 !important;
    min-width: 60px !important;
    text-align: center !important;
}

/* 版本号文本样式 */
#versionNumber {
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .footer-links {
        gap: 1rem;
    }

    .runtime-info {
        flex-direction: row;
        gap: 0.25rem;
        font-size: 0.85rem;
    }

    .time-icon {
        width: 14px;
        height: 14px;
    }

    /* 移动端版本号样式 */
    .footer .version {
        font-size: 0.75rem !important;
        padding: 6px 12px !important;
        margin-top: 8px !important;
    }
}