/* Karaoke Downloader 自定义样式 */

body {
    min-height: 100vh;
    background-color: #f5f5f5;
}

/* 通知区域 */
.notification-area {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 400px;
}

.notification-area .notification {
    margin-bottom: 10px;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* 卡片样式 */
.card {
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.card-image img {
    object-fit: cover;
}

.card-content .title {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 表格 */
.table td {
    vertical-align: middle;
}

.table img {
    border-radius: 4px;
}

/* 进度条 */
.progress {
    margin-top: 8px;
}

/* 标签 */
.tag {
    font-weight: 500;
}

/* 按钮 */
.button {
    transition: all 0.2s;
}

/* 响应式 */
@media screen and (max-width: 768px) {
    .card-image {
        max-height: 200px;
        overflow: hidden;
    }
}

/* 加载状态 */
.is-loading {
    pointer-events: none;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: #7a7a7a;
}

.empty-state .icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}
