/* Credit Card Comparison Hub Styles */

/* Category Card Hover */
.cc-category-card {
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.cc-category-card:hover {
    transform: translateY(-2px);
}

/* Comparison Table */
.cc-compare-table th {
    position: sticky;
    top: 4rem;
}

/* Green highlight for best values */
.cc-best {
    background-color: #f0fdf4;
    color: #15803d;
    font-weight: 700;
}

/* Star rating */
.cc-stars {
    color: #eab308;
}

/* Apply Now button pulse for CTA */
.cc-apply-btn {
    transition: background-color 0.15s ease, transform 0.1s ease;
}
.cc-apply-btn:hover {
    background-color: #fbbf24;
    transform: translateY(-1px);
}

/* Card selection chips */
.cc-chip {
    background-color: #1e293b;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}
.cc-chip a {
    opacity: 0.7;
    transition: opacity 0.15s;
}
.cc-chip a:hover {
    opacity: 1;
}

/* Verdict box */
.cc-verdict {
    background: linear-gradient(90deg, #f0fdf4, #d1fae5);
    border: 1px solid #bbf7d0;
    border-radius: 1rem;
    padding: 1.5rem;
}

/* Sticky filter bar */
.cc-sticky-bar {
    position: sticky;
    top: 4rem;
    z-index: 30;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Featured comparison section */
.cc-featured-table {
    min-width: 600px;
    width: 100%;
}

/* All cards grid hover */
.cc-card-item {
    cursor: pointer;
    transition: box-shadow 0.15s, border-color 0.15s;
}
.cc-card-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: #d97706;
}

/* Highlight selected cards */
.cc-card-selected {
    border-color: #1e293b;
    background-color: #f8fafc;
}

/* Hero gradient text */
.cc-hero-text {
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Priority badge */
.cc-priority-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}
.cc-priority-best {
    background-color: #dcfce7;
    color: #15803d;
}