/* 方舟STEAM入库助手 - 自定义样式 */

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

/* 游戏列表项 */
.game-item {
    transition: all 0.2s ease;
}

.game-item:hover {
    transform: translateX(4px);
    border-color: #2563EB;
    background-color: #EFF6FF;
}

.game-item.selected {
    border-color: #2563EB !important;
    background-color: #DBEAFE !important;
}

/* 日志条目动画 */
.log-entry {
    animation: slideIn 0.2s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 加载动画 */
.loading-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 输入框聚焦效果增强 */
input:focus, select:focus, textarea:focus {
    outline: none;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .game-item:hover {
        transform: none;
    }
}

/* 选择框样式 */
input[type="checkbox"] {
    accent-color: #2563EB;
}