/* TABS */
.featured-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.tab-btn {
    padding: 10px 20px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #888;
    transition: all 0.3s;
}

.tab-btn:hover {
    color: #333;
}

.tab-btn.active {
    color: #ff6b35;
    border-bottom-color: #ff6b35;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}



.featured-artists-section {
    margin: 30px 0;
    padding: 20px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
}

.featured-artists-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.featured-artists-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin: 0;
}

.artists-count {
    font-size: 13px;
    color: #888;
}


.featured-artists-grid,
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 80px;
    padding: 12px;
    background: #fff;
    border: 1px solid #ddd;
    margin: 0 0 12px 0;
    list-style: none;
    border-radius: 20px;
}

/* ===== CARD BASE – IGUAL PARA ARTISTA E PARCEIRO ===== */
.artist-card,
.partner-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 14px 8px;
    background: #f1f1f1;
    cursor: grab;
    position: relative;
    width: 100px;
    list-style: none;
    border-radius: 10px;
}

.artist-card:active,
.partner-card:active {
    cursor: grabbing;
}

/* ===== IMAGEM – DIFERENÇA SÓ NO BORDER ===== */
.artist-card img,
.artist-card .no-photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ddd;
}

.partner-card img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border: none;        /* sem borda pra logo */
    border-radius: 4px;  /* leve arredondamento se quiser */
}

/* placeholder de imagem (só artista) */
.artist-card .no-photo {
    background: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #999;
}

/* ===== NOME (SÓ ARTISTA) ===== */
.artist-card .artist-name {
    font-size: 12px;
    color: #333;
    text-align: center;
    max-width: 70px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== BOTÃO REMOVER – MESMO PRA AMBOS ===== */
.artist-card .remove-btn,
.partner-card .remove-btn {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    border: none;
    color: red;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    background: transparent;
    border-radius: 50%;
}

.artist-card .remove-btn:hover,
.partner-card .remove-btn:hover {
    background: red;
    color: #fff;
}

/* ===== SORTABLE – MESMO PLACEHOLDER PRA OS DOIS ===== */
.artist-card.ui-sortable-helper,
.partner-card.ui-sortable-helper {
    opacity: 0.8;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.artist-card.ui-sortable-placeholder,
.partner-card.ui-sortable-placeholder {
    background: #f0f0f0;
    border: 2px dashed #bbb;
    min-height: 70px;
    min-width: 70px;
    visibility: visible !important;
}

/* ===== SORTABLE ===== */
.artist-card.ui-sortable-helper {
    opacity: 0.8;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.artist-card.ui-sortable-placeholder {
    background: #f0f0f0;
    border: 2px dashed #bbb;
    min-height: 70px;
    min-width: 70px;
    visibility: visible !important;
}

/* ===== DROPDOWN ===== */
.add-artist-wrap {
    position: relative;
    margin-bottom: 12px;
}

.add-artist-trigger {
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #ddd;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.add-artist-trigger:hover {
    background: #f5f5f5;
}

.add-artist-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 100;
}

.add-artist-dropdown .search-input {
    width: 100%;
    padding: 8px 12px;
    border: none;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
}

.search-results {
    max-height: 200px;
    overflow-y: auto;
}

.search-results .empty-message {
    padding: 16px;
    text-align: center;
    color: #999;
    font-size: 13px;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f5f5f5;
}

.search-result-item:hover {
    background: #f5f5f5;
}

.search-result-item img,
.search-result-item .no-photo-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.search-result-item .no-photo-small {
    background: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #999;
}

.search-result-item .result-name {
    font-size: 14px;
    color: #222;
    flex: 1;
}

.search-result-item .result-type {
    font-size: 12px;
    color: #999;
}

.search-result-item.already-added {
    opacity: 0.4;
    cursor: not-allowed;
}

.search-result-item .check-mark {
    color: #28a745;
    font-weight: bold;
}

.actions-wrap {
    margin-top: 8px;
}

.status-msg {
    font-size: 13px;
    color: #666;
}

.status-msg.success {
    color: #28a745;
}

.status-msg.error {
    color: #dc3545;
}













@media (max-width: 768px) {
    
    
    .artist-card {
       
        padding: 8px 10px 6px;
    }
    
    .artist-card img,
    .artist-card .no-photo {
        width: 40px;
        height: 40px;
    }
    
    .artist-card .artist-name {
        font-size: 11px;
        max-width: 60px;
    }
}