/* Artist Selector Component Styles */
.artist-selector-wrapper {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    font-family: 'Inter', sans-serif;
    margin-bottom: 24px;
    width: 100%;
    box-sizing: border-box;
}

.artist-selector-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.artist-selector-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px 0;
}

.artist-selector-subtitle {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

.artist-selector-reset {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    color: #64748b !important;
    font-size: 13px !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.artist-selector-reset:hover {
    color: #e8692b !important; /* Husay color */
}

/* Search Bar */
.artist-selector-search {
    position: relative;
    margin-bottom: 16px;
}

.artist-selector-search input {
    width: 100%;
    padding: 10px 10px 10px 36px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
}

.artist-selector-search input:focus {
    border-color: #e8692b;
}

.artist-selector-search svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: #94a3b8;
}

/* Split Pane */
.artist-selector-split {
    display: flex;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    height: 480px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Left Pane (Roles) */
.artist-selector-roles {
    width: 260px;
    border-right: 1px solid #e2e8f0;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
}

.artist-selector-roles-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    border-bottom: 1px solid #e2e8f0;
}

.artist-selector-role-count {
    background: #e2e8f0;
    color: #475569;
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
}

.artist-selector-role-list {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}

.artist-selector-role-btn {
    width: 100%;
    text-align: left;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 10px 16px !important;
    font-size: 13px !important;
    color: #475569 !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-left: 3px solid transparent !important;
    transition: all 0.2s;
}

.artist-selector-role-btn:hover {
    background: #f1f5f9 !important;
    color: #475569 !important;
}

.artist-selector-role-btn.active {
    background: #fff !important;
    border-left-color: #e8692b !important;
    color: #e8692b !important;
    font-weight: 600;
}

.artist-selector-role-btn-inner {
    display: flex;
    align-items: center;
    gap: 8px;
}

.artist-selector-role-btn svg {
    width: 14px;
    height: 14px;
    color: #94a3b8;
}

.artist-selector-role-btn.active svg {
    color: #e8692b;
}

.artist-selector-role-badge {
    background: #fef0e8;
    color: #e8692b;
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
}

/* Right Pane (Specializations) */
.artist-selector-specs {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.artist-selector-specs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid #e2e8f0;
}

.artist-selector-specs-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px 0;
}

.artist-selector-specs-subtitle {
    font-size: 12px;
    color: #94a3b8;
    margin: 0;
}

.artist-selector-select-all {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    color: #e8692b !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer;
}

.artist-selector-select-all:hover {
    text-decoration: underline;
    color: #e8692b !important;
}

.artist-selector-specs-grid {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-content: start;
}

.artist-selector-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
    margin: 0;
}

.artist-selector-checkbox:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.artist-selector-checkbox.checked {
    border-color: #e8692b;
    background: #fef0e8;
}

.artist-selector-checkbox input {
    display: none;
}

.artist-selector-checkbox-box {
    width: 18px;
    height: 18px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    transition: all 0.2s;
    flex-shrink: 0;
}

.artist-selector-checkbox.checked .artist-selector-checkbox-box {
    background: #e8692b;
    border-color: #e8692b;
}

.artist-selector-checkbox-box svg {
    width: 12px;
    height: 12px;
    color: #fff;
    opacity: 0;
}

.artist-selector-checkbox.checked .artist-selector-checkbox-box svg {
    opacity: 1;
}

.artist-selector-checkbox-label {
    font-size: 13px;
    color: #334155;
    font-weight: 500;
}

/* Summary Section */
.artist-selector-summary {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-top: 16px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.artist-selector-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.artist-selector-summary-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    color: #e8692b;
    text-transform: uppercase;
}

.artist-selector-summary-title svg {
    width: 14px;
    height: 14px;
}

.artist-selector-clear-all {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    color: #64748b !important;
    font-size: 12px !important;
    cursor: pointer;
}

.artist-selector-clear-all:hover {
    color: #e8692b !important;
}

.artist-selector-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.artist-selector-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
}

.artist-selector-pill button {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    color: #94a3b8 !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.artist-selector-pill button:hover {
    color: #e8692b !important;
}

.artist-selector-pill svg {
    width: 12px;
    height: 12px;
}

/* Custom Tag */
.artist-selector-custom {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.artist-selector-custom input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
}

.artist-selector-custom input:focus {
    border-color: #e8692b;
}

.artist-selector-custom button {
    background: #1e293b !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 0 20px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: background 0.2s;
    height: auto !important;
    box-shadow: none !important;
}

.artist-selector-custom button:hover {
    background: #0f172a !important;
    color: #fff !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .artist-selector-split {
        flex-direction: column;
    }
    
    .artist-selector-roles {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        max-height: 200px;
    }
}
