/**
 * Components Styles
 * Reusable UI components (badges, cards, tags, etc.)
 */

/* Research Badges */
.research-badge {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--primary-color);
    font-size: 0.875rem;
    transition: var(--transition);
    cursor: pointer;
}

.badge-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
}

.badge-icon {
    font-size: 1rem;
}

.badge-text {
    color: #1e40af;
    font-weight: 500;
}

/* Key Findings */
.findings-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.finding-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem;
    background: var(--light-color);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    transition: var(--transition);
}

.finding-item:hover {
    background: #e5e7eb;
    transform: translateX(5px);
}

.finding-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: bold;
    flex-shrink: 0;
}

.finding-icon.success {
    background: #d1fae5;
    color: #065f46;
}

.finding-icon.info {
    background: #dbeafe;
    color: #1e40af;
}

.finding-icon.warning {
    background: #fef3c7;
    color: #92400e;
}

.finding-text {
    color: #374151;
    line-height: 1.4;
}

/* Interactive Guide Cards */
.guide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.guide-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    border-radius: var(--radius-lg);
    border: 2px solid rgba(139, 92, 246, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.guide-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.guide-card:hover::before {
    left: 100%;
}

.guide-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 24px rgba(139, 92, 246, 0.25);
    border-color: rgba(139, 92, 246, 0.4);
}

.guide-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.guide-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.guide-text strong {
    font-size: 0.875rem;
    color: var(--dark-color);
}

.guide-text p {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0;
}

/* Methodology Tags */
.methodology-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.method-tag {
    padding: 0.375rem 0.75rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #92400e;
    border: 1px solid #fbbf24;
    transition: var(--transition);
}

.method-tag:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-sm);
}

/* Responsive */
@media (max-width: 768px) {
    .guide-grid {
        grid-template-columns: 1fr;
        gap: 0.625rem;
    }

    .guide-card {
        padding: 1rem;
        flex-direction: row;
        text-align: left;
        gap: 1rem;
    }

    .guide-icon {
        font-size: 2.5rem;
        margin-bottom: 0;
    }

    .guide-text {
        align-items: flex-start;
    }

    .badge-item {
        padding: 0.625rem;
        font-size: 0.8125rem;
    }

    .finding-item {
        padding: 0.75rem;
        font-size: 0.8125rem;
    }

    .method-tag {
        font-size: 0.6875rem;
        padding: 0.375rem 0.625rem;
    }
}

@media (max-width: 480px) {
    .guide-card {
        padding: 0.875rem;
    }

    .guide-icon {
        font-size: 2rem;
    }

    .guide-text strong {
        font-size: 0.8125rem;
    }

    .guide-text p {
        font-size: 0.6875rem;
    }

    .badge-item {
        padding: 0.5rem;
        font-size: 0.75rem;
    }

    .finding-item {
        padding: 0.625rem;
        font-size: 0.75rem;
    }

    .finding-icon {
        width: 20px;
        height: 20px;
        font-size: 0.75rem;
    }

    .method-tag {
        font-size: 0.625rem;
        padding: 0.3125rem 0.5rem;
    }
}
