/* Gemini 图像处理应用 Vue3 + Tailwind CSS + Element Plus 样式 */

/* 全局样式 */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* 导航栏样式 */
.nav-link.active {
    color: #409EFF !important;
    background-color: rgba(64, 158, 255, 0.1) !important;
}

/* Element Plus 组件自定义样式 */
.el-button {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.el-input__wrapper {
    border-radius: 8px;
}

.el-textarea__inner {
    border-radius: 8px;
}

.el-upload-dragger {
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* 自定义动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 文本截断样式 */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}
