/* 全局样式 */
body {
    background-color: #f8f9fa;
}

/* 导航栏样式 */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

/* 卡片样式 */
.card {
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,.05);
    margin-bottom: 1rem;
}

.card-title {
    color: #2c3e50;
    font-weight: 600;
}

/* 输入框样式 */
.form-control {
    border: 2px solid #e9ecef;
    transition: border-color 0.2s ease-in-out;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: none;
}

/* 按钮样式 */
.btn {
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* 结果容器样式 */
.results-container {
    max-height: 500px;
    overflow-y: auto;
}

/* 结果项样式 */
.result-item {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s ease-in-out;
}

.result-item:hover {
    background-color: #f8f9fa;
}

.result-item:last-child {
    border-bottom: none;
}

.result-item .title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.result-item .description {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.result-item .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.result-item .tag {
    background-color: #e9ecef;
    color: #495057;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.result-item .links {
    display: flex;
    gap: 1rem;
}

.result-item .link {
    color: #007bff;
    text-decoration: none;
    font-size: 0.9rem;
}

.result-item .link:hover {
    text-decoration: underline;
}

/* 加载状态样式 */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    color: #6c757d;
}

/* 复制按钮样式 */
.copy-btn {
    padding: 0.2rem 0.5rem;
    font-size: 0.8rem;
    color: #007bff;
    background: none;
    border: 1px solid #007bff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.copy-btn:hover {
    color: #fff;
    background-color: #007bff;
} 