.matches-modal-content {
    max-width: 480px;
    width: 95%;
    height: 85vh;
    display: flex;
    flex-direction: column;
    margin: auto;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.matches-modal-content h2 {
    margin: 0;
    padding: 25px 24px;
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    background: var(--gradient-bg);
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.matches-modal-content h2 i {
    color: #fff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Custom shadow for the header to separate from list */
.matches-modal-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05), transparent);
    pointer-events: none;
}

.matches-list {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
    background: #fafafa;
}

/* Custom Scrollbar for Matches List */
.matches-list::-webkit-scrollbar {
    width: 6px;
}

.matches-list::-webkit-scrollbar-track {
    background: transparent;
}

.matches-list::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 10px;
}

.match-item {
    display: flex;
    align-items: center;
    padding: 16px;
    background: #fff;
    border-radius: 20px;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.match-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(254, 60, 114, 0.2);
}

.match-item:active {
    transform: scale(0.97);
}

.match-avatar {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    object-fit: cover;
    margin-right: 18px;
    background: #f0f0f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border: 2px solid #fff;
}

.match-info {
    flex: 1;
}

.match-names {
    font-weight: 800;
    color: #222;
    font-size: 1.15rem;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.match-subtext {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 6px;
}

.match-label {
    display: inline-flex;
    align-items: center;
    background: rgba(254, 60, 114, 0.08);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.match-icon {
    width: 44px;
    height: 44px;
    background: #f0f2f5;
    color: #adb5bd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s;
    margin-left: 12px;
}

.match-item:hover .match-icon {
    background: var(--gradient-bg);
    color: white;
    transform: rotate(-15deg);
    box-shadow: 0 5px 15px rgba(254, 60, 114, 0.3);
}

.no-data {
    padding: 80px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.no-data i {
    font-size: 5rem;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #eee, #ddd);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.05));
    animation: pulse-heart 2s infinite ease-in-out;
}

@keyframes pulse-heart {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.no-data p:first-of-type {
    font-size: 1.4rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 12px;
}

.no-data p:last-of-type {
    font-size: 1rem;
    color: #888;
    line-height: 1.6;
    max-width: 250px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}