/* Saved Dossiers List */
.mycn-saved-dossiers-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
}

.mycn-saved-dossier {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 0;
    transition: all 0.15s ease;
}

.mycn-saved-dossier:hover {
   opacity: 0.8;
}

.mycn-dossier-link {
    flex: 1;
    text-decoration: none;
    color: inherit;
    display: block;
}

.mycn-dossier-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.mycn-topic-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.8rem;
    background: #e8112b;
    color: white;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    height: 32px;
    box-sizing: border-box;
}

.mycn-dossier-dates {
    display: flex;
    gap: 1rem;
    font-size: 14px;
    color: #666;
}

.mycn-dossier-dates span {
    font-weight: 400;
}

button.mycn-delete-dossier {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eee !important;
    color: #333 !important;
    border: none;
    border-radius: 3px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.15s ease;
    font-weight: 300;
    margin-top: 0;
    align-self: flex-start;
}

button.mycn-delete-dossier:hover {
    background-color: #c00f25;
    transform: scale(1.05);
}

button.mycn-delete-dossier:active {
    transform: scale(0.95);
}

button.mycn-delete-dossier:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .mycn-saved-dossier {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .mycn-delete-dossier {
        align-self: flex-end;
    }
    
    .mycn-dossier-dates {
        flex-direction: column;
        gap: 0.25rem;
    }
}

/* Empty state */
.mycn-saved-dossiers-list > p {
    padding: 1.5rem;
    text-align: center;
    color: #666;
    border-radius: 0;
}
