/**
 * BlueBoost - Card Styles
 * Styles pour les cards (type cards, request cards, etc.)
 */

/* Type Cards Grid */
.type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

/* Type Card */
.type-card {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.type-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.type-card:hover .type-icon {
    transform: scale(1.1);
}

.type-card:hover .type-arrow {
    opacity: 1;
    transform: translateX(0);
}

.type-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.2s ease;
}

.type-icon i {
    font-size: 24px;
    color: white;
}

.type-icon.image {
    background: linear-gradient(135deg, #E879F9 0%, #A855F7 100%);
}

.type-icon.content {
    background: linear-gradient(135deg, #34D399 0%, #10B981 100%);
}

.type-icon.default {
    background: linear-gradient(135deg, #94A3B8 0%, #64748B 100%);
}

.type-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.type-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0 0 20px 0;
}

/* Type Features Tags */
.type-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: var(--bg-secondary);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

.feature-tag i {
    font-size: 10px;
}

.feature-tag.attachments {
    background: rgba(14, 165, 233, 0.1);
    color: var(--info-color);
}

.feature-tag.prompts {
    background: rgba(245, 166, 35, 0.1);
    color: var(--warning-color);
}

/* Type Card CTA */
.type-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.type-cta-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

.type-arrow {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.2s ease;
}

.type-arrow i {
    color: white;
    font-size: 12px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
}

.empty-state i {
    font-size: 48px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.empty-state p {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
}

/* Dark mode */
[data-bs-theme="dark"] .type-card {
    background: var(--bg-primary);
    border-color: var(--border-color);
}

[data-bs-theme="dark"] .type-card:hover {
    border-color: var(--primary-color);
}

[data-bs-theme="dark"] .feature-tag {
    background: rgba(255, 255, 255, 0.05);
}

[data-bs-theme="dark"] .feature-tag.attachments {
    background: rgba(14, 165, 233, 0.15);
}

[data-bs-theme="dark"] .feature-tag.prompts {
    background: rgba(245, 166, 35, 0.15);
}
