/* 重置全局样式 */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f9f4;
    color: #3a5c40;
    line-height: 1.6;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* 标题样式 */
h1 {
    color: #2d6a4f;
    text-align: center;
    margin: 0 0 24px 0;
    font-size: 2rem;
    font-weight: 600;
}

/* 搜索框样式 */
.search-box {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 24px auto;
}

#search-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid #81c784;
    border-radius: 8px;
    outline: none;
    background-color: #ffffff;
}

#search-input:focus {
    border-color: #81c784;
}

/* 搜索结果样式 */
#search-results {
    background-color: #ffffff;
    border: 1px dashed #ffffff;
    border-radius: 8px;
    padding: 12px;
    margin: 8px 0;
}

/* 卡片项通用样式 */
.card-item {
    padding: 12px;
    margin: 8px 0;
    border: 1px dashed #c8e6c9;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8fff8;
    word-wrap: break-word;
}

/* 按钮样式 */
button {
    padding: 8px 16px;
    font-size: 14px;
    border: none;
    border-radius: 8px;
    background-color: #81c784;
    color: white;
    cursor: pointer;
}

button:hover {
    background-color: #66bb6a;
}

/* 复制按钮样式 */
.copy-btn {
    width: 100px;
    text-align: center;
    white-space: nowrap;
}

/* 加载更多按钮样式 */
.load-more-btn {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #81c784;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.load-more-btn:hover {
    background-color: #66bb6a;
}

/* 多端自适应 */
@media (max-width: 768px) {
    .container {
        padding: 16px;
    }

    h1 {
        font-size: 1.5rem;
        margin-bottom: 16px;
    }

    .search-box {
        margin: 0 16px 16px 16px;
        max-width: calc(100% - 32px);
    }

    #search-input {
        padding: 10px 12px;
    }

    .file-item {
        padding: 8px;
    }

    button {
        width: 100%;
        padding: 8px 12px;
    }
}

/* jQuery UI 进度条样式 */
.ui-progressbar {
    height: 20px;
    background: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
}
.ui-progressbar-value {
    background: #81c784;
    border-radius: 8px;
    transition: width 0.3s ease-in-out;
}
.progress-label {
    text-align: center;
    line-height: 20px;
    color: #3a5c40;
    font-weight: bold;
}