/* ====================================
   ZIKA - PAGE MATCHING AVEC MUSIQUES
   ==================================== */

.matching-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Header */
.matching-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.matching-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.matching-count {
    font-size: 1.1rem;
    color: #00ff00;
    font-weight: 600;
}

/* Grid de matchs */
.matches-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* Card match */
.match-card {
    background: #1a1a1a;
    border: 2px solid #00ff00;
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.match-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 255, 0, 0.3);
}

/* Header card (photo + username) */
.match-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #2a2a2a;
}

.match-user-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #00ff00;
    cursor: pointer;
    transition: all 0.2s;
}

.match-user-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
}

.match-user-info {
    flex: 1;
}

.match-username {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.25rem 0;
    cursor: pointer;
    transition: color 0.2s;
}

.match-username:hover {
    color: #00ff00;
}

.match-type {
    font-size: 0.9rem;
    color: #808080;
}

/* Info musique */
.match-track-info {
    margin-bottom: 1.5rem;
}

.match-via-label {
    font-size: 0.85rem;
    color: #808080;
    margin: 0 0 0.75rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.match-track-card {
    background: #0a0a0a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.match-track-card:hover {
    border-color: #00ff00;
    background: rgba(0, 255, 0, 0.05);
}

.match-track-cover {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.match-track-cover-placeholder {
    background: linear-gradient(135deg, #00ff00 0%, #00dd00 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #000;
}

.match-track-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.match-track-title {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 0.25rem 0;
}

.match-track-artist {
    font-size: 0.85rem;
    color: #808080;
    margin: 0;
}

/* Actions (boutons) */
.match-card-actions {
    display: flex;
    gap: 1rem;
}

.match-btn {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.match-btn-message {
    background: #00ff00;
    color: #000;
}

.match-btn-message:hover {
    background: #00dd00;
    transform: translateY(-2px);
}

.match-btn-profile {
    background: transparent;
    border: 2px solid #00ff00;
    color: #00ff00;
}

.match-btn-profile:hover {
    background: rgba(0, 255, 0, 0.1);
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state i {
    font-size: 4rem;
    color: #00ff00;
    margin-bottom: 1.5rem;
}

.empty-state h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1rem 0;
}

.empty-state .text-gray {
    font-size: 1.1rem;
    color: #808080;
    margin-bottom: 2rem;
}

.empty-state .btn-primary {
    padding: 1rem 2rem;
    background: #00ff00;
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.empty-state .btn-primary:hover {
    background: #00dd00;
    transform: translateY(-2px);
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .matching-container {
        padding: 0;
        padding-bottom: 100px;
        max-width: 100vw;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
    }
    
    .matching-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .matching-header h1 {
        font-size: 1.5rem;
    }
    
    .matches-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .match-card {
        padding: 1rem;
        margin: 0;
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-top: 1px solid #00ff00;
    }
    
    .match-card:first-child {
        border-top: 2px solid #00ff00;
    }
    
    .match-card:last-child {
        border-bottom: 2px solid #00ff00;
    }
    
    .match-user-photo {
        width: 50px;
        height: 50px;
    }
    
    .match-username {
        font-size: 1.1rem;
    }
    
    .match-card-actions {
        flex-direction: column;
    }
    
    .match-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .match-track-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .match-track-cover {
        width: 80px;
        height: 80px;
    }
}
