/* Investor Matches - Page-Specific Styles Only */

/* Filter Pills */
.filter-pills {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-pill {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(96, 165, 250, 0.3);
    background: rgba(15, 22, 51, 0.4);
    color: #e5e7eb;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-pill:hover {
    border-color: rgba(96, 165, 250, 0.5);
    background: rgba(96, 165, 250, 0.1);
}

.filter-pill.active {
    border-color: #60a5fa;
    background: rgba(96, 165, 250, 0.2);
    color: #60a5fa;
    font-weight: 600;
}

/* Deal Cards */
.deal-card {
    cursor: pointer;
    transition: all 0.2s ease;
}

.deal-card:hover {
    transform: translateY(-2px);
    border-color: rgba(235, 209, 161, 0.4);
}

.match-score {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: radial-gradient(circle at top, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.05));
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: var(--color-success);
    font-weight: 700;
    font-size: 1rem;
}

/* Divider */
.divider {
    height: 1px;
    background: rgba(96, 165, 250, 0.1);
    margin: 1rem 0;
}

/* List Bullets */
.list-bullets {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.list-bullets li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: #9ca3af;
}

.list-bullets strong {
    color: #e5e7eb;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .filter-pills {
        gap: 0.5rem;
    }

    .filter-pill {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }

    /* NEW: Target only the deal cards grid on mobile */
    .card-grid:has(.deal-card) {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .card-grid-4 {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.75rem !important;
    }

    .card-grid-4 > div {
        padding: 0.75rem !important;
    }

    /*.deal-card .card-grid {
        grid-template-columns: 1fr !important;
    }*/
    .deal-card .card-grid {
        grid-template-columns: repeat(3, 1fr) !important; /* 3 columns in one row */
        gap: 0.5rem !important; /* Tighter spacing for mobile */
    }

    .match-score {
        padding: 0.4rem 0.75rem;
        font-size: 0.9rem;
    }
}
