/* 话题生成器专用样式 */
:root {
    --primary-gradient: linear-gradient(90deg, #4361ee, #4895ef);
    --card-bg: rgba(255, 255, 255, 0.95);
    --hover-bg: rgba(72, 149, 239, 0.05);
    --border-radius: 0.5rem;
}

/* 页面背景 */
body {
    background-image: linear-gradient(to bottom right, rgba(67, 97, 238, 0.05), rgba(72, 149, 239, 0.08));
    background-attachment: fixed;
}

/* 卡片悬浮效果 */
.card {
    background-color: var(--card-bg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Select2 自定义样式 */
.select2-container--bootstrap-5 .select2-selection {
    border-radius: var(--border-radius);
    border: 1px solid #ddd;
}

.select2-container--bootstrap-5 .select2-selection:focus {
    box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.25);
    border-color: #4361ee;
}

.select2-container--bootstrap-5 .select2-dropdown {
    border-radius: var(--border-radius);
    border: 1px solid #ddd;
}

/* 话题列表样式 */
.topic-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.topic-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
    border-left: 4px solid #4361ee;
    position: relative;
    transition: all 0.3s ease;
}

.topic-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    background-color: var(--hover-bg);
}

.topic-content {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.topic-actions {
    display: flex;
    gap: 0.5rem;
}

.topic-actions .btn {
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
}

.topic-actions .btn:hover {
    transform: translateY(-2px);
}

.copy-btn {
    background-color: #f8f9fa;
    color: #333;
}

.use-btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.topic-card {
    animation: fadeInUp 0.5s ease-out;
    animation-fill-mode: both;
}

.topic-card:nth-child(1) { animation-delay: 0.1s; }
.topic-card:nth-child(2) { animation-delay: 0.2s; }
.topic-card:nth-child(3) { animation-delay: 0.3s; }
.topic-card:nth-child(4) { animation-delay: 0.4s; }
.topic-card:nth-child(5) { animation-delay: 0.5s; }
.topic-card:nth-child(6) { animation-delay: 0.6s; }
.topic-card:nth-child(7) { animation-delay: 0.7s; }
.topic-card:nth-child(8) { animation-delay: 0.8s; }
.topic-card:nth-child(9) { animation-delay: 0.9s; }
.topic-card:nth-child(10) { animation-delay: 1.0s; }

/* 响应式调整 */
@media (max-width: 768px) {
    .topic-content {
        font-size: 1rem;
    }
    
    .topic-card {
        padding: 1rem;
    }
    
    .topic-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .topic-actions .btn {
        flex: 1;
        padding: 0.5rem;
        font-size: 0.85rem;
    }
} 